Options to the ifort command affect how the compiler processes a file in conjunction with the file name suffix. The simplest form of the ifort command is often sufficient.
Some options consist of two words separated by a space, while others may have words joined by an underscore ( _ ). Most options can be abbreviated, usually to four characters or more. For example, you can abbreviate -check output_conversion to -check out.
Intel® Fortran has four styles of compiler options:
The phrase no precedes the option to disable it. This style was used in Compaq* Fortran. Example: logo and nologo
A hyphen following the option disables it. This style was used in previous Intel Fortran compilers. Example: -prefetch and -prefetch-
A no or no- in the middle of the option disables it. Example: -falias and -fno-alias
The option has an n parameter (specifying a number) and is disabled by setting n equal to 0.
If there are enabling and disabling versions of options on the command line, or two versions of the same option, the last one takes precedence.
If you compile parts of your program by using multiple ifort commands, options that affect the execution of the program should be used consistently for all compilations, especially if data is shared or passed between procedures. For example:
The same data alignment needs to be used for data passed or shared by module definition (such as user-defined structures) or common block. Use the same version of the -align option for all compilations.
The program might contain INTEGER, LOGICAL, REAL, COMPLEX, or DOUBLE PRECISION declarations without a kind parameter or size specifier that is passed or shared by module definition or common block. You must consistently use the options that control the size of such numeric data declarations.
You can override some options specified on the command line by using the OPTIONS statement in your Fortran source program. The options specified by the OPTIONS statement affect only the program unit where the statement occurs.
For help, enter -help on the command line, which displays brief information about all the command-line options.