skip to content

The default C, C++ and Fortran compilers on Ubuntu 22.04 are version 11.4.0 of the GNU cc/gcc, c++/g++ and gfortran compilers.

We have several other C, C++ and Fortran compilers available as environment modules:

  • modern Intel C (icx), C++ (icpx) and Fortran (ifx) compilers, version 2026.1.1
  • several legacy versions of GNU compilers

To see the available compiler environments run the command:

module avail

Intel compilers

module load intel/compiler

Check by running e.g. "icx --version".

Old GNU compilers

E.g.

module load gcc/7.2.0

if you want version 7.2.0.

Check by running "gcc --version".