[Dart-dev] DART/branches Revision: 12893

dart at ucar.edu dart at ucar.edu
Wed Oct 3 09:13:15 MDT 2018


thoar at ucar.edu
2018-10-03 09:13:15 -0600 (Wed, 03 Oct 2018)
47
Renamed to run_filter_experiment.csh.template




Deleted: DART/branches/rma_wrfHydro/models/wrf_hydro/shell_scripts/run_filter.csh.template
===================================================================
--- DART/branches/rma_wrfHydro/models/wrf_hydro/shell_scripts/run_filter.csh.template	2018-10-03 14:57:39 UTC (rev 12892)
+++ DART/branches/rma_wrfHydro/models/wrf_hydro/shell_scripts/run_filter.csh.template	2018-10-03 15:13:15 UTC (rev 12893)
@@ -1,284 +0,0 @@
-#!/bin/tcsh
-#
-# 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: $
-#
-# Things to note: several strings are intended to be replaced when this
-# template gets copied and ultimately submitted. 
-#
-# We REQUIRE (at this point, at least 2 domains are being used).
-# This has ramifications on the inflation file names.
-#==========================================================================
-# SLURM directives                      sbatch advance_ensemble.csh
-#                                       squeue -u $USER
-#                                       scancel <jobnumber>
-#SBATCH --ignore-pbs
-#SBATCH --job-name=filter
-#SBATCH --output=filter-%A.log
-#SBATCH --error=filter-%A.err
-#SBATCH --ntasks=48
-#SBATCH --ntasks-per-node=16
-#SBATCH --time=00:30:00
-#SBATCH --error=filter-%A.err
-#SBATCH --output=filter-%A.log
-#
-#==========================================================================
-# PBS directives                        qsub test_batch.csh
-#                                       qstat -u $USER
-#                                       qdel <jobnumber>
-#PBS -N filter
-#PBS -e filter.err
-#PBS -o filter.log
-#PBS -l select=1:ncpus=36:mpiprocs=36
-#PBS -l walltime=00:10:00
-#PBS -A NRAL0017
-#PBS -q regular
-#PBS -m abe
-#PBS -M ${USER}@ucar.edu
-##PBS -r n
-
-#
-#==========================================================================
-
-if ($?SLURM_JOB_ID) then
-
-   set ORIGINALDIR = $SLURM_SUBMIT_DIR
-   set     JOBNAME = $SLURM_JOB_NAME
-   set       JOBID = $SLURM_JOBID
-   set     MYQUEUE = $SLURM_JOB_PARTITION
-   set      MYHOST = $SLURM_SUBMIT_HOST
-   set   LAUNCHCMD = "mpirun -np $SLURM_NTASKS -bind-to core"
-   set      SUBMIT = sbatch
-
-else if ($?PBS_O_WORKDIR) then
-
-   set ORIGINALDIR = $PBS_O_WORKDIR
-   set     JOBNAME = $PBS_JOBNAME
-   set       JOBID = $PBS_JOBID
-   set      MYHOST = $PBS_O_HOST
-   set     MYQUEUE = $PBS_QUEUE
-   set   LAUNCHCMD = "mpiexec_mpt"
-   set      SUBMIT = qsub
-
-else
-
-   set ORIGINALDIR = `pwd`
-   set     JOBNAME = hydro_filter
-   set       JOBID = $$
-   set     MYQUEUE = Interactive
-   set      MYHOST = `hostname`
-   set   LAUNCHCMD = "aprun -n 1"
-   set      SUBMIT = ''
-
-endif
-
-#--------------------------------------------------------------------------
-# Just an echo of job attributes
-#--------------------------------------------------------------------------
-
-echo
-echo "${JOBNAME} (${JOBID}) submit directory ${ORIGINALDIR}"
-echo "${JOBNAME} (${JOBID}) submit      host ${MYHOST}"
-echo "${JOBNAME} (${JOBID}) running in queue ${MYQUEUE}"
-echo "${JOBNAME} (${JOBID}) started at "`date`
-echo
-
-cd EXPERIMENT_DIRECTORY
-
-#==========================================================================
-# STEP 1: Observation processing
-# Get the observation sequence file and link to the expected name or die.
-# Grab the YYYY-MM-DD_hh:mm of interest 2013-06-01_15:00
-# Possibly subset the DART observation sequence file
-#==========================================================================


More information about the Dart-dev mailing list