[Dart-dev] [6522] DART/trunk/models/tiegcm/shell_scripts: These changes are approved by Tomoko in support of tiegcm V 1.95
nancy at ucar.edu
nancy at ucar.edu
Wed Oct 16 17:10:19 MDT 2013
Revision: 6522
Author: thoar
Date: 2013-10-16 17:10:19 -0600 (Wed, 16 Oct 2013)
Log Message:
-----------
These changes are approved by Tomoko in support of tiegcm V 1.95
Modified Paths:
--------------
DART/trunk/models/tiegcm/shell_scripts/advance_model.csh
DART/trunk/models/tiegcm/shell_scripts/run_filter.csh
DART/trunk/models/tiegcm/shell_scripts/run_filter_async4.csh
DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh
-------------- next part --------------
Modified: DART/trunk/models/tiegcm/shell_scripts/advance_model.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/advance_model.csh 2013-10-16 23:00:15 UTC (rev 6521)
+++ DART/trunk/models/tiegcm/shell_scripts/advance_model.csh 2013-10-16 23:10:19 UTC (rev 6522)
@@ -67,7 +67,7 @@
set tierestart = `printf "tiegcm_restart_p.nc.%04d" $ensemble_member`
set tieinp = `printf "tiegcm.nml.%04d" $ensemble_member`
- ln -sf ../$input_file temp_ic || exit 2
+ cp -p ../$input_file temp_ic || exit 2
cp -p ../$tiesecond tiegcm_s.nc || exit 2
cp -p ../$tierestart tiegcm_restart_p.nc || exit 2
cp -p ../$tieinp tiegcm.nml || exit 2
@@ -90,8 +90,6 @@
set secstop = " SECSTOP = "`head -4 namelist_update | tail -1`
set hist = " HIST = "`head -5 namelist_update | tail -1`
set sechist = " SECHIST = "`head -5 namelist_update | tail -1`
- set save = " SAVE = "`head -5 namelist_update | tail -1`
- set secsave = " SECSAVE = "`head -5 namelist_update | tail -1`
set f107value = `head -6 namelist_update | tail -1`
set f107 = " F107 = ""$f107value"
@@ -104,11 +102,9 @@
-e 's/'"`grep 'START' tiegcm.nml.original | head -4 | tail -1`"'/'"$start"'/' \
-e 's/'"`grep 'STOP' tiegcm.nml.original | head -1`"'/'"$stop"'/' \
-e 's/'"`grep 'HIST' tiegcm.nml.original | head -1`"'/'"$hist"'/' \
- -e 's/'"`grep 'SAVE' tiegcm.nml.original | head -1`"'/'"$save"'/' \
-e 's/'"`grep 'SECSTART' tiegcm.nml.original`"'/'"$secstart"'/' \
-e 's/'"`grep 'SECSTOP' tiegcm.nml.original`"'/'"$secstop"'/' \
-e 's/'"`grep 'SECHIST' tiegcm.nml.original`"'/'"$sechist"'/' \
- -e 's/'"`grep 'SECSAVE' tiegcm.nml.original`"'/'"$secsave"'/' \
-e 's/'"`grep 'F107' tiegcm.nml.original | head -1`"'/'"$f107"'/' \
tiegcm.nml.original >! tiegcm.nml.update
@@ -121,11 +117,9 @@
-e 's/'"`grep 'START' tiegcm.nml.original | head -4 | tail -1`"'/'"$start"'/' \
-e 's/'"`grep 'STOP' tiegcm.nml.original | head -1`"'/'"$stop"'/' \
-e 's/'"`grep 'HIST' tiegcm.nml.original | head -1`"'/'"$hist"'/' \
- -e 's/'"`grep 'SAVE' tiegcm.nml.original | head -1`"'/'"$save"'/' \
-e 's/'"`grep 'SECSTART' tiegcm.nml.original`"'/'"$secstart"'/' \
-e 's/'"`grep 'SECSTOP' tiegcm.nml.original`"'/'"$secstop"'/' \
-e 's/'"`grep 'SECHIST' tiegcm.nml.original`"'/'"$sechist"'/' \
- -e 's/'"`grep 'SECSAVE' tiegcm.nml.original`"'/'"$secsave"'/' \
tiegcm.nml.original >! tiegcm.nml.update
endif
Modified: DART/trunk/models/tiegcm/shell_scripts/run_filter.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/run_filter.csh 2013-10-16 23:00:15 UTC (rev 6521)
+++ DART/trunk/models/tiegcm/shell_scripts/run_filter.csh 2013-10-16 23:10:19 UTC (rev 6522)
@@ -33,8 +33,8 @@
#
#BSUB -J filter
#BSUB -o filter.%J.log
-#BSUB -P 35071364
-#BSUB -q regular
+#BSUB -P P3507xxxx
+#BSUB -q economy
#BSUB -n 64
#BSUB -R "span[ptile=64]"
#BSUB -W 3:00
@@ -84,7 +84,7 @@
# Make a unique, (empty, clean) temporary directory.
#----------------------------------------------------------------------
-setenv TMPDIR /ptmp/${user}/DART/${JOBNAME}/job_${JOBID}
+setenv TMPDIR /glade/scratch/${user}/DART/${JOBNAME}/job_${JOBID}
mkdir -p ${TMPDIR}
cd ${TMPDIR}
@@ -119,9 +119,9 @@
# Set variables containing various directory names where we will GET things
#-----------------------------------------------------------------------------
-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
+set DARTDIR = /glade/u/home/tmatsuo/DART/models/tiegcm
+set TIEGCMDIR = /glade/u/home/tmatsuo/DART/models/tiegcm/tiegcm_files
+set EXPERIMENT = /glade/scratch/tmatsuo/2002_03_28_tiegcm
#-----------------------------------------------------------------------------
# Get the DART executables, scripts, and input files
Modified: DART/trunk/models/tiegcm/shell_scripts/run_filter_async4.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/run_filter_async4.csh 2013-10-16 23:00:15 UTC (rev 6521)
+++ DART/trunk/models/tiegcm/shell_scripts/run_filter_async4.csh 2013-10-16 23:10:19 UTC (rev 6522)
@@ -25,13 +25,10 @@
##=============================================================================
#BSUB -J filter
#BSUB -o filter.%J.log
-#BSUB -P 35071364
+#BSUB -P P3507xxxx
#BSUB -q debug
#BSUB -n 4
#BSUB -W 0:30
-##BSUB -q regular
-##BSUB -n 20
-##BSUB -W 2:00
#BSUB -N -u ${USER}@ucar.edu
#
##=============================================================================
Modified: DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh
===================================================================
--- DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh 2013-10-16 23:00:15 UTC (rev 6521)
+++ DART/trunk/models/tiegcm/shell_scripts/run_perfect_model_obs.csh 2013-10-16 23:10:19 UTC (rev 6522)
@@ -33,10 +33,10 @@
#
#BSUB -J perfect
#BSUB -o perfect.%J.log
-#BSUB -P 35071364
-#BSUB -q debug
+#BSUB -P P3507xxxx
+#BSUB -q economy
#BSUB -n 1
-#BSUB -W 6:00
+#BSUB -W 1:00
#BSUB -N -u ${USER}@ucar.edu
#----------------------------------------------------------------------
@@ -83,7 +83,7 @@
# Make a unique, (empty, clean) temporary directory.
#----------------------------------------------------------------------
-setenv TMPDIR /ptmp/${user}/DART/${JOBNAME}/job_${JOBID}
+setenv TMPDIR /glade/scratch/${user}/DART/${JOBNAME}/job_${JOBID}
mkdir -p ${TMPDIR}
cd ${TMPDIR}
@@ -118,9 +118,9 @@
# Set variables containing various directory names where we will GET things
#-----------------------------------------------------------------------------
-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
+set DARTDIR = /glade/u/home/tmatsuo/DART/models/tiegcm
+set TIEGCMDIR = /glade/u/home/tmatsuo/DART/models/tiegcm/tiegcm_files
+set EXPERIMENT = /glade/scratch/tmatsuo/2002_03_28_tiegcm
#-----------------------------------------------------------------------------
# Get the DART executables, scripts, and input files
@@ -154,7 +154,7 @@
# Remove all the comments that follow (;) symbol from tiegcm.nml namelist file
#-----------------------------------------------------------------------------
-sed -e 's/;.*//' -e '/^$/ d' tiegcm.nml.original >! tiegcm.nml
+grep -v "^;" tiegcm.nml.original >! tiegcm.nml
#-----------------------------------------------------------------------------
# Check that everything moved OK, and the table is set.
More information about the Dart-dev
mailing list