[Dart-dev] [6530] DART/trunk/models/cam/shell_scripts/CESM1_1_1_hybrid: The RTM stuff is not needed at all, so I removed it.

nancy at ucar.edu nancy at ucar.edu
Fri Oct 18 16:54:00 MDT 2013


Revision: 6530
Author:   thoar
Date:     2013-10-18 16:53:59 -0600 (Fri, 18 Oct 2013)
Log Message:
-----------
The RTM stuff is not needed at all, so I removed it.
There is a SourceMod that allows clm to create 'empty' history tapes
with one variable in them that does not bomb when CONTINUE_RUN = .true.
At the moment, I have not added src.clm2/histFileMod.F90   to the 
tar file on the web.

Modified Paths:
--------------
    DART/trunk/models/cam/shell_scripts/CESM1_1_1_hybrid

-------------- next part --------------
Modified: DART/trunk/models/cam/shell_scripts/CESM1_1_1_hybrid
===================================================================
--- DART/trunk/models/cam/shell_scripts/CESM1_1_1_hybrid	2013-10-18 21:24:33 UTC (rev 6529)
+++ DART/trunk/models/cam/shell_scripts/CESM1_1_1_hybrid	2013-10-18 22:53:59 UTC (rev 6530)
@@ -463,6 +463,7 @@
 
 # The river transport model ON is useful only when using an active ocean or
 # land surface diagnostics. Setting ROF_GRID, RTM_MODE to 'null' turns off the RTM.
+# If you turn it ON, you will have to stage initial files etc.
 
 ./xmlchange ROF_GRID='null'
 ./xmlchange RTM_MODE='NULL'
@@ -555,10 +556,6 @@
       ${MOVE} ${caseroot}/Buildconf/clm.buildnml.csh \
               ${caseroot}/Buildconf/clm.buildnml.csh.original
    endif
-   if ( ! -e  ${caseroot}/Buildconf/rtm.buildnml.csh.original ) then
-      ${MOVE} ${caseroot}/Buildconf/rtm.buildnml.csh \
-              ${caseroot}/Buildconf/rtm.buildnml.csh.original
-   endif
    if ( ! -e  ${caseroot}/preview_namelists.original ) then
       ${MOVE} ${caseroot}/preview_namelists \
               ${caseroot}/preview_namelists.original
@@ -566,7 +563,6 @@
 
    # patch/replace the broken files
    ${COPY} ~/${cesmtag}/clm.buildnml.csh  ${caseroot}/Buildconf/.
-   ${COPY} ~/${cesmtag}/rtm.buildnml.csh  ${caseroot}/Buildconf/.
    ${COPY} ~/${cesmtag}/preview_namelists ${caseroot}/.
 
 endif
@@ -582,7 +578,6 @@
 # CICE reads from namelist variable 'ice_ic'
 # CLM builds its own 'finidat' value from the REFCASE variables but in CESM1_1_1
 #     it does not use the instance string. There is a patch for clm.buildnml.csh
-# RTM reads from namelist variable 'finidat_rtm', but rtm.buildnml.csh also is buggy.
 #
 # All of these must later on be staged with these same filenames.
 # OR - all these namelists can be changed to match whatever has been staged.
@@ -657,11 +652,11 @@
 #      That solution can't work in hybrid mode.  See ~/Homme/notes:9/17/2013
 # KDR
 
-   echo "hist_empty_htapes = .false." >> $fname
-   echo "hist_fincl1 = 'TSA'"         >> $fname
-   echo "hist_nhtfrq = 0"             >> $fname
-   echo "hist_mfilt  = 1"             >> $fname
-   echo "hist_avgflag_pertape = 'A'"  >> $fname
+   echo "hist_empty_htapes = .true."   >> $fname
+   echo "hist_fincl1 = 'TSA'"          >> $fname
+   echo "hist_nhtfrq = -$stop_n"       >> $fname
+   echo "hist_mfilt  = 1"              >> $fname
+   echo "hist_avgflag_pertape = 'A'"   >> $fname
 
    # ===========================================================================
    set fname = "user_nl_cice${inst_string}"
@@ -670,16 +665,6 @@
 
    echo "ice_ic = '${run_refcase}.cice${inst_string}.r.${run_refdate}-${run_reftod}.nc'" >> $fname
 
-   # ===========================================================================
-   # TJH FIXME ... do we need this if we turn off the river runoff model?
-   set fname = "user_nl_rtm${inst_string}"
-   # ===========================================================================
-   # RIVER RUNOFF CAN START FROM AN OLD CLM RESTART FILE
-   # you can specify the RTM filename here and override the settings from
-   # RUN_REFCASE/RUN_REFDATE/RUN_REFTOD (something you cannot do with CLM).
-
-   echo "finidat_rtm = '${run_refcase}.rtm${inst_string}.r.${run_refdate}-${run_reftod}.nc'" >> $fname
-
    @ inst ++
 end
 
@@ -740,7 +725,6 @@
          echo "${CASE}.cpl.r.\${restart_time}.nc"                  >! rpointer.drv
          echo "${CASE}.clm2\${inst_string}.r.\${restart_time}.nc"  >! rpointer.lnd\${inst_string}
          echo "${CASE}.cice\${inst_string}.r.\${restart_time}.nc"  >! rpointer.ice\${inst_string}
-         echo "${CASE}.rtm\${inst_string}.r.\${restart_time}.nc"   >! rpointer.rof\${inst_string}
          echo "${CASE}.cam\${inst_string}.r.\${restart_time}.nc"   >! rpointer.atm\${inst_string}
 
 


More information about the Dart-dev mailing list