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 build-namelist - ERROR: No default value found for ncdata

HU lei

Hulei
New Member
Dear all,
I am a new user working with CESM2, Recently, I choose BC5L45BGC component and f09_g16 grids for test . However, when I change RUN_TYPE = branch , RUN_REFDATE=1981-09-01, RUN_STARTDATE=1981-09-01, and build the simulation, I get the error message:

ERROR:
"Building case in directory /public1/home/duanws/CESM2.1.1/cime/scripts/6B82G
sharedlib_only is False
model_only is False
Generating component namelists as part of build
GET_REFCASE is false, the user is expected to stage the refcase to the run directory.
Creating component namelists
Calling /public1/home/duanws/CESM2.1.1/components/cam//cime_config/buildnml
...calling cam buildcpp to set build time options
ERROR: Command /public1/home/duanws/CESM2.1.1/components/cam/bld/build-namelist -ntasks 224 -csmdata /public1/home/duanws/inputdata -infile /public1/home/duanws/CESM2.1.1/cime/scripts/6B82G/Buildconf/camconf/namelist -ignore_ic_year -inputdata /public1/home/duanws/CESM2.1.1/cime/scripts/6B82G/Buildconf/cam.input_data_list -namelist " &atmexp /" failed rc=255
out=CAM build-namelist - ERROR: No default value found for ncdata
user defined attributes:
key=ic_md val=19820901
err=Died at /public1/home/duanws/CESM2.1.1/components/cam/bld/build-namelist line 4047."




But when I change 1981-09-01 to 1981-08-01 or 1981-07-01.....,it will build successful, only September failed
I have no idea how to fix this problem. Is there anyone can help me or give me any hint? Thank you very much.

Regards,
HU
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Please could you make sure that the restart files are copied over in the run directory.
Please could look in the run directory and see if you have a file *cam.i.1981-01-01*. If not this is the issue.
 

HU lei

Hulei
New Member
Thank you very much for your reply. But I have this file in my run directory.When I change RUN_REFDATE = 1982-09-01, RUN_STARTDATE="1982-08-01.it will build successful, However, change RUN_REFDATE = 1982-08-01, RUN_STARTDATE="1982-09-01 it will fail.
 

Attachments

  • 1641610558219.png
    1641610558219.png
    16.1 KB · Views: 12

hannay

Cecile Hannay
AMWG Liaison
Staff member
Try to set: ncdata = BCnud_final.cam.i.1980-01-01-00000.nc

For default the cam.i is output yearly. This is why you only have a cam.i for 1980-01-01
If you need the ic monthly instead of yearly, you can change the output frquency of the cam.i file with the namelist variable:
inithist

You can look for the setting of the is variable at: CESM2 CAM6.3 Namelist Definitions
inithistcam_history_nlhistorychar*8
  • Valid Values ['NONE', '6-HOURLY', 'DAILY', 'MONTHLY', 'YEARLY', 'CAMIOP', 'ENDOFRUN']
  • Possible Default Values
  • Description and out-of-the-box DefaultFrequency that initial files will be output: 6-hourly, daily, monthly,
    yearly, or never. Valid values: 'NONE', '6-HOURLY', 'DAILY', 'MONTHLY',
    'YEARLY', 'CAMIOP', 'ENDOFRUN'.
    Default: 'YEARLY'
 
Top