User Tools

Site Tools


howto:compilers

Available Computer Languages and Compilers

The options can be seen by listing the available modules: module avail and searching for the compiler that you need. The Lengau cluster is now 6 years old, and as a result has accumulated a very large number of modules, which makes the output of module avail rather difficult to interpret. The output from the module avail command is directed towards the stderr stream, as opposed to stdout and, as a result, cannot be directly piped. However, it is trivially simple to redirect stderr to stdout, and then the output can easily be piped in such a way that it can be searched. For example:

 module avail 2>&1 | grep mpich 

will list all the modules containing mpich in the name.

The list of supported languages, compilers and MPI implementations is extensive. Please contact the CHPC support scientist assigned to your research programme for advice on the combination of compiler and MPI implentation best suited to your requirements.

Compilers

In general the following compilers for C, C++ and Fortran are available:

  • The Gnu Compiler Collection, or GCC. The default system compiler is version 4.8.5, but versions up to 12.1.0 are also available as modules.
  • Intel Parallel Studio from version 16.0.1 to 2020u1.
  • PGI community edition compiler, v 19.10 - now superseded by the Nvidia nvhpc suite of compilers
  • nvhpc versions 22.2 and 23.7

MPI implementations

The three most-widely used and supported MPI implementations on Lengau are OpenMPI, MPICH and Intel MPI, which is actually a customized version of MPICH. The Intel Parallel Studio modules include Intel MPI. There are various modules available on Lengau for OpenMPI and MPICH. Consult your friendly CHPC support scientist for more advice.

/app/dokuwiki/data/pages/howto/compilers.txt · Last modified: 2023/10/17 13:26 by ccrosby