Compilers on ALICE

Available compiler Suites

We provide the following compilers on ALICE:

Language AMD GNU * Intel oneapi
C clang gcc icc
C++ clang++ g++ icpc
Fortran flang gfortran ifort
    • note that the gnu compiler is loaded by default when you log in.

Loading the gnu compilers

The gnu compiler and openmpi are loaded by default. If you have changed compiler and wish to return to the gnu compiler, use:

module load gcc
module load openmpi

Loading the AMD optimised compilers

The aocc compiler suite is based on the clang compiler, with optimisations for AMD cpus. It can be loaded by running:

module load aocc/4.0.0

Loading the intel oneapi compilers

The intel oneapi compiler is based on clang, with optimisations for intel cpus. It can be loaded by running:

module load intel-oneapi-compilers/2023.1.0

In addition to the standard openmpi library, the intel compilers provide their own mpi implementation which can be loaded with:

module load intel-oneapi-mpi/2021.9.0