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.
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:
to:
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
Code:
cd $RUNDIR; $CASETOOLS/st_archive.sh; cd $CASEROOT