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

Problem to save monthly restarts

ypeings@uci_edu

New Member
Hi, I use CESM1.2 to run a 100-yr experiment with the F_2000_WACCM_SC compset. I need to save the restarts every months, to be able to run ensemble experiments using the 1st of October or November initial conditions. I run the model for 12 months then I resubmit the job :xmlchange -file env_run.xml -id STOP_OPTION -val nmonths
xmlchange -file env_run.xml -id STOP_N -val 12
xmlchange -file env_run.xml -id RESUBMIT -val 100 and I have set the follwing options to these values, which from my understanding would allow to save monthly restarts :xmlchange -file env_run.xml -id REST_N -val 1  # Monthly restarts
xmlchange -file env_run.xml -id DOUT_S_SAVE_INT_REST_FILES -val TRUE Is there another option that I need to modify to have monthly restarts saved every months ?Thank you in advance for any help.  
 

ypeings@uci_edu

New Member
Ok I just modified the length of the run (1 month, STOP_N to 1) with 100*12 resubmission and it works this way. I thought REST_N=1 would have saved monthly restarts independently of STOP_N.
 

ypeings@uci_edu

New Member
Ok I just modified the length of the run (1 month, STOP_N to 1) with 100*12 resubmission and it works this way. I thought REST_N=1 would have saved monthly restarts independently of STOP_N.
 

santos

Member
If you set REST_N to 1, that should have caused the model to output restart files every month into your run directory, so I'm not sure why this didn't work for you. However, I believe that the restart directory in the short-term archive is only created at the end of the run. So if you were looking for a separate directory for each set of restart files, it might have looked like nothing was being written out.
 

santos

Member
If you set REST_N to 1, that should have caused the model to output restart files every month into your run directory, so I'm not sure why this didn't work for you. However, I believe that the restart directory in the short-term archive is only created at the end of the run. So if you were looking for a separate directory for each set of restart files, it might have looked like nothing was being written out.
 

ypeings@uci_edu

New Member
Indeed I was looking for restart files in the short-term archive, I did not check in the run directory. Anyway it works now, I'll know that for next time, thanks for your reply.
 

ypeings@uci_edu

New Member
Indeed I was looking for restart files in the short-term archive, I did not check in the run directory. Anyway it works now, I'll know that for next time, thanks for your reply.
 
In this case, you need to stand in queue for each month, which is very low efficient. Did that bother you? I am in the similar situation and looking for a better way to get the monthly restart files. 
 
In this case, you need to stand in queue for each month, which is very low efficient. Did that bother you? I am in the similar situation and looking for a better way to get the monthly restart files. 
 
Top