Princeton Stellar compiler environments - NOAA-GFDL/MOM6-examples GitHub Wiki
Tips
- There is useful and concise documentation about how to use stellar at https://researchcomputing.princeton.edu/systems/stellar .
- On stellar, you need to load the same modules on the compute nodes in order to run (because the libraries are dynamically linked).
- A flexible way to access stellar is through the OnDemand web interface: https://mystellar.princeton.edu/ . To get a shell, use "Clusters->Shell Access".
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.