Skip to content

Commit

Permalink
compile target "wrf" is now available again (wrf-model#453)
Browse files Browse the repository at this point in the history
TYPE: enhancement

KEYWORDS: compile, wrf

SOURCE: internal

DESCRIPTION OF CHANGES:
Add in the target "wrf" in the top if test in the compile script. The test is placed after the "wrfplus" target. The only executable to be built is wrf.exe, so that is the only executable that is removed.

LIST OF MODIFIED FILES:
M    compile

TESTS CONDUCTED:
 - [x] Without the mod, the build target is not recognized.
 - [x] With the mod, the wrf.exe (and only wrf.exe) is rebuilt.
  • Loading branch information
davegill authored Apr 25, 2018
1 parent a20e824 commit 372d3ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ foreach a ( $argv )
setenv WRF_EM_CORE 1
setenv WRF_PLUS_CORE 1
echo not sure what to do, but this seems to be legit so far
else if ( "$a" == "wrf" ) then
set arglist = ( $arglist $a )
set ZAP = ( main/wrf.exe )
else if ( "$a" == "-j" ) then
shift argv
setenv J "-j $argv[1]"
Expand Down

0 comments on commit 372d3ed

Please sign in to comment.