THIS PAGE HAS BEEN REPLACED BY COMPASS READ-THE-DOCS. PLEASE GO THERE.
Information on this page is no longer updated.
Table of Contents |
---|
Overview
...
To begin, obtain the master branch of the compass repository with:
Code Block |
---|
git clone git@github.com:MPAS-Dev/compass.git cd compass git submodule update --init --recursive |
...
This section uses git worktree, which provides more flexibility but is more complicated. See the beginner section above for the simpler version. In the worktree version, you will have many unix directories, and each corresponds to a git branch. It is easier to keep track of, and easier to work with many branches as at once. Begin where you keep your repositories:
...
The MPAS-Dev/compass
is now origin. You can add more remotes. For example
Code Block |
---|
git remote add gitMonikermark-petersen git@github.com:gitMonikermark-petersen/compass.git git fetch gitMonikermark-petersen |
To view all your remotes:
...
NERSC uses HPSS with the commands hsi and htar
E3SM uses zstash B04. zstash: HPSS long-term archiving tool
cori, gnu
Code Block | ||
---|---|---|
| ||
module switch PrgEnv-intel PrgEnv-gnu module load cray-netcdf-hdf5parallel module load cray-parallel-netcdf module load cmake source /global/project/projectdirs/e3sm/software/anaconda_envs/load_latest_e3sm_unified.sh export PIO=/global/u2/h/hgkang/my_programs/Scorpio git submodule update --init --recursive # debug: make gnu-nersc CORE=ocean USE_PIO2=true OPENMP=false DEBUG=true GEN_F90=true # optimized: make gnu-nersc CORE=ocean USE_PIO2=true OPENMP=false |
...