Difference between revisions of "WRF porting to NCI machine"

(Imported from Wikispaces)
 
Line 17: Line 17:
 
# In the new branch, run the command:
 
# In the new branch, run the command:
 
> <syntaxhighlight>
 
> <syntaxhighlight>
git merge -s recursive -Xsubtree=WRFV3 -Xtheirs --allow-unrelated-histories NCAR_WRF/master
+
git merge -s recursive -Xsubtree=WRFV3 --allow-unrelated-histories NCAR_WRF/master
 
</syntaxhighlight>
 
</syntaxhighlight>
 
> You may need another branch than master to pick up a specific release.
 
> You may need another branch than master to pick up a specific release.

Revision as of 00:43, 9 April 2019

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