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

case build error with user-generated surface data

xgao304

Member
Dear Scientist,

I am running 2.1.3. with the compset I2000Clm50BgcCrop at half degree. I successfully generated the required surface dataset and stored in the directory of
~/inputdata/lnd/clm2/surfdata_map/surfdata_360x720cru_hist_78pfts_CMIP6_simyr2000_c210423.nc

However, when I build the case, it still complains about no surfdata found as follows:
./create_newcase BgcCrop2000 --compset I2000Clm50BgcCrop --res hcru_hcru --machine svante --compiler intel --run-unsupported
./case.setup
./case.build

--------------------------
2021-04-26 17:36:14: case.build error
ERROR: Command /net/fs05/d1/xgao/cesm2.1.3/cesm/components/clm/bld/build-namelist failed rc=255
out=CLM adding use_case 2000_control defaults for var 'irrigate' with val '.true.'
CLM adding use_case 2000_control defaults for var 'sim_year' with val '2000'
CLM adding use_case 2000_control defaults for var 'sim_year_range' with val 'constant'
CLM adding use_case 2000_control defaults for var 'stream_year_first_ndep' with val '2000'
CLM adding use_case 2000_control defaults for var 'stream_year_first_popdens' with val '2000'
CLM adding use_case 2000_control defaults for var 'stream_year_first_urbantv' with val '2000'
CLM adding use_case 2000_control defaults for var 'stream_year_last_ndep' with val '2000'
CLM adding use_case 2000_control defaults for var 'stream_year_last_popdens' with val '2000'
CLM adding use_case 2000_control defaults for var 'stream_year_last_urbantv' with val '2000'
CLM adding use_case 2000_control defaults for var 'use_case_desc' with val 'Conditions to simulate 2000 land-use'
err=File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /net/fs05/d1/xgao/cesm2.1.3/cesm/components/clm/bld/CLMBuildNamelist.pm line 4335.
ERROR : CLM build-namelist::CLMBuildNamelist::add_default() : No default value found for fsurdat.
Are defaults provided for this resolution and land mask?
---------------------------------------------------

I am not sure if the directory ~/inputdata/lnd/clm2/surfdata_map/ is the correct one to put the surface dataset. To verify it, I tested the same compset with one supported
resolution:

create_newcase --case testcoarse --compset I2000Clm50BgcCrop --res f09_g17_gl4 --machine svante --compiler intel --run-unsupported

The case can be built successfully, although the surfdata specified in lnd_in is not found:

[xgao@svante-login run]$ pwd
/net/fs05/d1/xgao/cesm2.1.3/cases/testcoarse/run
[xgao@svante-login run]$ cat lnd_in | grep 'fsurdat'
fsurdat = '/net/fs05/d1/xgao/cesm2.1.3/inputdata/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr2000_c190214.nc'
[xgao@svante-login run]$ ll /net/fs05/d1/xgao/cesm2.1.3/inputdata/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr2000_c190214.nc
ls: cannot access '/net/fs05/d1/xgao/cesm2.1.3/inputdata/lnd/clm2/surfdata_map/release-clm5.0.18/surfdata_0.9x1.25_hist_78pfts_CMIP6_simyr2000_c190214.nc': No such file or directory

This makes me very confused. Could you help me?

Thanks.
 
Top