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.3 beta 10 env*.xml files may get corrupted if quota is reached

jshollen

New Member
It has been noted that env*.xml files may become corrupted if one reaches their quota during case creation or modification. A fix will be forthcoming as of beta11..
 

santos

Member
This still occurs if e.g. xmlchange is interrupted during a write, which actually is pretty easy to do by accident, because xmlchange is slow. We may want to consider guarding against this somehow (the simplest solution is probably to write to a temporary file, then do an "mv" to atomically replace the old file with the new one).Of course if xmlchange is rewritten to write the file faster (currently it is slow due to XML::Lite?), we may have a lower chance of corruption simply due to there being a smaller window during which the I/O can be interrupted.
 
Top