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

CLM does not write out restart and rest files

Esther_Bender

Esther Bender
New Member
I am using a modified version of CLM5(release-clm5.0 in CESM2.1) (i think) from the NorESM cluster. I just recently had to migrate my modified version to a new supercomputer cluster and after doing that for some reason the simulation does not right out any restart or rest files.

So my question would be what could i check, update, to get it write out the rest and restart files.

It wrote out the land history files without a problem.

We did another test simulation and had the same problem. So it seems to be a more general problem, not just related to that case.

Steps i took to set up:

./create_newcase --machine betzy --case ~/cases/TestIskorasBetzy --res CLM_USRDAT --compset 1850_DATM%GSWP3v1_CLM50%SP_SICE_SOCN_SROF_SGLC_SWAV --run-unsupported --user-mods-dirs ~/InputData/1x1Iskoras_Anom/user_mods/ --project nn2806k --compiler intel --handle-preexisting-dirs r --walltime 02:00:00 -q normal


cp ~/InputData/1x1Iskoras_Anom/user_mods/user_nl_datm_streams ~/cases/TestiskorasBEtzy

./xmlchange STOP_N=5
./xmlchange STOP_OPTION=nyears
./xmlchange PTS_LON=24.250
./xmlchange PTS_LAT=69.383
./xmlchange RESUBMIT=1
./xmlchange NTASKS=1


./xmlchange RUN_TYPE=startup
./xmlchange JOB_WALLCLOCK_TIME="01:00:00"
./xmlchange PROJECT=nn2806k
./xmlchange RUN_STARTDATE="1931-01-01"
./xmlchange DATM_YR_ALIGN="1931"
./xmlchange DATM_YR_START="1931"
./xmlchange DATM_YR_END="1951"
./xmlchange CLM_ACCELERATED_SPINUP="off"
./xmlchange CLM_FORCE_COLDSTART="on"
./xmlchange CLM_USRDAT_DIR=~/Input_Data/1x1Iskoras_Anom
./xmlchange CLM_USRDAT_NAME=1x1Iskoras_Anom
./xmlchange DEBUG=FALSE

./xmlchange LND_DOMAIN_PATH=~/Input_Data/1x1Iskoras_Anom
./xmlchange LND_DOMAIN_FILE="domain.lnd.fv0.9x1.25_gx1v7_Iskoras_c240325.nc"
./xmlchange DIN_LOC_ROOT_CLMFORC=~/Input_Data/1x1Iskoras_Anom
./xmlchange RUNDIR=/cluster/work/users/estherbe/noresm/
./xmlchange CIME_OUTPUT_ROOT= /cluster/work/users/estherbe/noresm/
./xmlchange EXEROOT=/cluster/work/users/estherbe/noresm/$1/bld
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I guess I would look at the log files to see what errors might be reported in writing out the restart files. Maybe the 5 year run is not completing successfully. Unless you make some changes to the env_run.xml file, there will only be restart files produced at the end of the run. I assume you are looking in both your archive and run directories for the restart files and not finding any....
You could try modifying the settings to see if intermediate restart files are produced in your 5 year run. E.g., these settings would give you restart files every month:

./xmlchange REST_OPTION=nmonths
./xmlchange REST_N=1
 
Top