The Fortran compiler on Ram is the
Intel Fortran "efc" (extended fortran
compiler). It supports the Fortran
95 standard and some features of Fortran 2000.
The default "efc" compiler is version 7. A version 8 is also
available for use. The version 8 compiler combines the "Compaq
Visual Fortran" front-end with the Intel Fortran back-end. Thus,
there are many differences. You will need to use the "module"
command to load the newer version if desired.
The Intel Fortran compiler is named "efc" for version 7. For
version 8, Intel has renamed the compiler "ifort", but "efc" will
still work.
The following options control how source files are translated into
machine code. Note that all the following options work for both
version 7 and 8.
-FI |
The source code uses fixed-form syntax, like in Fortran 77. |
-FR |
The source code uses free-form syntax, introduced in Fortran 90. |
The following options control the amount of debugging information
generated by the compiler. They can adversely affect optimization.
-g |
Produce symbolic debug information in object file. |
-DD |
Compile debug statements (indicated by D in column 1). |
For most cases, the usual levels of optimization are appropriate
(-O0, -O1, -O2 (default), -O3). Here are a few exceptions.
-ftz |
Enables floating underflow results set to zero. |
-tpp2 |
Target optimization to the Itanium 2 processor. |
-prof_gen |
Instrument program for profiling. |
-opt_report |
Generate an optimization report to stderr. |
-openmp |
Enable the compiler to generate multi-threaded code
based on the OpenMP* directives. |
-openmp_profile |
Link with instrumented OpenMP runtime library to
generate OpenMP profiling information for use with
the OpenMP component of the VTune(TM) Performance Analyzer.
|
-parallel |
Enable the auto-parallelizer to generate multi-threaded
code for loops that can be safely executed in parallel.
|