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

CAM history file from previous year missing from run directory

nick

Herold
Member
Hi, I hope this hasn't been solved elsewhere but I'm running into the problem the poster below had and just thought I'd repost in case it was at the bottom of the pile.My CAM/CLM runs (in CESM2.0) run once but fail to start after resubmission because the last history file from the previous year is removed from the run directory. e.g. if my resubmission is to start from year 20, the .h0. file of month 12 of year 19 is required in the run directory, but this has been removed (assumedly during short term archiving). This cam history file is also not stored in the restart directory in DOUT_S. This is different to my CESM 1.0.x simulations where this history file is kept in the run directory and archived to my restart directory.The specific error is (when by job is resubmitted to start at year 5); (GETFIL): attempting to find local file f.e20.F2000climo.f19_f19_mg17.control_run.003.cam.h0.0004-12.nc (GETFIL): all tries to get file have been unsuccessful: f.e20.F2000climo.f19_f19_mg17.control_run.003.cam.h0.0004-12.nc ERROR: GETFIL: FAILED to get f.e20.F2000climo.f19_f19_mg17.control_run.003.cam.h0.0004-12.ncIt's the same as this user posted: https://bb.cgd.ucar.edu/cesm-12-model-issue-continue-run-previous-year-camho-file-not-found Has anyone encountered and solved this? I've made very minimal changes to my case setup. The first job runs fine and if I manually copy the history file to the run directory then the job resubmits fine too. Thanks for your time.
 

nick

Herold
Member
Pretty sure I've solved this. Access to ncdump is required and while I was loading netcdf libraries in my CESM jobs I was not loading the binaries for ncdump, thus there were problems with archiving.So, make sure you load netcdf for each job. On CESM2 this is done in cime/config/cesm/machines/config_machines.xml.
 

nick

Herold
Member
Pretty sure I've solved this. Access to ncdump is required and while I was loading netcdf libraries in my CESM jobs I was not loading the binaries for ncdump, thus there were problems with archiving.So, make sure you load netcdf for each job. On CESM2 this is done in cime/config/cesm/machines/config_machines.xml.
 
Top