[Dart-dev] [6899] DART/trunk/models/cam: Deprecating the following:

nancy at ucar.edu nancy at ucar.edu
Fri Apr 18 10:58:07 MDT 2014


Revision: 6899
Author:   thoar
Date:     2014-04-18 10:58:06 -0600 (Fri, 18 Apr 2014)
Log Message:
-----------
Deprecating the following:

Added Paths:
-----------
    DART/trunk/models/cam/deprecated/do_id_set_def_stdin.f90
    DART/trunk/models/cam/deprecated/id_obs_stdin
    DART/trunk/models/cam/deprecated/run-pc.csh

Removed Paths:
-------------
    DART/trunk/models/cam/do_id_set_def_stdin.f90
    DART/trunk/models/cam/id_obs_stdin
    DART/trunk/models/cam/run-pc.csh

-------------- next part --------------
Copied: DART/trunk/models/cam/deprecated/do_id_set_def_stdin.f90 (from rev 6886, DART/trunk/models/cam/do_id_set_def_stdin.f90)
===================================================================
--- DART/trunk/models/cam/deprecated/do_id_set_def_stdin.f90	                        (rev 0)
+++ DART/trunk/models/cam/deprecated/do_id_set_def_stdin.f90	2014-04-18 16:58:06 UTC (rev 6899)
@@ -0,0 +1,35 @@
+! DART software - Copyright 2004 - 2013 UCAR. This open source software is
+! provided by UCAR, "as is", without charge, subject to all terms of use at
+! http://www.image.ucar.edu/DAReS/DART/DART_download
+!
+! $Id$
+
+program main
+
+implicit none
+
+! version controlled file description for error handling, do not edit
+character(len=256), parameter :: source   = &
+   "$URL$"
+character(len=32 ), parameter :: revision = "$Revision$"
+character(len=128), parameter :: revdate  = "$Date$"
+
+integer :: i
+integer, parameter :: interval = 105
+
+write(*, *) 'set_def.out'
+write(*, *) 1
+write(*, *) 13440 / interval
+
+do i = 1, 13440, interval
+   write(*, *) 100.0
+   write(*, *) i
+end do
+
+end program main
+
+! <next few lines under version control, do not edit>
+! $URL$
+! $Id$
+! $Revision$
+! $Date$

Copied: DART/trunk/models/cam/deprecated/id_obs_stdin (from rev 6886, DART/trunk/models/cam/id_obs_stdin)
===================================================================
--- DART/trunk/models/cam/deprecated/id_obs_stdin	                        (rev 0)
+++ DART/trunk/models/cam/deprecated/id_obs_stdin	2014-04-18 16:58:06 UTC (rev 6899)
@@ -0,0 +1,259 @@
+ set_def.out
+           1
+         128
+   100.0000    
+           1
+   100.0000    
+         106
+   100.0000    
+         211
+   100.0000    
+         316
+   100.0000    
+         421
+   100.0000    
+         526
+   100.0000    
+         631
+   100.0000    
+         736
+   100.0000    
+         841
+   100.0000    
+         946
+   100.0000    
+        1051
+   100.0000    
+        1156
+   100.0000    
+        1261
+   100.0000    
+        1366
+   100.0000    
+        1471
+   100.0000    
+        1576
+   100.0000    
+        1681
+   100.0000    
+        1786
+   100.0000    
+        1891
+   100.0000    
+        1996
+   100.0000    
+        2101
+   100.0000    
+        2206
+   100.0000    
+        2311
+   100.0000    
+        2416
+   100.0000    
+        2521
+   100.0000    
+        2626
+   100.0000    
+        2731
+   100.0000    
+        2836
+   100.0000    
+        2941
+   100.0000    
+        3046
+   100.0000    
+        3151
+   100.0000    
+        3256
+   100.0000    
+        3361
+   100.0000    
+        3466
+   100.0000    
+        3571
+   100.0000    
+        3676
+   100.0000    
+        3781
+   100.0000    
+        3886
+   100.0000    
+        3991
+   100.0000    
+        4096
+   100.0000    
+        4201
+   100.0000    
+        4306
+   100.0000    
+        4411
+   100.0000    
+        4516
+   100.0000    
+        4621
+   100.0000    
+        4726
+   100.0000    
+        4831
+   100.0000    
+        4936
+   100.0000    
+        5041
+   100.0000    
+        5146
+   100.0000    
+        5251
+   100.0000    
+        5356
+   100.0000    
+        5461
+   100.0000    
+        5566
+   100.0000    
+        5671
+   100.0000    
+        5776
+   100.0000    
+        5881
+   100.0000    
+        5986
+   100.0000    
+        6091
+   100.0000    
+        6196
+   100.0000    
+        6301
+   100.0000    
+        6406
+   100.0000    
+        6511
+   100.0000    
+        6616
+   100.0000    
+        6721
+   100.0000    
+        6826
+   100.0000    
+        6931
+   100.0000    
+        7036
+   100.0000    
+        7141
+   100.0000    
+        7246
+   100.0000    
+        7351
+   100.0000    
+        7456
+   100.0000    
+        7561
+   100.0000    
+        7666
+   100.0000    
+        7771
+   100.0000    
+        7876
+   100.0000    
+        7981
+   100.0000    
+        8086
+   100.0000    
+        8191
+   100.0000    
+        8296
+   100.0000    
+        8401
+   100.0000    
+        8506
+   100.0000    
+        8611
+   100.0000    
+        8716
+   100.0000    
+        8821
+   100.0000    
+        8926
+   100.0000    
+        9031
+   100.0000    
+        9136
+   100.0000    
+        9241
+   100.0000    
+        9346
+   100.0000    
+        9451
+   100.0000    
+        9556
+   100.0000    
+        9661
+   100.0000    
+        9766
+   100.0000    
+        9871
+   100.0000    
+        9976
+   100.0000    
+       10081
+   100.0000    
+       10186
+   100.0000    
+       10291
+   100.0000    
+       10396
+   100.0000    
+       10501
+   100.0000    
+       10606
+   100.0000    
+       10711
+   100.0000    
+       10816
+   100.0000    
+       10921
+   100.0000    
+       11026
+   100.0000    
+       11131
+   100.0000    
+       11236
+   100.0000    
+       11341
+   100.0000    
+       11446
+   100.0000    
+       11551
+   100.0000    
+       11656
+   100.0000    
+       11761
+   100.0000    
+       11866
+   100.0000    
+       11971
+   100.0000    
+       12076
+   100.0000    
+       12181
+   100.0000    
+       12286
+   100.0000    
+       12391
+   100.0000    
+       12496
+   100.0000    
+       12601
+   100.0000    
+       12706
+   100.0000    
+       12811
+   100.0000    
+       12916
+   100.0000    
+       13021
+   100.0000    
+       13126
+   100.0000    
+       13231
+   100.0000    
+       13336

Copied: DART/trunk/models/cam/deprecated/run-pc.csh (from rev 6886, DART/trunk/models/cam/run-pc.csh)
===================================================================
--- DART/trunk/models/cam/deprecated/run-pc.csh	                        (rev 0)
+++ DART/trunk/models/cam/deprecated/run-pc.csh	2014-04-18 16:58:06 UTC (rev 6899)
@@ -0,0 +1,142 @@
+#!/bin/tcsh -f
+#
+# DART software - Copyright 2004 - 2013 UCAR. This open source software is
+# provided by UCAR, "as is", without charge, subject to all terms of use at
+# http://www.image.ucar.edu/DAReS/DART/DART_download
+#
+# DART $Id$
+#
+#  #td means code added to specify an arbitrary forecast duration
+#      using [START,STOP]_[YMD,TOD] passed as a -namelist argument
+
+#-----------------------------------------------------------------------
+## PC-linux
+##------------
+
+if ($#argv == 0) then
+   echo 'Usage:  run-pc.csh CASE MODEL PBS_O_WORKDIR, '
+   echo '        where the namelist is in ~raeder/CamPathRel/Caminput/CASE/namelist'
+   echo '        CASE and MODEL are set in setup_advance_model.csh'
+   echo '        and PBS_O_WORKDIR is passed from advance_ens.csh'
+   exit
+endif
+
+## nthreads is the number of Open-MP threads.  On the PC we assume a 
+## pure shared-memory configuration which assigns 1 thread per processor.
+set nthreads = 2
+
+## Do our best to get sufficient stack memory
+limit stacksize unlimited
+
+## ROOT OF CAM DISTRIBUTION - probably needs to be customized.
+## Contains the source code for the CAM distribution.
+## (the root directory contains the subdirectory "models")
+# original; set camroot      = /fs/cgd/data0/$LOGNAME/cam2.0.1
+# PWD should be tempdir#, which resides under cam_test, along with cam2.0.1
+set camroot      = $2
+# set camroot      = $model
+
+## Default namelist settings:
+## $case is the case identifier for this run. It will be placed in the namelist.
+## $runtype is the run type: initial, restart, or branch.
+# initialize the datasets for iteration by starting with standard CAM data 
+# in namelist ~raeder/CamPathRel/Caminput/${case}/namelist0, 
+# (but use case = $case, no '0'; must move namelists around)
+
+set case         = $1
+set runtype      = initial
+set relocate     = ' '
+# set relocate     = "-fflags '-Kpic -Bstatic'"
+
+# work directory (on anchorage, not nodes) where filter is run
+set PBS_O_WORKDIR = $3
+
+## ROOT OF CAM DATA DISTRIBUTION - needs to be customized unless running at NCAR.
+## Contains the initial and boundary data for the CAM distribution.
+## (the root directory contains the subdirectories "atm" and "lnd")
+# Orig setenv CSMDATA     /fs/cgd/csm/inputdata
+# in DART caminput and clminput need to be saved for each "element" of
+# the ensemble, but only when running them in parallel.
+# For now keep caminput.nc and clminput.nc in 'cam_test'.
+# not 'cam_test/tempdir#'
+
+setenv CSMDATA     $PWD
+
+## $wrkdir is a working directory where the model will be built and run.
+## $blddir is the directory where model will be compiled.
+## $rundir is the directory where the model will be run.
+## $cfgdir is the directory containing the CAM configuration scripts.
+set wrkdir       = $PWD
+set blddir       = $wrkdir/bld
+set rundir       = $wrkdir
+set cfgdir       = $camroot/models/atm/cam/bld
+
+## Ensure that run and build directories exist
+# mkdir -p $rundir                || echo "cannot create $rundir" && exit 1
+mkdir -p $blddir                || echo "cannot create $blddir" && exit 1
+
+## If an executable doesn't exist, build one.
+if ( ! -x $blddir/cam ) then
+    if ( -x $PBS_O_WORKDIR/$cfgdir/cam ) then
+       cp $PBS_O_WORKDIR/$cfgdir/cam $blddir/cam
+       cp $PBS_O_WORKDIR/$cfgdir/config_cache.xml $blddir/config_cache.xml
+    else
+# This will be somewhat inefficient when running on multiple nodes;
+# recompiling for each element of the first batch
+# But this will be fixed (most of the time) when iteration 0 run of cam
+# is installed in advance_init.csh(?)
+       cd $blddir                  || echo "cd $blddir failed" && exit 1
+       echo 'configuring CAM for case '$case 
+#      config_cache_defaults is hard-wired into configure; -defaults doesn't change it
+#         so copy the defaults file I want into the name configure needs
+       $PBS_O_WORKDIR/$cfgdir/configure -nosmp $relocate  \
+            || echo "configure failed" && exit 1
+       echo "building CAM in $blddir ..." 
+       rm -f Depends
+       gmake -j2 >&! MAKE.out      || echo "CAM build failed: see $blddir/MAKE.out" && exit 1
+       echo "finished gmake of bld ..."
+# store compiled cam for other "elements" in cam_async.csh
+       cp $blddir/cam $PBS_O_WORKDIR/$cfgdir/cam
+       cp $blddir/config_cache.xml $PBS_O_WORKDIR/$cfgdir/config_cache.xml
+    endif
+endif
+
+#td added -namelist argument
+## read in start and end dates and times
+set times = `cat $PBS_O_WORKDIR/times`
+echo $times
+
+## Create the namelist
+cd $blddir                      || echo "cd $blddir failed" && exit 1
+echo "build-namelist ..."
+$PBS_O_WORKDIR/$cfgdir/build-namelist -v 2 -case $case -runtype $runtype \
+  -o $rundir/namelist -infile $PBS_O_WORKDIR/namelistin \
+  -namelist "&camexp START_YMD=$times[3] START_TOD=$times[4] \
+                     STOP_YMD=$times[1] STOP_TOD=$times[2] NHTFRQ=$times[5] /" \
+  || echo "build-namelist failed" && exit 1
+cp $rundir/namelist /scratch/cluster/raeder/SPMD/namelisttemp
+#td added -namelist argument
+# before move to CamPathRel;  -infile ../../$cfgdir/$case.nl \
+# my namelist input   
+echo "finished build-namelist ..."
+
+## Run CAM
+cd $rundir                      || echo "cd $rundir failed" && exit 1
+echo "running CAM in $rundir"
+env OMP_NUM_TASKS=$nthreads MPSTKZ="128M" $blddir/cam < namelist  || echo "CAM run failed" && exit 1
+
+# Iter; these are in the run directory;
+ls -l *.i.*
+mv *cam2.i.* $wrkdir/caminput.nc
+mv *clm2.i.* $wrkdir/clminput.nc
+rm *.h* *.r*
+echo ' '
+ls -l *input*
+
+exit 0
+
+# <next few lines under version control, do not edit>
+# $URL$
+# $Revision$
+# $Date$
+

Deleted: DART/trunk/models/cam/do_id_set_def_stdin.f90
===================================================================
--- DART/trunk/models/cam/do_id_set_def_stdin.f90	2014-04-17 21:21:27 UTC (rev 6898)
+++ DART/trunk/models/cam/do_id_set_def_stdin.f90	2014-04-18 16:58:06 UTC (rev 6899)
@@ -1,35 +0,0 @@
-! DART software - Copyright 2004 - 2013 UCAR. This open source software is
-! provided by UCAR, "as is", without charge, subject to all terms of use at
-! http://www.image.ucar.edu/DAReS/DART/DART_download
-!
-! $Id$
-
-program main
-
-implicit none
-
-! version controlled file description for error handling, do not edit
-character(len=256), parameter :: source   = &
-   "$URL$"
-character(len=32 ), parameter :: revision = "$Revision$"
-character(len=128), parameter :: revdate  = "$Date$"
-
-integer :: i
-integer, parameter :: interval = 105
-
-write(*, *) 'set_def.out'
-write(*, *) 1
-write(*, *) 13440 / interval
-
-do i = 1, 13440, interval
-   write(*, *) 100.0
-   write(*, *) i
-end do
-
-end program main
-
-! <next few lines under version control, do not edit>
-! $URL$
-! $Id$
-! $Revision$
-! $Date$

Deleted: DART/trunk/models/cam/id_obs_stdin
===================================================================
--- DART/trunk/models/cam/id_obs_stdin	2014-04-17 21:21:27 UTC (rev 6898)
+++ DART/trunk/models/cam/id_obs_stdin	2014-04-18 16:58:06 UTC (rev 6899)
@@ -1,259 +0,0 @@
- set_def.out
-           1
-         128
-   100.0000    
-           1
-   100.0000    
-         106
-   100.0000    
-         211
-   100.0000    
-         316
-   100.0000    
-         421
-   100.0000    
-         526
-   100.0000    
-         631
-   100.0000    
-         736
-   100.0000    
-         841
-   100.0000    
-         946
-   100.0000    
-        1051
-   100.0000    
-        1156
-   100.0000    
-        1261
-   100.0000    
-        1366
-   100.0000    
-        1471
-   100.0000    
-        1576
-   100.0000    
-        1681
-   100.0000    
-        1786
-   100.0000    
-        1891
-   100.0000    
-        1996
-   100.0000    
-        2101
-   100.0000    
-        2206
-   100.0000    
-        2311
-   100.0000    
-        2416
-   100.0000    
-        2521
-   100.0000    
-        2626
-   100.0000    
-        2731
-   100.0000    
-        2836
-   100.0000    
-        2941
-   100.0000    
-        3046
-   100.0000    
-        3151
-   100.0000    
-        3256
-   100.0000    
-        3361
-   100.0000    
-        3466
-   100.0000    
-        3571
-   100.0000    
-        3676
-   100.0000    
-        3781
-   100.0000    
-        3886
-   100.0000    
-        3991
-   100.0000    
-        4096
-   100.0000    
-        4201
-   100.0000    
-        4306
-   100.0000    
-        4411
-   100.0000    
-        4516
-   100.0000    
-        4621
-   100.0000    
-        4726
-   100.0000    
-        4831
-   100.0000    
-        4936
-   100.0000    
-        5041
-   100.0000    
-        5146
-   100.0000    
-        5251
-   100.0000    
-        5356
-   100.0000    
-        5461
-   100.0000    
-        5566
-   100.0000    
-        5671
-   100.0000    
-        5776
-   100.0000    
-        5881
-   100.0000    
-        5986
-   100.0000    
-        6091
-   100.0000    
-        6196
-   100.0000    
-        6301
-   100.0000    
-        6406
-   100.0000    
-        6511
-   100.0000    
-        6616
-   100.0000    
-        6721
-   100.0000    
-        6826
-   100.0000    
-        6931
-   100.0000    
-        7036
-   100.0000    
-        7141
-   100.0000    
-        7246
-   100.0000    
-        7351
-   100.0000    
-        7456
-   100.0000    
-        7561
-   100.0000    
-        7666
-   100.0000    
-        7771
-   100.0000    
-        7876
-   100.0000    
-        7981
-   100.0000    
-        8086
-   100.0000    
-        8191
-   100.0000    
-        8296
-   100.0000    
-        8401
-   100.0000    
-        8506
-   100.0000    
-        8611
-   100.0000    
-        8716
-   100.0000    
-        8821
-   100.0000    
-        8926
-   100.0000    
-        9031
-   100.0000    
-        9136
-   100.0000    
-        9241
-   100.0000    
-        9346
-   100.0000    
-        9451
-   100.0000    
-        9556
-   100.0000    
-        9661
-   100.0000    
-        9766
-   100.0000    
-        9871
-   100.0000    
-        9976
-   100.0000    
-       10081
-   100.0000    
-       10186
-   100.0000    
-       10291
-   100.0000    
-       10396
-   100.0000    
-       10501
-   100.0000    
-       10606
-   100.0000    
-       10711
-   100.0000    
-       10816
-   100.0000    
-       10921
-   100.0000    
-       11026
-   100.0000    
-       11131
-   100.0000    
-       11236
-   100.0000    
-       11341
-   100.0000    
-       11446
-   100.0000    
-       11551
-   100.0000    
-       11656
-   100.0000    
-       11761
-   100.0000    
-       11866
-   100.0000    
-       11971
-   100.0000    
-       12076
-   100.0000    
-       12181
-   100.0000    
-       12286
-   100.0000    
-       12391
-   100.0000    
-       12496
-   100.0000    
-       12601
-   100.0000    
-       12706
-   100.0000    
-       12811
-   100.0000    
-       12916
-   100.0000    
-       13021
-   100.0000    
-       13126
-   100.0000    
-       13231
-   100.0000    
-       13336

Deleted: DART/trunk/models/cam/run-pc.csh
===================================================================
--- DART/trunk/models/cam/run-pc.csh	2014-04-17 21:21:27 UTC (rev 6898)
+++ DART/trunk/models/cam/run-pc.csh	2014-04-18 16:58:06 UTC (rev 6899)
@@ -1,142 +0,0 @@
-#!/bin/tcsh -f
-#
-# DART software - Copyright 2004 - 2013 UCAR. This open source software is
-# provided by UCAR, "as is", without charge, subject to all terms of use at
-# http://www.image.ucar.edu/DAReS/DART/DART_download
-#
-# DART $Id$
-#
-#  #td means code added to specify an arbitrary forecast duration
-#      using [START,STOP]_[YMD,TOD] passed as a -namelist argument
-
-#-----------------------------------------------------------------------
-## PC-linux
-##------------
-
-if ($#argv == 0) then
-   echo 'Usage:  run-pc.csh CASE MODEL PBS_O_WORKDIR, '
-   echo '        where the namelist is in ~raeder/CamPathRel/Caminput/CASE/namelist'
-   echo '        CASE and MODEL are set in setup_advance_model.csh'
-   echo '        and PBS_O_WORKDIR is passed from advance_ens.csh'
-   exit
-endif
-
-## nthreads is the number of Open-MP threads.  On the PC we assume a 
-## pure shared-memory configuration which assigns 1 thread per processor.
-set nthreads = 2
-
-## Do our best to get sufficient stack memory
-limit stacksize unlimited
-
-## ROOT OF CAM DISTRIBUTION - probably needs to be customized.
-## Contains the source code for the CAM distribution.
-## (the root directory contains the subdirectory "models")
-# original; set camroot      = /fs/cgd/data0/$LOGNAME/cam2.0.1
-# PWD should be tempdir#, which resides under cam_test, along with cam2.0.1
-set camroot      = $2
-# set camroot      = $model
-
-## Default namelist settings:
-## $case is the case identifier for this run. It will be placed in the namelist.
-## $runtype is the run type: initial, restart, or branch.
-# initialize the datasets for iteration by starting with standard CAM data 
-# in namelist ~raeder/CamPathRel/Caminput/${case}/namelist0, 
-# (but use case = $case, no '0'; must move namelists around)
-
-set case         = $1
-set runtype      = initial
-set relocate     = ' '
-# set relocate     = "-fflags '-Kpic -Bstatic'"
-
-# work directory (on anchorage, not nodes) where filter is run
-set PBS_O_WORKDIR = $3
-
-## ROOT OF CAM DATA DISTRIBUTION - needs to be customized unless running at NCAR.
-## Contains the initial and boundary data for the CAM distribution.
-## (the root directory contains the subdirectories "atm" and "lnd")
-# Orig setenv CSMDATA     /fs/cgd/csm/inputdata
-# in DART caminput and clminput need to be saved for each "element" of
-# the ensemble, but only when running them in parallel.
-# For now keep caminput.nc and clminput.nc in 'cam_test'.
-# not 'cam_test/tempdir#'
-
-setenv CSMDATA     $PWD
-
-## $wrkdir is a working directory where the model will be built and run.
-## $blddir is the directory where model will be compiled.
-## $rundir is the directory where the model will be run.
-## $cfgdir is the directory containing the CAM configuration scripts.
-set wrkdir       = $PWD
-set blddir       = $wrkdir/bld
-set rundir       = $wrkdir
-set cfgdir       = $camroot/models/atm/cam/bld
-
-## Ensure that run and build directories exist
-# mkdir -p $rundir                || echo "cannot create $rundir" && exit 1
-mkdir -p $blddir                || echo "cannot create $blddir" && exit 1
-
-## If an executable doesn't exist, build one.
-if ( ! -x $blddir/cam ) then
-    if ( -x $PBS_O_WORKDIR/$cfgdir/cam ) then
-       cp $PBS_O_WORKDIR/$cfgdir/cam $blddir/cam
-       cp $PBS_O_WORKDIR/$cfgdir/config_cache.xml $blddir/config_cache.xml
-    else
-# This will be somewhat inefficient when running on multiple nodes;
-# recompiling for each element of the first batch
-# But this will be fixed (most of the time) when iteration 0 run of cam
-# is installed in advance_init.csh(?)
-       cd $blddir                  || echo "cd $blddir failed" && exit 1
-       echo 'configuring CAM for case '$case 
-#      config_cache_defaults is hard-wired into configure; -defaults doesn't change it
-#         so copy the defaults file I want into the name configure needs
-       $PBS_O_WORKDIR/$cfgdir/configure -nosmp $relocate  \
-            || echo "configure failed" && exit 1
-       echo "building CAM in $blddir ..." 
-       rm -f Depends
-       gmake -j2 >&! MAKE.out      || echo "CAM build failed: see $blddir/MAKE.out" && exit 1
-       echo "finished gmake of bld ..."
-# store compiled cam for other "elements" in cam_async.csh
-       cp $blddir/cam $PBS_O_WORKDIR/$cfgdir/cam
-       cp $blddir/config_cache.xml $PBS_O_WORKDIR/$cfgdir/config_cache.xml
-    endif
-endif
-
-#td added -namelist argument
-## read in start and end dates and times
-set times = `cat $PBS_O_WORKDIR/times`
-echo $times
-
-## Create the namelist
-cd $blddir                      || echo "cd $blddir failed" && exit 1
-echo "build-namelist ..."
-$PBS_O_WORKDIR/$cfgdir/build-namelist -v 2 -case $case -runtype $runtype \
-  -o $rundir/namelist -infile $PBS_O_WORKDIR/namelistin \
-  -namelist "&camexp START_YMD=$times[3] START_TOD=$times[4] \
-                     STOP_YMD=$times[1] STOP_TOD=$times[2] NHTFRQ=$times[5] /" \
-  || echo "build-namelist failed" && exit 1
-cp $rundir/namelist /scratch/cluster/raeder/SPMD/namelisttemp
-#td added -namelist argument
-# before move to CamPathRel;  -infile ../../$cfgdir/$case.nl \
-# my namelist input   
-echo "finished build-namelist ..."
-
-## Run CAM
-cd $rundir                      || echo "cd $rundir failed" && exit 1
-echo "running CAM in $rundir"
-env OMP_NUM_TASKS=$nthreads MPSTKZ="128M" $blddir/cam < namelist  || echo "CAM run failed" && exit 1
-
-# Iter; these are in the run directory;
-ls -l *.i.*
-mv *cam2.i.* $wrkdir/caminput.nc
-mv *clm2.i.* $wrkdir/clminput.nc
-rm *.h* *.r*
-echo ' '
-ls -l *input*
-
-exit 0
-
-# <next few lines under version control, do not edit>
-# $URL$
-# $Revision$
-# $Date$
-


More information about the Dart-dev mailing list