Affected Releases - CESM1.0.z and CESM1.1.z(Bugzilla 1875) There is a known and potentially severe problem that can remove all your data in the short term archive directory ($DOUT_S_ROOT) accidently. This could cause you to lose your model data forever. The problem occurs in CESM1.0.z and CESM1.1.z. when
This problem has been fixed in CESM1.2.z.For CESM1.0.z and CESM1.1.z, we currently recommend that users never run diagnostics or post-processing packages in the same location as the short-term archiver when the short term archiver is active.Another option in CESM1.0.z and CESM1.1.z is to replace the following code segment at the end of the scripts/ccsm_utils/Tools/st_archive.sh script:Old Code (lines 305-306):
New Code (lines 305-312):
Code:
- the short term archiver is running as part of a case
AND
- diagnostics or post-processing scripts are accessing the same short term archive directory
Code:
mv ${sta}/* ${DOUT_S_ROOT}
rm -fr ${sta}
Code:
if mv ${sta}/* ${DOUT_S_ROOT}; then
rm -fr ${sta}
else
echo "st_archive.sh: error, final move command unsuccessful"
echo " some short-term archive data may be in ${sta}"
echo "st_archive.sh: exiting"
exit 1
fi