[Dart-dev] [4692] DART/trunk/models/tiegcm/shell_scripts/run_filter.csh: comments starting with '; ' in tiegcm.nml is removed

nancy at ucar.edu nancy at ucar.edu
Thu Feb 3 12:08:41 MST 2011


Revision: 4692
Author:   tmatsuo
Date:     2011-02-03 12:08:41 -0700 (Thu, 03 Feb 2011)
Log Message:
-----------
comments starting with ';' in tiegcm.nml is removed
so that read_TIEGCM_namelist can handle tiegcm.nml

Modified Paths:
--------------
    DART/trunk/models/tiegcm/shell_scripts/run_filter.csh

-------------- next part --------------
Modified: DART/trunk/models/tiegcm/shell_scripts/run_filter.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/run_filter.csh	2011-02-03 19:06:19 UTC (rev 4691)
+++ DART/trunk/models/tiegcm/shell_scripts/run_filter.csh	2011-02-03 19:08:41 UTC (rev 4692)
@@ -34,10 +34,10 @@
 #BSUB -J filter
 #BSUB -o filter.%J.log
 #BSUB -P 35071364
-#BSUB -q standby
+#BSUB -q regular
 #BSUB -n 64
 #BSUB -R "span[ptile=64]"
-#BSUB -W 2:30
+#BSUB -W 3:00
 #BSUB -N -u ${USER}@ucar.edu
 
 #----------------------------------------------------------------------
@@ -121,7 +121,7 @@
 
 set    DARTDIR = /blhome/tmatsuo/DART/models/tiegcm
 set  TIEGCMDIR = /blhome/tmatsuo/DART/models/tiegcm/tiegcm_files
-set EXPERIMENT = /ptmp/tmatsuo/DART/tiegcm/2002_03_28/initial/filter
+set EXPERIMENT = /ptmp/tmatsuo/DART/tiegcm/2002_03_28
 
 #-----------------------------------------------------------------------------
 # Get the DART executables, scripts, and input files
@@ -137,7 +137,7 @@
  ${COPY} ${DARTDIR}/shell_scripts/advance_model.csh .
 
 # data files
- ${COPY} ${EXPERIMENT}/obs_seq.out                  .
+ ${COPY} ${EXPERIMENT}/initial/obs_seq.out          .
  ${COPY} ${DARTDIR}/work/input.nml                  .
 
 #-----------------------------------------------------------------------------
@@ -178,11 +178,13 @@
   set tierestart  = `printf "tiegcm_restart_p.nc.%04d" $i`
   set tieinp      = `printf "tiegcm.nml.%04d"          $i`
 
-  ln -sf ${EXPERIMENT}/$darticname .
-  ln -sf ${EXPERIMENT}/$tiesecond  .
-  ln -sf ${EXPERIMENT}/$tierestart .
-  ln -sf ${EXPERIMENT}/$tieinp     .
+  ln -sf ${EXPERIMENT}/initial/$darticname .
+  ln -sf ${EXPERIMENT}/initial/$tiesecond  .
+  ln -sf ${EXPERIMENT}/initial/$tierestart .
+  ln -sf ${EXPERIMENT}/initial/$tieinp     tiegcm.nml.original 
 
+  sed -e 's/;.*//' -e '/^$/ d' tiegcm.nml.original >! $tieinp
+
   @ i += 1
 end
 
@@ -192,6 +194,7 @@
 
 ln -sf tiegcm_restart_p.nc.0001 tiegcm_restart_p.nc
 ln -sf tiegcm_s.nc.0001         tiegcm_s.nc
+ln -sf tiegcm.nml.0001          tiegcm.nml
 
 mpirun.lsf ./filter || exit 2
 


More information about the Dart-dev mailing list