[Dart-dev] DART/branches Revision: 12382

dart at ucar.edu dart at ucar.edu
Mon Jan 29 11:44:21 MST 2018


thoar at ucar.edu
2018-01-29 11:44:19 -0700 (Mon, 29 Jan 2018)
307
Renaming files that must be modified as template files.
Removing the execute permission because these files cannot be
executed until AFTER they have has several strings replaced
by the setup scripts.

Still trying to figure out which (if any) of the clm history
variables are causing the run-time failure.




Deleted: DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_DART_config
===================================================================
--- DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_DART_config	2018-01-29 18:19:50 UTC (rev 12381)
+++ DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_DART_config	2018-01-29 18:44:19 UTC (rev 12382)
@@ -1,323 +0,0 @@
-#!/bin/csh
-#
-# DART software - Copyright 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$
-
-# ---------------------
-# Purpose
-# ---------------------
-#
-# This script integrates DART with a pre-existing CESM multi-instance case.
-# It must be run from a valid CASEROOT directory. If the case was created
-# using one of the DART scripts, this script should be staged in the
-# CASEROOT directory automatically, and DARTROOT is set at that time.
-#
-# CLM is the only active model component.
-# CESM starts and stops to allow for CLM to assimilate every 24 hours.
-#
-# This script will build the DART executables if they are not found.
-#
-# ---------------------
-# How to set up the script
-# ---------------------
-#
-# -- Ensure DARTROOT references a valid DART directory.
-# -- Examine the whole script to identify things to change for your experiments.
-# -- Provide any initial files needed by your run:
-#       inflation
-#       sampling error correction
-# -- Run this script.
-# -- Edit the DART input.nml that appears in the ${CASEROOT} directory.
-# -- Submit the job using ${CASEROOT}/${CASE}.submit
-#
-# ==============================================================================
-# Get the environment of the case - defines number of instances/ensemble size ...
-# Each model component has their own number of instances.
-# ==============================================================================
-
-cd BOGUS_CASEROOT_STRING
-
-# OBSROOT  should reference the stockpile of observation sequence files.
-# DARTROOT should reference the base portion of the DART code tree.
-# Both of these should be set by the DART CESM setup script.
-
-setenv OBSROOT       BOGUS_DART_OBS_STRING
-setenv DARTROOT      BOGUS_DART_ROOT_STRING
-setenv EXEROOT       `./xmlquery EXEROOT   --value`
-setenv RUNDIR        `./xmlquery RUNDIR    --value`
-setenv CASEROOT      `./xmlquery CASEROOT  --value`
-setenv CASE          `./xmlquery CASE      --value`
-setenv STOP_N        `./xmlquery STOP_N    --value`
-setenv num_instances `./xmlquery NINST_LND --value`
-
-#>@todo ... if num_instances = 1, the we MUST be pmo ...
-
-# ==============================================================================
-# ==============================================================================
-
-# Now the script to be run is determined by
-# CESM's env_run.xml DATA_ASSIMILATION* variables.
-#
-# DATA_ASSIMILATION_CYCLES says how many cycles to run in each job before a RESUBMIT.
-# Set to 1 for the first cycle.
-# When the job (not each cycle) is finished the short_term archiver will run and,
-# if RESUBMIT > 0, resubmit a new case.run job.
-
-./xmlchange DATA_ASSIMILATION=TRUE
-./xmlchange DATA_ASSIMILATION_CYCLES=1
-./xmlchange DATA_ASSIMILATION_SCRIPT=${CASEROOT}/assimilate.csh
-
-# ==============================================================================
-# Some
-# ==============================================================================
-
-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"
-      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'
-
-   breaksw
-   default:
-      # NERSC "hopper", NWSC "yellowstone"
-      set   MOVE = '/bin/mv -fv'
-      set   COPY = '/bin/cp -fv --preserve=timestamps'
-      set   LINK = '/bin/ln -fvs'
-      set REMOVE = '/bin/rm -fr'


More information about the Dart-dev mailing list