Compilers


The Intel Fortan (ifort) and C/C++ (icc, icpc) compilers are the default compilers on the HPC cluster hydra and are provided automatically at login (see the output of module list for details on the version).

To compile and link MPI codes using Intel compilers, use the commands mpiifortmpiicc or mpiicpc, respectively.

 

The GNU compiler collection (gcc, g++, gfortran) is available as well. A default version comes with the operating system (SLES 11). More recent versions can be accessed via environment modules. To compile and link MPI codes using GNU compilers, use the commands mpiccmpic++, mpif77 or mpif90, respectively.

To compile and link GPGPU code for the NVidia K20X GPUs, the CUDA toolkit is available as environment module. In addition, the PGI compiler is available which supports CUDA Fortran, among others.

Invoke the command module avail to get an overview on all compilers and versions available on hydra.

Document Actions