Setting Compiler Options - Fortran Compilers

 
 

Use this pane area to pass compiler-specific options to the compiler. These options will override the default settings.

The default Fortran compiler command, xlf, is shown in the Command column. You can use other compiler commands for compiling programs if your environment requires it. To use another compiler command, type it in the Command column, or select from a list by clicking on the arrow pointing downwards.

To pass options to the compiler, type them in the Options column. The options are passed directly to the compiler.

Notes:

  1. The Program Builder only recognizes errors from the compilers that contain file, line, and column information.
  2. You can specify a single Fortran compiler to compile your Fortran programs. By default, the xlf, xlf90, xlf95, f77, xlhpf, xlhpf95, and xlhpf90 compiler programs support Fortran source files with a file suffix of .f and .F. The f90 compiler program supports Fortran source files with a file suffix of .f90, and the f95 compiler program supports Fortran source files with a file suffix of .f95. Therefore, you should not put Fortran source files with a file suffix of either .f90 or .f95 in the same directory as Fortran source files with a file suffix of .f or .F. If you do, the makefile generated by the Program Builder will need to be manually edited, so that the appropriate compiler is invoked for files with different suffixes.


Setting Compiler Options - Fortran
Setting Compiler Options - Fortran Levels
Setting Compiler Options - Fortran Flags
Setting Compiler Options - Fortran Include Directories