Resubmit after submit still intend to initial file

jurymark

mark
New Member
Please fill in all relevant information below, deleting the red text after you have read it.
Before submitting a help request, please check to see if your question is already answered:
- Search the forums for similar issues
- Check the CIME troubleshooting guide to see if any suggestions there solve your problem
- Check any other relevant CESM documentation

What version of the code are you using?
- CESM staff members will mainly provide answers for supported model versions, as outlined in the CESM support policy, and can only provide limited help for versions that are no longer supported. You may ask questions about unsupported versions, but may need to rely on community answers.
- For CESM2.1.2 onwards run the script ./describe_version from the top level of your CESM clone to find the version
- From older model versions, provide the output from running the following commands from the top level of your CESM clone
> git describe
> ./manage_externals/checkout_externals --status --verbose

Have you made any changes to files in the source tree?
- Describe any changes (code, xml files, etc.)
Describe every step you took leading up to the problem:
- Describe every step you took, starting with the create_newcase command and including any changes you made to xml files, user_nl files, etc. Please try to reproduce the problem first using your own instructions.
If this is a port to a new machine: Please attach any files you added or changed for the machine port (e.g., config_compilers.xml, config_machines.xml, and config_batch.xml) and tell us the compiler version you are using on this machine.
Please attach any log files showing error messages or other useful information.

- If the error occurs during the build, please attach the appropriate build log file showing the compilation error message.
- If the error occurs during the run, please attach all log files from the run (cpl.log, cesm.log and all component log files).

Describe your problem or question:
 

jurymark

mark
New Member
./xmlchange RESUBMIT=1
./xmlchange DATA_ASSIMILATION_SCRIPT=''
./xmlchange DATA_ASSIMILATION_ATM=false
./case.submit

./xmlchange RESUBMIT=0
./xmlchange CONTINUE_RUN=true
./xmlchange DATA_ASSIMILATION_SCRIPT=/projects-SSD/public/cases/fwdart_t/assimilate.csh
./xmlchange DATA_ASSIMILATION_ATM=true
cp ./../t/input.nml0 ./input.nml -f
./case.submit
The above are my settings, but I unexpectedly found that after the first submit, the second time it still reports error e.g.
ERROR: GETFIL: FAILED to get cam_initial_0001.nc
, with
&cam_initfiles_nl
ncdata = 'cam_initial_0001.nc'
being my setting (user_nl_cam) still pointing to the original file.

I hope the model runs freely for three days and starts assimilation on the last day. Does this mean I need to modify the e.g. cam_initial_0001.nc to point to the new restart file before the second submission?
 

hplin

Haipeng Lin
Moderator
Staff member
Hi Mark, thanks for writing. The ncdata file would not be used in a restart run (the atmosphere is initialized from the cam.r. restart files instead of the cam.i. initial files in ncdata), nor where CONTINUE_RUN=true. The ncdata file is only read if the run is an initial (startup) run.

Does the ncdata file (cam_initial_0001.nc) exist?
Can the first case.submit run successfully?
 

jurymark

mark
New Member
Hi, thank you for the detailed explanation.

In my case, the first run completed successfully. Before submitting the second run (with CONTINUE_RUN = TRUE), I accidentally deleted the file pointed to by ncdata. My run type has always been hybrid. Based on your earlier explanation, I understand that ncdata is not used in restart or hybrid runs — so I was surprised to see an error related to the missing ncdata file when trying to submit the second run.

Thank you for your help!
 
Back
Top