Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

--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:

...

  1. 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
  2. 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.

...