[Dart-dev] DART/branches Revision: 10773

dart at ucar.edu dart at ucar.edu
Tue Nov 22 15:05:01 MST 2016


thoar at ucar.edu
2016-11-22 15:05:01 -0700 (Tue, 22 Nov 2016)
592
Turns out the string I was using to denote a successful model advance was not
sufficient.  If the log file has a phrase like 
"Blowing-up: Saving latest model state into  RESTART file"
the model did not complete successfully, even though the log file ends:
"ROMS/TOMS: DONE"

I turned off the prior state-space inflation in the input.nml.template file.
This was causing our test case (with a not-very-realistic observation sequence file)
to blow up in the 4th cycle. Compounded by the script not 
detecting the failed model advance, DART was failing with a really misleading 
error message.




Modified: DART/branches/rma_trunk/models/ROMS/shell_scripts/cycle.csh.template
===================================================================
--- DART/branches/rma_trunk/models/ROMS/shell_scripts/cycle.csh.template	2016-11-22 18:59:08 UTC (rev 10772)
+++ DART/branches/rma_trunk/models/ROMS/shell_scripts/cycle.csh.template	2016-11-22 22:05:01 UTC (rev 10773)
@@ -106,9 +106,9 @@
 
    mpirun.lsf ../MyROMS_EXE MyROMS_STDIN >& log_$instance.txt
 
-   # Check for successful completion - log file should have something like:
-   # ROMS/TOMS: DONE... Tuesday - April 26, 2016 -  7:34:13 PM
-   grep "ROMS/TOMS: DONE" log_$instance.txt > /dev/null
+   # Check for successful completion - log file should NOT have something like:
+   # Blowing-up: Saving latest model state into  RESTART file
+   grep -i blow log_$instance.txt > /dev/null
    if ($status != 0) then
       echo "ROMS instance $instance FAILED."
       echo "ROMS instance $instance FAILED."

Modified: DART/branches/rma_trunk/models/ROMS/shell_scripts/stage_experiment.csh
===================================================================
--- DART/branches/rma_trunk/models/ROMS/shell_scripts/stage_experiment.csh	2016-11-22 18:59:08 UTC (rev 10772)
+++ DART/branches/rma_trunk/models/ROMS/shell_scripts/stage_experiment.csh	2016-11-22 22:05:01 UTC (rev 10773)
@@ -46,9 +46,9 @@
 #         because that's where I built my ROMS and I'm using the
 #         default forcing/data files.
 
-set DARTDIR = /glade/p/work/${USER}/DART/rma_roms
+set DARTDIR = /glade/p/work/${USER}/DART/rma_trunk
 set ROMSDIR = /glade/p/work/${USER}/roms/test
-set EXPERIMENTDIR = /glade/scratch/${USER}/roms_inflation_test
+set EXPERIMENTDIR = /glade/scratch/${USER}/roms_cycling_test
 set SUBSTITUTE = /glade/p/work/${USER}/roms/trunk/ROMS/Bin/substitute
 
 if (-e ${EXPERIMENTDIR} ) then

Modified: DART/branches/rma_trunk/models/ROMS/work/input.nml.template
===================================================================
--- DART/branches/rma_trunk/models/ROMS/work/input.nml.template	2016-11-22 18:59:08 UTC (rev 10772)
+++ DART/branches/rma_trunk/models/ROMS/work/input.nml.template	2016-11-22 22:05:01 UTC (rev 10773)
@@ -59,7 +59,7 @@
    restart_in_file_name     = "no_restart_in"
    restart_out_file_name    = "no_restart_out"
 
-   inf_flavor                  = 2,                       0
+   inf_flavor                  = 0,                       0
    inf_initial_from_restart    = .true.,                  .true.
    inf_sd_initial_from_restart = .true.,                  .true.
    inf_output_restart          = .true.,                  .true.


More information about the Dart-dev mailing list