Anvil

intel

This is the default compass compiler on Anvil. If the environment has been set up properly (see compass conda environment, compilers and system modules), you should be able to source:

source load_dev_compass_1.0.0_anvil_intel_impi.sh

Then, you can build the MPAS model with

make [DEBUG=true] [OPENMP=true] intel-mpi

For other MPI libraries (openmpi or mvapich instead of impi), use

make [DEBUG=true] [OPENMP=true] ifort

gnu

If you’ve set things up for this compiler, you should be able to:

source load_dev_compass_1.0.0_anvil_gnu_mvapich.sh

Then, you can build the MPAS model with

make [DEBUG=true] [OPENMP=true] [ALBANY=true] gfortran