[Dart-dev] DART/branches Revision: 12290

dart at ucar.edu dart at ucar.edu
Mon Jan 8 14:56:26 MST 2018


nancy at ucar.edu
2018-01-08 14:56:26 -0700 (Mon, 08 Jan 2018)
110
skip building in the template directory, but do
the cleanup code anyway leftover from the previous
compiles.




Modified: DART/branches/recam/models/buildall.csh
===================================================================
--- DART/branches/recam/models/buildall.csh	2018-01-08 21:54:12 UTC (rev 12289)
+++ DART/branches/recam/models/buildall.csh	2018-01-08 21:56:26 UTC (rev 12290)
@@ -154,7 +154,10 @@
 
     @ ncdlfiles = `ls *.cdl | wc -l`
 
-    if ( -f workshop_setup.csh ) then
+    if ( "$MODEL" == "template" ) then
+      echo skipping test of the template directory
+
+    elif ( -f workshop_setup.csh ) then
       set SAVEDIR = saveme.test_dart
       mkdir -p ${SAVEDIR}
       ${COPY} input.nml obs_seq.* ${SAVEDIR}
@@ -167,6 +170,7 @@
       echo "Restoring original input.nml and obs_seq files"
       ${COPY} ${SAVEDIR}/* .
       ${REMOVE} ${SAVEDIR}
+
     else
       echo "Trying to run pmo for model $MODEL as a test"
       echo "Will generate NetCDF files from any .cdl files first."


More information about the Dart-dev mailing list