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
- PGI Compiler
Documents
- Intel
C and
Fortran Compiler Documents
- AMD
- Compiler Usage Guidelines for 64-bit Operating Systems on AMD64 Platforms
- AMD Optimisation Guide
- The System V Application Binary Interface X86-64 Architecture Processor Supplement
©Lancaster University ISS Governance Computer User Agreement Privacy & Cookies Notice