[Dart-dev] DART/branches Revision: 12455
dart at ucar.edu
dart at ucar.edu
Tue Mar 20 07:11:20 MDT 2018
thoar at ucar.edu
2018-03-20 07:11:20 -0600 (Tue, 20 Mar 2018)
552
CLM5_setup_spinup is working - but it is using netcdf, not pnetcdf since pnetcdf crashes
because the finidat interpolation filename is not multi-instance friendly. Don't know
why, but netcdf seems to not crash - it is a reported bug.
CESM2_0_setup_hybrid starts from restart files that do not need to be interpolated,
so it can use pnetcdf. I am using it to test if you can run-time switch between
pnetcdf and netcdf. If possible, I'd like to change the continuation runs of the
spinup to use pnetcdf since those runs do not need to be interpolated.
Modified: DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_hybrid
===================================================================
--- DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_hybrid 2018-03-19 21:16:09 UTC (rev 12454)
+++ DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CESM2_0_setup_hybrid 2018-03-20 13:11:20 UTC (rev 12455)
@@ -27,11 +27,10 @@
# incorporate any needed changes into this script.
# ==============================================================================
-setenv CASE clm5_hybrid
-setenv resolution f09_g16
-setenv compset I2000Clm50BgcCrop
+setenv CASE clm5_hybrid_e4
+setenv resolution f09_f09
setenv compset 2000_DATM%GSWP3v1_CLM50%BGC-CROP_SICE_SOCN_MOSART_SGLC_SWAV
-setenv cesmtag clm_dev_branch
+setenv cesmtag ctsm
setenv num_instances 4
# ==============================================================================
@@ -89,13 +88,11 @@
# startdate The date used as the starting date for the hybrid run.
# ==============================================================================
-setenv refcase agu_startup_CLM50BGCC_20e
-setenv refyear 2000
+setenv refcase clm5_f09_spinup80
+setenv refyear 1999
setenv refmon 01
setenv refday 01
setenv reftod 00000
-
-# useful combinations of time that we use below
setenv refdate $refyear-$refmon-$refday
setenv reftimestamp $refyear-$refmon-$refday-$reftod
@@ -113,7 +110,7 @@
# less than 10 minutes on yellowstone using 1800 pes (120 nodes)
# ==============================================================================
-setenv queue premium
+setenv queue economy
setenv timewall 0:20
setenv short_term_archiver off
@@ -227,7 +224,7 @@
setenv CIMEROOT `./xmlquery CIMEROOT --value`
setenv CASEROOT `./xmlquery CASEROOT --value`
-# Make sure the case is configured with a data ocean.
+# Make sure the case is configured with a stub ocean and a data atmosphere.
if ( (${COMP_OCN} != socn) || (${COMP_ATM} != datm) ) then
echo " "
@@ -294,7 +291,7 @@
./xmlchange RUN_STARTDATE=${startdate}
# pnetcdf is default
-./xmlchange PIO_TYPENAME=netcdf
+./xmlchange PIO_TYPENAME=pnetcdf
# Task layout:
# Set the nodes_per_instance below to match your case.
@@ -348,8 +345,8 @@
# DEBUG = TRUE implies turning on run and compile time debugging.
# INFO_DBUG level of debug output, 0=minimum, 1=normal, 2=more, 3=too much.
-./xmlchange DEBUG=TRUE
-./xmlchange INFO_DBUG=2
+./xmlchange DEBUG=FALSE
+./xmlchange INFO_DBUG=0
# ==============================================================================
# Modify namelist templates for each instance.
@@ -393,7 +390,7 @@
foreach FNAME ( user_datm.streams.txt*${inst_string} )
echo "modifying $FNAME"
- sed s/NINST/${inst_string}/g $FNAME >! temp
+ sed s/_NINST/${inst_string}/g $FNAME >! temp
sed s/RUNYEAR/${stream_year_first}/g temp >! $FNAME
end
${REMOVE} temp
@@ -402,6 +399,8 @@
set fname = "user_nl_clm${inst_string}"
# ===========================================================================
+# set finidat_name = "finidat${inst_string}_interp_dest.nc"
+
echo "hist_empty_htapes = .true." >> ${fname}
echo "hist_fincl1 = 'NEP','TOTECOSYSC','TOTVEGC','TLAI'" >> ${fname}
echo "hist_fincl2 = 'NEP','FSH','EFLX_LH_TOT_R'" >> ${fname}
@@ -412,6 +411,7 @@
echo "hist_dov2xy = .true.,.true.,.false." >> ${fname}
echo "hist_type1d_pertape = ' ',' ',' '" >> ${fname}
echo "dtime = $clm_dtime" >> ${fname}
+# echo "finidat_interp_dest = $finidat_name' >> ${fname}
@ inst ++
end
Modified: DART/branches/cesm_clm/models/clm/shell_scripts/cesm2_0/CLM5_setup_spinup
More information about the Dart-dev
mailing list