Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

CESM1.2.2 - Problem creating timing files when DOUT_S=TRUE

aliceb

Member
Affected releases - CESM1.2.2

There is a problem in the run script when short term archiving is set to true (DOUT_S=TRUE) and subsequent problem with the creation of the timing files directory in the $CASEROOT.


Code:
cd $CASEROOT
if ($DOUT_S == 'TRUE') then
 echo "Archiving cesm output to $DOUT_S_ROOT"
 echo "Calling the short-term archiving script st_archive.sh"
 cd $RUNDIR; $CASETOOLS/st_archive.sh
endif

If you have short term archiving on, you end up in $RUNDIR instead of $CASEROOT when the timing scripts runs, and getTiming.csh does not switch back before sourcing ccsm_getenv.
The fix is to change the line above from:

Code:
cd $RUNDIR; $CASETOOLS/st_archive.sh
to:
Code:
cd $RUNDIR; $CASETOOLS/st_archive.sh; cd $CASEROOT
 
Top