MPAS Compile‐Run Environments - ufs-community/MPAS-Model GitHub Wiki

Jump to: NOAA RDHPCS jet, hera, and ursa; NOAA MSU-HPC hercules; NSF NCAR derecho.

Jet

spack-stack based Intel environment for MPAS:

module use /contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core

module load stack-intel/2021.5.0  stack-intel-oneapi-mpi/2021.5.1 parallelio/2.5.10

setenv PIO $parallelio_ROOT
setenv PNETCDF $parallel_netcdf_ROOT
setenv NETCDF $netcdf_c_ROOT
setenv NETCDFF $netcdf_fortran_ROOT

make ifort CORE=atmosphere

non-spack-stack Intel environment for MPAS:

module load gnu
module load intel/2023.2.0
module load impi/2023.2.0
module load pnetcdf/1.12.3
export PNETCDF=/apps/pnetcdf/1.12.3/intel_2023.2.0-impi/

git clone https://github.com/NOAA-GSL/MPAS-Model.git
git submodule update --init --recursive

make -j4 intel-mpi CORE=init_atmosphere
make clean CORE=atmosphere
make -j4 intel-mpi CORE=atmosphere

spack-stack based environment for MPAS-Limited-Area script:

git clone --recurse-submodules https://github.com/MPAS-Dev/MPAS-Limited-Area

module use /contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core

module load stack-intel/2021.5.0  stack-intel-oneapi-mpi/2021.5.1 py-netcdf4/1.5.8

./create_region conus.120km.pts ../data/120km/grid/x1.40962.grid.nc

Hera

non-spack-stack Intel environment for MPAS:

module load gnu
module load intel/2023.2.0
module load impi/2023.2.0
module load pnetcdf/1.12.3
export PNETCDF=/apps/pnetcdf/1.12.3/intel_2023.2.0-impi/

git clone https://github.com/NOAA-GSL/MPAS-Model.git
git submodule update --init --recursive

make -j4 intel-mpi CORE=init_atmosphere
make clean CORE=atmosphere
make -j4 intel-mpi CORE=atmosphere

Ursa

non-spack-stack Intel (non-LLVM) environment for MPAS:

module load intel-oneapi-compilers/2023.2.0
module load intel-oneapi-mpi/2021.13.1
module load parallel-netcdf/1.12.3
export PNETCDF=$PARALLEL_NETCDF_ROOT

git clone https://github.com/NOAA-GSL/MPAS-Model.git
git submodule update --init --recursive

make -j4 intel-mpi CORE=init_atmosphere
make clean CORE=atmosphere
make -j4 intel-mpi CORE=atmosphere

Hercules

spack-stack based GNU environment for MPAS:

module use /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core

module load stack-gcc/12.2.0 stack-mvapich2/2.3.7 parallelio/2.5.10

export PIO=$parallelio_ROOT
export PNETCDF=$parallel_netcdf_ROOT
export NETCDF=$netcdf_c_ROOT
export NETCDFF=$netcdf_fortran_ROOT

make gfortran CORE=atmosphere 

spack-stack based environment for MPAS-Limited-Area script:

git clone --recurse-submodules https://github.com/MPAS-Dev/MPAS-Limited-Area

module use /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core

module load stack-gcc/12.2.0 stack-mvapich2/2.3.7 py-netcdf4/1.5.8

./create_region conus.120km.pts ../data/120km/grid/x1.40962.grid.nc

derecho

(courtesy Will Mayfield, NSF NCAR RAL/DTC)

module load ncarenv/23.06                                                                                  
module load intel/2023.0.0                                                                                 
module load ncarcompilers/1.0.0    
module load cray-mpich/8.1.25    
module load craype/2.7.20    
module load parallel-netcdf/1.12.3    
module load netcdf-mpi/4.9.2   

git clone https://github.com/NOAA-GSL/MPAS-Model.git
git submodule update --init --recursive

make -j4 ifort CORE=init_atmosphere
make clean CORE=atmosphere
make -j4 ifort CORE=atmosphere

Mac

Others