Cheyenne compiler environment - NCAR/MOM6-cases GitHub Wiki
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.