Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#21618C
bgColor#F6F7F7
titleColor#17202A
borderWidth1
titleBGColor#FFB96A
borderStyleridge
titleOverview

The Fortran programming language is governed by the J3 US Fortran Standards Committee.

How to use


The Intel Fortran compiler is called ifort.

You can check the versions installed in Gadi with a module query:

Code Block
themeFadeToGrey
$ module avail intel-compiler

We normally recommend using the latest version available and always recommend to specify the version number with the module command:

Code Block
themeFadeToGrey
$ module load intel-compiler/2021.2.0

For more details on using modules see our software applications guide.

The following would be of help when looking for ifort compiler options:

Code Block
themeFadeToGrey
# Load module, always specify version number.
$ module load intel-compiler/2021.2.0
 
$ man ifort

Additional Notes


There are a number of free Fortran tutorials available at https://fortran-lang.org/learn/, including tutorials for Fortran77, Fortran90, Fortran2003, High Performance Fortran (HPF) and parallel programming using Fortran. A list of compiler tricks is available at http://www.fortran-2000.com/ArnaudRecipes/CompilerTricks.html, providing some helpful comparison of flags between different flavours of compilers.

There is a set of extensions to Fortran 90 that provide access to High Performance architecture features called High Performance Fortran. It is first published by the High Performance Fortran Forum (HPFF) and the HPFF was convened and chaired by Ken Kennedy of Rice UniversityNetlib maintains a copy of the HPF standard.

Authors: Mohsin Ali