-1 |
Same as -onetrip. See later in this topic. |
-132 |
Enables fixed form source lines to contain up to 132 characters. |
-ansi[-] |
Enables or disables assumption of program's ANSI conformance. This option is used to make assumptions about out-of-bound array references and pointer references. |
-FI |
Specifies that all the source code is in fixed format; this is the default except for files ending with the suffix .f, .ftn, .for. |
-FR |
Specifies that all the source code is in Fortran 90-95 free format; this is the default for files ending with the suffix .f90. |
-nbs |
Treats backslash (\) as a normal graphic character, not an escape character. This may be necessary when transferring programs from non-UNIX environments, for example from VAX-VMS. See Escape Characters below. |
-dps |
Enables (default) or disables DEC* parameter statement recognition. |
-extend_source |
Enables extended (132-character) source lines. Same as -132. |
-lowercase |
Default. Change routine names to all lowercase.. |
-nus[file] |
Do not append an underscore to subroutine names listed in file. Useful when linking with C routines. |
-onetrip |
Executes DO loops at least once if reached (by default Fortran 95 DO loops are not performed at all if the upper limit is smaller than the lower limit). Same as -1.This supports old programs from the Fortran–66 standard, when all DO loops executed at least once. |
-uppercase |
Maps external names to uppercase characters. Note |
-pad_source |
Enforces the acknowledgment of blanks at the end of a line. |
-vms |
Enables support for extensions to Fortran introduced by Digital VMS Fortran compilers. The extensions are as follows: The compiler enables shortened, apostrophe-separated syntax for parameters in I/O statements. For example, a statement of the form: WRITE(4'7) FOO is possible and is equivalent to WRITE(UNIT=4, REC= 7) FOO. The compiler assumes that the value specified for RECL in an OPEN statement is given in words rather than bytes. This option also implies -dps, though -dps is on by default. |
-us, -nus |
Appends (default) an underscore to external subroutine names. Useful when linking with C rotuines. -nus disables appending an underscore to an external subroutine name. |
For compatibility with C usage, the backslash (\) is normally used in Intel® Fortran Compiler as an escape character. It denotes that the following character in the string has a significance which is not normally associated with the character. The effect is to ignore the backslash character, and either substitute an alternative value for the following character or to interpret the character as a quoted value.
The escape characters recognized, and their effects, are described in the table below. Thus, 'ISN\'T' is a valid string. The backslash (\) is not counted in the length of the string.
Escape Characters and Their Effect
Escape Character |
Effect |
\n |
new line |
\t |
horizontal tab |
\v |
vertical tab |
\b |
backspace |
\f |
form feed |
\0 |
null |
\' |
apostrophe (does not terminate a string) |
\" |
double quote (does not terminate a string) |
\\ |
\ (a single backslash) |
\x |
x, where x is any other character |