Skip to content

Cheyenne compiler environment

Gustavo Marques edited this page Jun 21, 2017 · 1 revision

Setup compiler environment on Cheyenne

Intel compiler

Use specific versions of compilers and libraries to obtain the same model solutions that are checked in for verification. We typically store the necessary commands in a file. For example, for the intel compiler, in the "build/" directory type:

mkdir -p build/intel
cat << EOFA > build/intel/env
module load ncarenv
module load intel
module load netcdf
module load ncarcompilers
module load mpt/2.15f
EOFA

This way you could simply type source build/intel/env if you wanted to load up the correct environment.