[Dart-dev] [6291] DART/trunk/models/CESM/shell_scripts: fix missing backslash in initial script; added comment

nancy at ucar.edu nancy at ucar.edu
Tue Jul 2 15:54:42 MDT 2013


Revision: 6291
Author:   nancy
Date:     2013-07-02 15:54:42 -0600 (Tue, 02 Jul 2013)
Log Message:
-----------
fix missing backslash in initial script; added comment
about removing:  #BSUB -R "select[scratch_ok > 0]" 
line from run script because it causes the script to
be rejected now.

Modified Paths:
--------------
    DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh
    DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh

-------------- next part --------------
Modified: DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh
===================================================================
--- DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh	2013-07-02 20:00:48 UTC (rev 6290)
+++ DART/trunk/models/CESM/shell_scripts/CESM1_1_1_continuation.csh	2013-07-02 21:54:42 UTC (rev 6291)
@@ -979,6 +979,10 @@
 echo "then invoke 'preview_namelists' so you can check the information in the"
 echo "CaseDocs or ${rundir} directories."
 echo ""
+echo "If the ${case}.run script still contains:"
+echo '  #BSUB -R "select[scratch_ok > 0]" '
+echo "around line 9, delete it."
+echo ""
 echo "Modify what you like in xxx_input.nml, make sure the observation directory"
 echo "names set in xxx_assimilate.csh match those on your system, and submit"
 echo "the CESM job by running:"

Modified: DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh
===================================================================
--- DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh	2013-07-02 20:00:48 UTC (rev 6290)
+++ DART/trunk/models/CESM/shell_scripts/CESM1_1_1_initial.csh	2013-07-02 21:54:42 UTC (rev 6291)
@@ -73,11 +73,11 @@
 #    script names; so consider it's length and information content.
 # num_instances:  Number of ensemble members
 
-setenv case                 cesm_hybrid
+setenv case                 cesm_testme
 setenv compset              B_2000_CAM5
 setenv resolution           0.9x1.25_gx1v6
 setenv cesmtag              cesm1_1_1
-setenv num_instances        30
+setenv num_instances        3
 
 # ==============================================================================
 # define machines and directories
@@ -106,7 +106,7 @@
 setenv rundir       /glade/scratch/${USER}/${case}/run
 setenv archdir      /glade/scratch/${USER}/archive/${case}
 
-setenv DARTroot     /glade/u/home/${USER}/svn/DART/trunk
+setenv DARTroot     /glade/p/work/nancy/subversion/newtrunk/
 
 set RTM_stagedir = /glade/scratch/thoar/DART_POP_RESTARTS/2004-01-01-00000
 set CLM_stagedir = /glade/scratch/thoar/DART_POP_RESTARTS/CLM_2004-01-01-00000/cesm_test
@@ -138,7 +138,7 @@
 setenv stop_n        72
 setenv assim_n       24
 setenv short_term_archiver on
-setenv long_term_archiver  off
+setenv long_term_archiver  on
 
 # ==============================================================================
 # job settings
@@ -149,7 +149,7 @@
 # TJH: How many T62_gx1v6 CESM instances can fit on 1 node?
 # ==============================================================================
 
-setenv ACCOUNT      P8685nnnn
+setenv ACCOUNT      P86850054
 setenv timewall     0:50
 setenv queue        economy
 setenv ptile        15
@@ -825,9 +825,9 @@
 # using the variables set in that script
 
 lastarchivedir=\`ls -1dt ${archdir}/.sta2/* | head -n 1\`
-if [[ ! -d $lastarchivedir ]]; then
+if [[ ! -d \$lastarchivedir ]]; then
   lastarchivedir=\`ls -1dt ${archdir}/rest/* | head -n 1\`
-  if [[ ! -d $lastarchivedir ]]; then
+  if [[ ! -d \$lastarchivedir ]]; then
     echo cannot find last archive directory in ${archdir}/.sta2 
     echo or in ${archdir}/rest.  exiting.
     exit -1
@@ -1011,8 +1011,10 @@
 echo "cd into ${caseroot}"
 echo "1) edit ${caseroot}/Buildconf/clm.buildnml.csh ... remove 'hybrid' portion of line 86"
 echo "2) edit ${caseroot}/Buildconf/rtm.buildnml.csh ... comment out line 36"
+echo "3) If the ${case}.run script still contains:"
+echo '     #BSUB -R "select[scratch_ok > 0]" '
+echo "   around line 9, delete it."
 echo ""
-echo ""
 echo "Check the streams listed in the streams text files.  If more or different"
 echo 'dates need to be added, then do this in the $CASEROOT/user_*files*'
 echo "then invoke 'preview_namelists' so you can check the information in the"


More information about the Dart-dev mailing list