Welcome to the new DiscussCESM forum!
We are still working on the website migration, so you may experience downtime during this process.

Existing users, please reset your password before logging in here: https://xenforo.cgd.ucar.edu/cesm/index.php?lost-password/

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

aliceb

Administrator
Staff 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