...
--work_dir /lustre/scratch4/turquoise/mpeterse$USER/runs/191210_test_new_branch
and general.config.ocean
is a file that specifies directory and file paths. You can either add paths to the repo file in that directory, or you can use these files, which use my paths:
LANL IC: general.config.ocean_LANL_turqIC
NERSC: general.config.ocean_cori
...
Compass submodule (easier): This guarantees that the MPAS commit matches compass.
Code Block git submodule update --init --recursive cd MPAS-Model/ocean/develop/ # load modules (see machine-specific instructions below) make gfortran CORE=ocean
Other MPAS directory (advanced): Create your own MPAS repository elsewhere on disk, and point
general.config.ocean
to that. The user must ensure that flag names and test cases match appropriately. The simplest way to set up a new MPAS repo in a new directory is:Code Block git clone git@github.com:MPAS-Dev/MPAS.git your_new_branch cd your_new_branch git checkout -b your_new_branch origin/ocean/develop
Note that for ocean development, it is best to branch from ocean/develop.
...