Compile programs

Compiling on the cluster

For performance-oriented programs, these should be compiled on the target platform. If you start a program in batch mode, you can compile it in the submit script. As described under Installing programs, you can install your own compilers in your user directory or load the pre-installed ones via the module system.

Compiler on the Linux cluster

GCC 7.1.0

Compiler for C, C++ and Fortran

Load compiler environment:

uk00123@its-cs1:/home/users/000/uk00123> module load gcc/7.1.0

Online documentation:

  • man gcc|gfortran
  • info gcc|gfortran

 

Portland Compiler 14.3

C, C++, Fortran 77, Fortran 90, Fortran 95, debugger, performance analysis. The compilers can be used by 2 different users at the same time.

Online documentation:

  • man pgcc|pgCC|pgdbg|pgf77|pgf90|pgf95|pghpf|pgprof

 

Intel Compiler 14.0.3

C, C++, Fortran, Debugger

Number of licenses for C/C++: 5

Number of licenses for Fortran: 2

Online documentation:

  • man icc|icpc||ifc|ifort|idb

 

NAG Fortran Compiler 6.0

Number of licenses: 2

Online documentation:

  • man nagfor