Page tree

On this page

Overview

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

Usage

The Intel Fortran compiler is called ifort.

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

$ module avail intel-compiler

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

$ module load intel-compiler/2021.2.0

For more details on using modules see our modules help guide at https://opus.nci.org.au/display/Help/Environment+Modules.

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

# 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.