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

Issue with continuing a run

joe_s

Joe Salamone
New Member
Hi, I am using CESM 2.1.5, compset FW2010climo with grid f09_f09_mg17. I am trying to continue a run from a successfully completed run, but the code just does a startup run ignoring that it has already been run, and does not continue from the last completed time stamp.

I have set xmlchange CONTINUE_RUN=TRUE, but all that did was just rerun the simulation from the initial start date, not continue the run from the last successful time stamp.

I confirmed that my rpointer files contain the correct restart files.

I noticed with this compset that the ref start date is 0003-01-01 yet the initial run date is 0001-01-01, so not sure if that is causing an issue either. After seeing the two different initial dates, I tried to set the initial run date to 0003-01-01, so that the initial dates would be common. But then when I tried to restart, I got an error about overrunning the time stamp.

I am not using case.submit due to how CESM is ported to our system. I am instead using the mpiexec command line from the preview_run into a manual PBS job submission. There are no errors from using this means of submitting a job that I can tell, as I can run a case initially.

Do I need to do any additional steps other than change CONTINUE_RUN=TRUE? Am I missing steps that case.submit interprets for a continued run by manually running a job on our system cluster?

Thanks
 

jedwards

CSEG and Liaisons
Staff member
I'm sure that you are missing something critical by not using case.submit. Why was the port to your system done incorrectly? Perhaps we should address that problem first.
 

joe_s

Joe Salamone
New Member
Thank you for responding.

The PBS at my organization has some customized options that are necessary for job submission. And I didn't see provisions for customized PBS options in the config_machines.xml file, or anywhere else.

If there is a way to make sure customized PBS options are present in the qsub command line, then I think the case.submit can get working.
 

joe_s

Joe Salamone
New Member
I see there is a .case.run file, with some lines like:
#!/usr/bin/env python
# Batch system directives
#PBS -N run.fw2010climo_testcase
#PBS -r n
#PBS -j oe
#PBS -V
#PBS -S {{shell}}


Can I edit the .case.run file or utilize a template file somehow so that the contents of that template are part of what is submitted at the qsub execution?

Thanks.
 

joe_s

Joe Salamone
New Member
The latest error I get when executing "./case.submit" is that our PBS system does not have a '--resubmit' option. If there is a way to remove that option somehow in the default CESM scripting for the qsub command line coding, then it would be really helpful.

Thanks.
 
Top