[Dart-dev] [6088] DART/branches/development/models: Added or moved the 'set nonomatch' to suppress the messages if rm and a wildcard
nancy at ucar.edu
nancy at ucar.edu
Thu Apr 25 15:52:37 MDT 2013
Revision: 6088
Author: thoar
Date: 2013-04-25 15:52:35 -0600 (Thu, 25 Apr 2013)
Log Message:
-----------
Added or moved the 'set nonomatch' to suppress the messages if rm and a wildcard
do not play nice.
Added a couple machines to some of the assimilate.csh scripts to remove the one-off's
for new machines.
Modified Paths:
--------------
DART/branches/development/models/CESM/shell_scripts/CESM1_1_1_setup.csh
DART/branches/development/models/CESM/shell_scripts/CESM_setup_hybrid.csh
DART/branches/development/models/CESM/shell_scripts/cam_assimilate.csh
DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh
DART/branches/development/models/CESM/shell_scripts/pop_assimilate.csh
DART/branches/development/models/MITgcm_ocean/shell_scripts/job.simple.csh
DART/branches/development/models/NCOMMAS/shell_scripts/job.simple.csh
DART/branches/development/models/POP/shell_scripts/CESM1_1_setup_hybrid.csh
DART/branches/development/models/POP/shell_scripts/assimilate.csh
DART/branches/development/models/am2/shell_scripts/job.simple.csh
DART/branches/development/models/cam/full_experiment/job_mpi.csh
DART/branches/development/models/cam/perfect_model/pmo.csh
DART/branches/development/models/cam/shell_scripts/CESM_setup_startup.csh
DART/branches/development/models/cam/shell_scripts/assimilate.csh
DART/branches/development/models/cam/shell_scripts/job.simple.csh
DART/branches/development/models/cam/shell_scripts/pmo.ned.csh
DART/branches/development/models/clm/shell_scripts/CESM1_1_1_pmo_setup.csh
DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh
DART/branches/development/models/clm/shell_scripts/CESM_setup_bluefire.csh
DART/branches/development/models/clm/shell_scripts/assimilate.csh
DART/branches/development/models/clm/shell_scripts/perfect_model.csh
DART/branches/development/models/wrf/shell_scripts/advance_global_model.csh
-------------- next part --------------
Modified: DART/branches/development/models/CESM/shell_scripts/CESM1_1_1_setup.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/CESM1_1_1_setup.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/CESM/shell_scripts/CESM1_1_1_setup.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -145,11 +145,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -162,7 +165,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/CESM/shell_scripts/CESM_setup_hybrid.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/CESM_setup_hybrid.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/CESM/shell_scripts/CESM_setup_hybrid.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -145,11 +145,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -162,7 +165,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/CESM/shell_scripts/cam_assimilate.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/cam_assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/CESM/shell_scripts/cam_assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN CAM_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -29,13 +32,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/ACARS
set DARTDIR = ${HOME}/svn/DART/dev
@@ -48,7 +48,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/CESM/shell_scripts/clm_assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN CLM_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -29,13 +32,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/FluxTower
set DARTDIR = ${HOME}/svn/DART/dev
@@ -48,7 +48,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/CESM/shell_scripts/pop_assimilate.csh
===================================================================
--- DART/branches/development/models/CESM/shell_scripts/pop_assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/CESM/shell_scripts/pop_assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN POP_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -29,13 +32,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/WOD09
set DARTDIR = ${HOME}/svn/DART/dev
@@ -48,7 +48,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/MITgcm_ocean/shell_scripts/job.simple.csh
===================================================================
--- DART/branches/development/models/MITgcm_ocean/shell_scripts/job.simple.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/MITgcm_ocean/shell_scripts/job.simple.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -36,9 +36,11 @@
alias submit 'bsub < \!*'
set myname = $0 # this is the name of this script
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
-
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
case IRIX64:
Modified: DART/branches/development/models/NCOMMAS/shell_scripts/job.simple.csh
===================================================================
--- DART/branches/development/models/NCOMMAS/shell_scripts/job.simple.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/NCOMMAS/shell_scripts/job.simple.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -35,9 +35,11 @@
alias submit 'bsub < \!*'
set myname = $0 # this is the name of this script
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
-
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
case IRIX64:
Modified: DART/branches/development/models/POP/shell_scripts/CESM1_1_setup_hybrid.csh
===================================================================
--- DART/branches/development/models/POP/shell_scripts/CESM1_1_setup_hybrid.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/POP/shell_scripts/CESM1_1_setup_hybrid.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -135,11 +135,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -152,7 +155,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/POP/shell_scripts/assimilate.csh
===================================================================
--- DART/branches/development/models/POP/shell_scripts/assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/POP/shell_scripts/assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN POP_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -29,13 +32,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/WOD09
set DARTDIR = ${HOME}/svn/DART/dev
@@ -48,7 +48,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/am2/shell_scripts/job.simple.csh
===================================================================
--- DART/branches/development/models/am2/shell_scripts/job.simple.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/am2/shell_scripts/job.simple.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -143,6 +143,7 @@
endif
set myname = $0 # this is the name of this script
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
# Set the experiment name.
@@ -150,8 +151,9 @@
cd ${CENTRALDIR}
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
-
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
case IRIX64:
Modified: DART/branches/development/models/cam/full_experiment/job_mpi.csh
===================================================================
--- DART/branches/development/models/cam/full_experiment/job_mpi.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/full_experiment/job_mpi.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -204,6 +204,10 @@
endif
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
@@ -223,7 +227,6 @@
setenv COPY 'cp -vp'
setenv MOVE 'mv -fv'
setenv LINK 'ln -s'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/cam/perfect_model/pmo.csh
===================================================================
--- DART/branches/development/models/cam/perfect_model/pmo.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/perfect_model/pmo.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -159,6 +159,10 @@
endif
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
@@ -178,7 +182,6 @@
setenv COPY 'cp -vp'
setenv MOVE 'mv -fv'
setenv LINK 'ln -s'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/cam/shell_scripts/CESM_setup_startup.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/CESM_setup_startup.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/shell_scripts/CESM_setup_startup.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -136,11 +136,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -153,7 +156,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/cam/shell_scripts/assimilate.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/shell_scripts/assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN CAM_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -29,13 +32,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/ACARS
set DARTDIR = ${HOME}/svn/DART/dev
@@ -48,7 +48,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/cam/shell_scripts/job.simple.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/job.simple.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/shell_scripts/job.simple.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -139,6 +139,7 @@
endif
set myname = $0 # this is the name of this script
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
# Set the experiment name.
@@ -146,8 +147,9 @@
cd ${CENTRALDIR}
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
# some systems don't like the -v option to any of the following
-
set OSTYPE = `uname -s`
switch ( ${OSTYPE} )
case IRIX64:
@@ -164,7 +166,6 @@
setenv REMOVE 'rm -rvf'
setenv COPY 'cp -vp'
setenv MOVE 'mv -fv'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/cam/shell_scripts/pmo.ned.csh
===================================================================
--- DART/branches/development/models/cam/shell_scripts/pmo.ned.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/cam/shell_scripts/pmo.ned.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -6,13 +6,14 @@
#
# $Id$
-# The FORCE options are not optional.
-# the VERBOSE options are useful for debugging.
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
-set nonomatch
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
# for perfect model we only have a single state
set ensemble_size = 1
Modified: DART/branches/development/models/clm/shell_scripts/CESM1_1_1_pmo_setup.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/CESM1_1_1_pmo_setup.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/clm/shell_scripts/CESM1_1_1_pmo_setup.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -148,11 +148,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -165,7 +168,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/clm/shell_scripts/CESM1_1_setup.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -147,11 +147,14 @@
# set these standard commands based on the machine you are running on.
# ==============================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -164,7 +167,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/clm/shell_scripts/CESM_setup_bluefire.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/CESM_setup_bluefire.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/clm/shell_scripts/CESM_setup_bluefire.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -157,11 +157,14 @@
# set these standard commands based on the machine you are running on.
# ====================================================================
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -174,7 +177,6 @@
set COPY = '/bin/cp -fv --preserve=timestamps'
set LINK = '/bin/ln -fvs'
set REMOVE = '/bin/rm -fr'
- set nonomatch
breaksw
endsw
Modified: DART/branches/development/models/clm/shell_scripts/assimilate.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/assimilate.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/clm/shell_scripts/assimilate.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,47 +12,70 @@
echo "`date` -- BEGIN CLM_ASSIMILATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
set REMOVE = '/usr/local/bin/rm -fr'
set BASEOBSDIR = /glade/proj3/image/Observations/FluxTower
- set DARTDIR = ${HOME}/svn/DART/dev
- set LAUNCHCMD = mpirun.lsf
+ set DARTDIR = ${HOME}/svn/DART/dev
+ set LAUNCHCMD = mpirun.lsf
breaksw
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/FluxTower
- set DARTDIR = ${HOME}/svn/DART/dev
- set LAUNCHCMD = mpirun.lsf
+ set DARTDIR = ${HOME}/svn/DART/dev
+ set LAUNCHCMD = mpirun.lsf
breaksw
+ case lone*:
+ # UT lonestar
+ set MOVE = '/bin/mv -fv'
+ set COPY = '/bin/cp -fv --preserve=timestamps'
+ set LINK = '/bin/ln -fvs'
+ set REMOVE = '/bin/rm -fr'
+
+ set BASEOBSDIR = ${WORK}/DART/observations/snow/work/obs_seqs
+ set DARTDIR = ${WORK}/DART
+ set LAUNCHCMD = mpirun.lsf
+ breaksw
+
+ case la*:
+ # LBNL "lawrencium"
+ set MOVE = 'mv -fv'
+ set COPY = 'cp -fv --preserve=timestamps'
+ set LINK = 'ln -fvs'
+ set REMOVE = 'rm -fr'
+
+ set BASEOBSDIR = /your/observation/directory/here
+ set DARTDIR = ${HOME}/devel
+ set LAUNCHCMD = "mpiexec -n $NTASKS"
+ breaksw
+
default:
# NERSC "hopper"
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
- set DARTDIR = ${HOME}/devel
- set LAUNCHCMD = "aprun -n $NTASKS"
+ set DARTDIR = ${HOME}/devel
+ set LAUNCHCMD = "aprun -n $NTASKS"
breaksw
endsw
Modified: DART/branches/development/models/clm/shell_scripts/perfect_model.csh
===================================================================
--- DART/branches/development/models/clm/shell_scripts/perfect_model.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/clm/shell_scripts/perfect_model.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -12,11 +12,14 @@
echo "`date` -- BEGIN GENERATE TRUE STATE"
+set nonomatch # suppress "rm" warnings if wildcard does not match anything
+
+# The FORCE options are not optional.
+# The VERBOSE options are useful for debugging though
+# some systems don't like the -v option to any of the following
switch ("`hostname`")
case be*:
# NCAR "bluefire"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = '/usr/local/bin/mv -fv'
set COPY = '/usr/local/bin/cp -fv --preserve=timestamps'
set LINK = '/usr/local/bin/ln -fvs'
@@ -28,13 +31,10 @@
case ys*:
# NCAR "yellowstone"
- # The FORCE options are not optional.
- # the VERBOSE options are useful for debugging.
set MOVE = 'mv -fv'
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /glade/p/image/Observations/FluxTower
set DARTDIR = ${HOME}/svn/DART/dev
@@ -46,7 +46,6 @@
set COPY = 'cp -fv --preserve=timestamps'
set LINK = 'ln -fvs'
set REMOVE = 'rm -fr'
- set nonomatch
set BASEOBSDIR = /scratch/scratchdirs/nscollin/ACARS
set DARTDIR = ${HOME}/devel
Modified: DART/branches/development/models/wrf/shell_scripts/advance_global_model.csh
===================================================================
--- DART/branches/development/models/wrf/shell_scripts/advance_global_model.csh 2013-04-25 20:27:37 UTC (rev 6087)
+++ DART/branches/development/models/wrf/shell_scripts/advance_global_model.csh 2013-04-25 21:52:35 UTC (rev 6088)
@@ -35,14 +35,15 @@
set REMOVE = '/bin/rm -rf'
set COPY = 'cp -p'
set MOVE = 'mv -f'
+set nonomatch
# give the filesystem time to collect itself
sleep 5
# Create a clean temporary directory and go there
-\rm -rf $temp_dir
-mkdir -p $temp_dir
-cd $temp_dir
+${REMOVE} $temp_dir
+mkdir -p $temp_dir
+cd $temp_dir
# Each parallel task may need to advance more than one ensemble member.
# This control file has the actual ensemble number, the input filename,
@@ -367,7 +368,7 @@
# Remove the filter_control file to signal completeion
# Is there a need for any sleeps to avoid trouble on completing moves here?
-\rm -rf $control_file
+${REMOVE} $control_file
exit 0
More information about the Dart-dev
mailing list