|
Intel Fortran Compiler Usage |
Details of the Intel Fortran Installation
Organization of the Intel Fortran Compiler
The Intel Fortran Compiler must be setup using a script to install important
libraries paths and executable paths. The Intel Fortran compiler version
which is installed is 10.0.026. Both the 64-bit and the 32-bit versions
are available.
| Intel Compiler Architecture/User Shell |
To Setup this version
|
| 64-bit/bourne shell |
source /usr/local/profile.d/ifortvars.sh |
| 64-bit/tcsh |
source /usr/local/profile.d/ifortvars.csh |
32-bit/bourne shell
|
source /usr/local/profile.d/ifortvars_x86.sh |
| 32-bit/tcsh |
source /usr/local/profile.d/ifortvars_x86.csh |
For most users, the 64-bit version will be used. The 32-bit
versions are provided as a resource in the event a 32-bit library must
be linked against. After the setup, ifort is the binary for the Intel Fortran Compiler.
Some Useful Compiler Options
- To generate very optimized code, try compilation with "-03" or "-fast" flags.
- Use "-w" to disable all warnings, "-Wall" to enable all warnings.
- "-openmp" to generate code based on OpenMP directives
- "-static" prevents linking with shared libraries (everything is statically linked)
- setup the intel compilers and issue ifort --help to see the full list of options.
|