Notes on the Intel Fortran Compiler =================================== Author: Momchil Ivanov Date : 2014.04.25, 2014.10.02 Introduction ------------ This article contains notes on the Fortran Compiler from Intel. Debug ----- To debug an application use the following compiler flags: -warn all -check all -g -debug full -traceback "-traceback" lists line numbers when debugging. There is a debugger similar to gdb from Intel, it is called idb. Optimisation ------------ Optimisations to use: -ipo -xHost -O2 To obtain the assembly code main.asm of the generated program use: -Famain.asm Information on vectorisation: -vec-report=3 Use openmp for loops automatically: -parallel Guided optimisation: 1. Compile program with "-prof-gen". 2. Run program. 3. Compile program with "-prof-use". Safe flags ---------- Flags to use for safer computation: -fpe0