Compilers

Compilers#

Most compiler modules set the CC, CXX, FC, F90 environment variables to appropriate values. These are commonly used by tools such as CMake and autoconf, so that by loading a compiler module its compilers are used by default.

This can also be done in your own build scripts and make files. e.g.

module load gcc
$CC -o myprog myprog.c