WRF porting to NCI machine

Revision as of 23:03, 13 November 2018 by ClaireCarouge (talk | contribs) (Imported from Wikispaces)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These are the steps to follow to install new WRF versions on NCI machine. Only for admins within the wrf group at NCI. If starting from scratch:

  1. Update the Github fork of NCAR Github in coecms/WRFV3
  2. Under your own project, clone the WRF github repo: https://github.com/coecms/WRF and create a new branch for the new version (named Vx.x.x)
  3. Add https://github.com/coecms/WRFV3.git as a remote (named NCAR if you want to copy-paste the commands) and fetch
  4. In the new branch, run the command:

>

 git merge -s recursive -Xsubtree=WRFV3 -Xtheirs --allow-unrelated-histories NCAR_WRF/master

> You may need another branch than master to pick up a specific release.

  1. Clone into /projects/WRF with wrf group ownership. Make sure the master branch there points to the new version branch.

If you already have a clone of the coecms/WRF repo:

  1. Update the Github fork of NCAR Github in coecms/WRFV3
  2. In your local clone, fetch the NCAR remote
  3. Create a new branch for the new version (named Vx.x.x)
  4. In the new branch, run the command:

>

git merge -s recursive -Xsubtree=WRFV3 -Xtheirs --allow-unrelated-histories NCAR_WRF/master

> You may need another branch than master to pick up a specific release.

  1. Clone into /projects/WRF with wrf group ownership. Make sure the master branch there points to the new version branch.

Follow same steps for WPS, but remote is called NCAR_WPS and -Xsubtree=WPS

Jenkins setup

  1. Add a new parameter for the version. Just the numbers, no "V".
  2. Create a branch for that version in wrf-testing repo. Exact same name as the previous step parameter.