Difference between revisions of "Current WRF porting to NCI"

 
Line 5: Line 5:
 
*cd WRF  
 
*cd WRF  
 
*git checkout -b V4.4.1    # Name of branch needs to follow the format VX.Y(.Z)  
 
*git checkout -b V4.4.1    # Name of branch needs to follow the format VX.Y(.Z)  
*git remote add ncar-wrf git@github.com:wrf-model/WRF.git
+
*git remote add ncar-wrf git@github.com:wrf-model/WRF.git  
 +
*git fetch ncar-wrf
 +
*git merge -s recursive -Xsubtree=WRF ncar-wrf/master     # To get the latest version.
 +
*Resolve any conflicts from the merge. For conflicts of scientific nature, ncar changes override. For NCI-related conflicts, local branch differences override.
 +
*cd WRF
 +
*./run_compile
 +
*git push --u origin V4.4.1

Latest revision as of 22:07, 20 November 2022

These are the steps to install new WRF versions on NCI machine, intended only for admins within the wrf group at NCI. If starting from scratch and assuming WRF V4.4.1:

  • git clone --recursive git@github.com:coecms/WRF.git
  • cd WRF
  • git checkout -b V4.4.1    # Name of branch needs to follow the format VX.Y(.Z)
  • git remote add ncar-wrf git@github.com:wrf-model/WRF.git
  • git fetch ncar-wrf
  • git merge -s recursive -Xsubtree=WRF ncar-wrf/master     # To get the latest version.
  • Resolve any conflicts from the merge. For conflicts of scientific nature, ncar changes override. For NCI-related conflicts, local branch differences override.
  • cd WRF
  • ./run_compile
  • git push --u origin V4.4.1