EMC Training | Day 1 Basics > Get the Code

These instructions will allow users to download the current NEMSfv3gfs source code including CCPP capabilities.  The authoritative repositories are located on github.com, in the NCAR organizational space.  We will be using the NOAA RDHPCS system, theia, for these exercises!

If you are not familiar with git, please refer to the following pages:

https://help.github.com/ —

https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

Start by going into a working directory in your project space, i.e.

cd ${YOUR_WORK_DIR}

Next, clone the top-level git repository and all of it's submodules, checking out the appropriate tag (emc_training_march_2019)

git clone --recursive -b emc_training_march_2019 https://github.com/NCAR/NEMSfv3gfs

Note. Potential errors while checking out the submodule NCEPLIBS-pyprodutil (e.g., "gerrit: Name or service not known") can be ignored.

You will now have a local working copy of the source code:

cd NEMSfv3gfs