[Dart-dev] DART/branches Revision: 12951
dart at ucar.edu
dart at ucar.edu
Fri Jan 4 15:52:42 MST 2019
thoar at ucar.edu
2019-01-04 15:52:42 -0700 (Fri, 04 Jan 2019)
210
After the setup finished, I changed CASEROOT:input.nml num_output_obs_members = 70 and submitted.
This ran the initial cycle just fine. I changed CONTINUE_RUN to TRUE, and the second cycle also ran.
Success!!
Modified: DART/branches/recam/models/cam-fv/shell_scripts/cesm2_1/setup_netcdf_test
===================================================================
--- DART/branches/recam/models/cam-fv/shell_scripts/cesm2_1/setup_netcdf_test 2019-01-04 21:12:52 UTC (rev 12950)
+++ DART/branches/recam/models/cam-fv/shell_scripts/cesm2_1/setup_netcdf_test 2019-01-04 22:52:42 UTC (rev 12951)
@@ -10,8 +10,9 @@
# it takes longer than is allowed for an interactive job.
# In that case, it can be run as a batch job using the directives below,
# or using a command like qcmd.
-
+#
#--------------------------------------------
+#
# The job name should be the name of this script(file),
# or this file may not be archived in $caseroot causing DART_config to fail.
# Resources I want:
@@ -18,8 +19,8 @@
# select=#nodes
# ncpus=#CPUs/node
# mpiprocs=#MPI_tasks/node
-
-#PBS -N setup_netcdf
+#
+#PBS -N setup_netcdf_test
#PBS -A P86850054
#PBS -q share
#PBS -l select=1:ncpus=4:mpiprocs=4
@@ -28,8 +29,6 @@
#PBS -M thoar at ucar.edu
#PBS -o CESM2_1_80_netcdf.bld0
#PBS -j oe
-
-#*******************************************************************************
#
# ---------------------
# Purpose
@@ -643,7 +642,8 @@
echo 'Ignore "WARNING:: mosart.buildnml . . .". Those files will be provided later'
echo 'Before case.setup, modules are'
-/glade/u/apps/ch/opt/lmod/7.5.3/lmod/lmod/libexec/lmod list
+source /etc/profile.d/modules.csh
+module list
./case.setup
@@ -659,7 +659,7 @@
# Preserve a copy of this script as it was run.
if ($?LSB_JOBNAME) then
# This only works if the job name in the BSUB or PBS directives
- # is the name of this script.
+ # is the name of this script. Cannot figure out another way to do this.
setenv setup_file_name $LSB_JOBNAME
else if ($?PBS_JOBNAME) then
setenv setup_file_name $PBS_JOBNAME
@@ -666,11 +666,12 @@
else
setenv setup_file_name $0:t
endif
-
-if ($COPYV == "FALSE") \
- echo "Copying ${DART_CESM_scripts}/$setup_file_name ${setup_file_name}.original"
${COPY} -f ${DART_CESM_scripts}/$setup_file_name ${setup_file_name}.original
+#TJH question: does this not work all the time
+#set ThisFileName = $0:t
+#${COPY} $ThisFileName ${caseroot}/${ThisFileName}.original
+
# Define how often sets of restart files will be archived,
# in order to conserve disk space during a multi-cycle job.
setenv save_every_Mth_day_restart 3
@@ -714,7 +715,7 @@
-e '/ptile/c/#BSUB -R "span[ptile=1]"' \
case.st_archive >! temp.$$ || exit 55
${MOVE} temp.$$ case.st_archive
- ./xmlchange --file env_batch.xml --subgroup case.st_archive --id JOB_QUEUE --val caldera
+ ./xmlchange --subgroup case.st_archive --id JOB_QUEUE --val caldera
else if ($?PBS_JOBNAME) then
# It would be nice to put the $PBS_JOBID value into the job name and st err/out file names,
@@ -725,12 +726,12 @@
-e "/\-N /a\#PBS -o ./${case}.st_arch.stdouterr" \
case.st_archive >! temp.$$ || exit 55
${MOVE} temp.$$ case.st_archive
- ./xmlchange --file env_batch.xml --subgroup case.st_archive --id JOB_QUEUE --val share
+ ./xmlchange --subgroup case.st_archive --id JOB_QUEUE --val share
endif
chmod 755 case.st_archive
-./xmlchange --file env_batch.xml --subgroup case.st_archive --id JOB_WALLCLOCK_TIME --val 1:00
+./xmlchange --subgroup case.st_archive --id JOB_WALLCLOCK_TIME --val 1:00
# ==============================================================================
# Modify namelist templates for each instance.
@@ -893,7 +894,7 @@
# echo " solar_data_file = '${cesmdata}/atm/cam/solar/spectral_irradiance_Lean_1610-2140_ann_c100408.nc'" >> ${fname}
# endif
-# ===========================================================================
+ # ===========================================================================
set fname = "user_nl_clm${inst_string}"
More information about the Dart-dev
mailing list