Skip to content

Princeton Stellar compiler environments

Alistair Adcroft edited this page Oct 12, 2022 · 2 revisions

Tips

Compiler environments on stellar

GCC 8

Load these modules

module load openmpi/gcc/4.1.0 hdf5/gcc/1.10.6 netcdf/gcc/hdf5-1.10.6/4.7.4

and use the mkmf/templates/linux-ubuntu-xenial-gnu.mk template.

GCC 10

Load these modules

module load gcc-toolset/10 openmpi/gcc/4.1.0 hdf5/gcc-toolset-10/1.10.6 netcdf/gcc/hdf5-1.10.6/4.7.4

and use the mkmf/templates/linux-ubuntu-jammy-gnu.mk template.

Intel 2021 compiler

Working modules are

module load intel/2021.1.2 openmpi/intel-2021.1/4.1.0 hdf5/intel-2021.1/1.10.6 netcdf/intel-19.1/hdf5-1.10.6/4.7.4

A customized mkmf template is needed at this time.

Back to Getting Started