Compiling on the HPC 


Compiling on the HPC



PGI Compilers

Quick guide:

To access the Portland group Compiler suite, load the pgi module:

module add pgi

The Portland Compilers (pgcc, pgCC, pgf77, pf90 and pgf95) can now be invoked. The recommended starting point for optimising code is to add the -fastsse flag. To access fast implementations of BLAS, FFT, etc, use the flags -Mcache_align -lacml


Intel Compilers

To access the Intel Compiler suite, load the intel module:

module add intel

The Intel Compilers (icc for C and C++, ifort for Fortran) can now be invoked.

The recommended starting point for optimising code is to add the flags -axP -xW -ipo -O3


Further Reading

Lancaster University
Bailrigg
LancasterLA1 4YW United Kingdom
+44 (0) 1524 65201