High Performance Computing

Compilers

The most commonly used languages in numerical methods programming are Fortran and C/C++. Gnu, Intel,PGI and NAG compilers are available on the Nottingham system. The table below summarises the commands relevant to each compiler.

CC++F77F90
Gnugccg++gfortrangfortran
Inteliccicpcifortifort
PGIpgccpgCCpgf77pgf90
NAGN/AN/A/software/nag/for

The Intel and PGI compilers are designed to produce code which is particularly efficient. The NAG compiler is needed for programs using the NAG libraries, but can be used for any Fortran code.

Compiler commands have a range of options to optimise performance, and some experimentation is worthwhile to see which are best for a given application. Information on the options is available via the relevent 'man' commands. Users of PGI and Intel compilers should load the relevant modules (see Environments).