[Dart-dev] DART/branches Revision: 13103

dart at ucar.edu dart at ucar.edu
Tue Apr 9 14:46:23 MDT 2019


raeder at ucar.edu
2019-04-09 14:46:23 -0600 (Tue, 09 Apr 2019)
633
Added slurm directives.
Moved execution of the creation of obs.list to the output_dir section,
so that the file names will be created in the right form.
Set date span of the plotting to be 00Z of the final day.
Added path name of $DART/diagnostics/matlab to the script.m which is created.
Added comment about starting Matlab with access to the NetCDF interface.
Added diagnostic output.
Fixed typos and minor errors.

It runs as an independent batch job under slurm on casper 
and creates the desired pictures of the contents of obs_diag_output.nc.
The output has not been carefully evaluated yet.
The script has not been reviewed.




Modified: DART/branches/reanalysis/models/cam-fv/shell_scripts/cesm2_1/obs_diags.csh
===================================================================
--- DART/branches/reanalysis/models/cam-fv/shell_scripts/cesm2_1/obs_diags.csh	2019-04-05 19:56:38 UTC (rev 13102)
+++ DART/branches/reanalysis/models/cam-fv/shell_scripts/cesm2_1/obs_diags.csh	2019-04-09 20:46:23 UTC (rev 13103)
@@ -1,34 +1,5 @@
 #!/bin/tcsh
 
-#BSUB -n 1
-#BSUB -R "span[ptile=1]"
-#BSUB -W 1:30
-#BSUB -q casper
-#BSUB -P P86850054
-#BSUB -N
-#BSUB -u raeder at ucar.edu
-#BSUB -o obs_diags.%J
-#BSUB -e obs_diags.%J
-#BSUB -J obs_diags
-#-----------------------------------------
-#PBS  -N obs_diags
-#PBS  -A P86850054
-#PBS  -q casper
-# Resources I want:
-#    select=#nodes
-#    ncpus=#CPUs/node
-#    mpiprocs=#MPI_tasks/node
-#PBS  -l select=1:ncpus=1:mpiprocs=1
-#PBS  -l walltime=02:00:00
-# Send email after a(bort) or e(nd)
-#PBS  -m ae
-#PBS  -M raeder at ucar.edu
-# Send standard output and error to this file.
-# It's helpful to use the $casename here.
-#PBS  -o obs_diags.eo
-#PBS  -j oe 
-#--------------------------------------------
-
 # 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
@@ -43,12 +14,70 @@
 # because it can take longer than is allowed on many systems' login nodes. 
 # It can be run interactively for smaller jobs.
 
+# Make sure that Matlab has access to the NetCDF toolbox.
+# This can be accomplished by putting the script 
+# $DART/diagnostics/matlab/startup.m  into  ~/matlab/startup.m
+
+#-----------------------------------------
+# Submitting the job to casper (or other NCAR DAV clusters?) requires using slurm.
+
+# Important things to know about slurm:
+#
+# sinfo     information about the whole slurm system
+# squeue    information about running jobs
+# sbatch    submitting a job
+# scancel   killing a job
+#
+#==========================================================================
+#
+#SBATCH --job-name=obs_diags
+#SBATCH --ntasks=1 
+#SBATCH --time=01:00:00
+#SBATCH --mail-type=END
+#SBATCH --mail-type=FAIL
+#SBATCH --mail-user=raeder at ucar.edu
+#SBATCH --account=P86850054
+#SBATCH --partition=dav
+# 
+# #----------------------------------------------------------------------
+# #BSUB -n 1
+# #BSUB -R "span[ptile=1]"
+# #BSUB -W 1:30
+# #BSUB -q share
+# #BSUB -P P86850054
+# #BSUB -N
+# #BSUB -u raeder at ucar.edu
+# #BSUB -o obs_diags.%J
+# #BSUB -e obs_diags.%J
+# #BSUB -J obs_diags
+# #-----------------------------------------
+# #PBS  -N obs_diags
+# #PBS  -A P86850054
+# #PBS  -q share
+# # Resources I want:
+# #    select=#nodes
+# #    ncpus=#CPUs/node
+# #    mpiprocs=#MPI_tasks/node
+# #PBS  -l select=1:ncpus=1:mpiprocs=1
+# #PBS  -l walltime=02:00:00
+# # Send email after a(bort) or e(nd)
+# #PBS  -m ae
+# #PBS  -M raeder at ucar.edu
+# # Send standard output and error to this file.
+# # It's helpful to use the $casename here.
+# #PBS  -o obs_diags.eo
+# #PBS  -j oe 
+# #--------------------------------------------
+
+module list
+
 if ($#argv == 0) then


More information about the Dart-dev mailing list