MPAS has not been brought across from Raijin to Gadi
The Model for Prediction Across Scales (MPAS) is a collaborative project for developing atmosphere, ocean and other earth-system simulation components for use in climate, regional climate and weather studies. []. The Atmospheric component of the model is now available for use on Raijin.
Building on Gadi
MPAS7 on Gadi requires no code modifications, although you will need to install its dependency PIO
module load intel-compiler openmpi module load netcdf/4.7.3p pnetcdf # Installation directory, set as desired export PIO_DIR=/scratch/$PROJECT/$USER/pio wget https://github.com/NCAR/ParallelIO/releases/download/pio2_5_2/pio-2.5.2.tar.gz tar xvf pio-2.5.2.tar.gz cd pio-2.5.2 CC=mpicc FC=mpif90 ./configure --enable-fortran --prefix $PIO_DIR && make check # I see an error in 'test_pioc' make install cd ..
module load intel-compiler openmpi module load netcdf/4.7.3p pnetcdf git clone https://github.com/MPAS-Dev/MPAS-Model cd MPAS-Model # Set to wherever you installed PIO export PIO=$PIO_DIR make ifort CORE=atmosphere USE_PIO2=true
See the User's Guide for details on how to run the model. A number of idealised test cases as well as meshes for different resolutions are available from the MPAS download site. The top-level directory has all of the TBL, DBL and namelist files required to run MPAS
#!/bin/bash #PBS -l ncpus=4 #PBS -l mem=16gb #PBS -l walltime=1:00:00 #PBS -l jobfs=50gb #PBS -l wd #PBS -W umask=0022 module load openmpi # Add your PIO library's 'lib' directory here export LD_LIBRARY_PATH=/scratch/$PROJECT/$USER/pio/lib:$LD_LIBRARY_PATH mpirun ./atmosphere_model