[Dart-dev] DART/branches Revision: 12675

dart at ucar.edu dart at ucar.edu
Mon Jun 18 11:12:21 MDT 2018


raeder at ucar.edu
2018-06-18 11:12:21 -0600 (Mon, 18 Jun 2018)
98
Moving and renaming scripts which are used by cesm2_0/setup_*
to preserve the subversion history.



Deleted: DART/branches/recam/models/cam-fv/shell_scripts/DART_config
===================================================================
--- DART/branches/recam/models/cam-fv/shell_scripts/DART_config	2018-06-18 16:56:34 UTC (rev 12674)
+++ DART/branches/recam/models/cam-fv/shell_scripts/DART_config	2018-06-18 17:12:21 UTC (rev 12675)
@@ -1,351 +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 and some environment variables
-# must be set (as in cesm#_#/setup_XXX). 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.
-#
-# CAM is the only model component used for assimilation.
-# CESM starts and stops to allow for CAM to assimilate every 6 hours.
-#
-# This script will build the DART executables if they are not found.
-#
-# There are many CESM binary files in big-endian format, and DART reads
-# some of them, so you MUST compile DART accordingly e.g.,
-# ifort -convert big_endian
-# Contact dart at ucar.edu if you want to use another compiler.
-#
-# ---------------------
-# 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.
-# ==============================================================================
-
-echo "==================="
-echo "Starting DART_config"
-echo "==================="
-
-if ( ! -e ./xmlquery ) then
-   echo "ERROR: $0 must be run from a CASEROOT directory".
-   exit 1
-endif
-
-setenv CASE          `./xmlquery CASE           --value`
-setenv CASEROOT      `./xmlquery CASEROOT       --value`
-setenv COMPSET       `./xmlquery COMPSET   --value`
-setenv EXEROOT       `./xmlquery EXEROOT        --value`
-
-# DARTROOT is set by the DART CESM_configure scripts. Under certain
-# situations, you may need to set this manually. It should reference the
-# base portion of the DART code tree.
-
-setenv DARTROOT  BOGUS_DART_ROOT_STRING
-
-# ==============================================================================
-# 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", an IBM Linux machine.
-      set   MOVE = '/usr/local/bin/mv -fv'
-      set   COPY = '/usr/local/bin/cp -v --preserve=timestamps'
-      set   LINK = '/usr/local/bin/ln -fvs'
-      set REMOVE = '/usr/local/bin/rm -f'
-
-   breaksw
-   default:
-      # NERSC "hopper", NWSC "yellowstone"
-      # NWSC "cheyenne"; which cp am I getting?  ls -l /bin/cp yields
-      #       /bin/cp --> /usr/bin/cp
-      #    'man cp' yields a choice:
-      #       cp(1) which has --preserve, and 
-      #       cp(1p) which is some POSIX cp which doesn't have --preserve
-      set   MOVE = '/bin/mv -fv'
-      set   COPY = '/bin/cp -v --preserve=timestamps'
-      set   LINK = '/bin/ln -fvs'
-      set REMOVE = '/bin/rm -f'
-


More information about the Dart-dev mailing list