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

clm5 soil_moisture_streams problem

Status
Not open for further replies.

anushree

Member
Hi all,
i am running a simulation which gives the following error-
./preview_namelists
GET_REFCASE is false, the user is expected to stage the refcase to the run directory.
Creating component namelists
Calling /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/cam//cime_config/buildnml
...calling cam buildcpp to set build time options
CAM namelist copy: file1 /home/cas/phd/asz168368/exp_cesm2_1_1/p_ssp126trial/Buildconf/camconf/atm_in file2 /home/cas/phd/asz168368/scratch/cesm2.1.1_out/cases/p_ssp126trial/run/atm_in
Calling /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm//cime_config/buildnml
ERROR: Command /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm/bld/build-namelist 'failed rc=255
out=
err=ERROR : CLM build-namelist::CLMBuildNamelist::process_namelist_commandline_infile() : Invalid namelist variable in '-infile' /home/cas/phd/asz168368/exp_cesm2_1_1/p_ssp126trial/Buildconf/clmconf/namelist.
ERROR: in _validate_pair (package Build::NamelistDefinition): Variable name stream_year_first_soilm not found in /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm/bld/namelist_files/namelist_definition_drv.xml, /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm/bld/namelist_files/namelist_definition_drv_flds.xml, /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm/bld/namelist_files/namelist_definition_clm4_5.xml

i found out that if i remove these following lines from user_nl_clm, the model is able to build successfully without producing the above mentioned error.

use_soil_moisture_streams = .true.
&soil_moisture_streams
soilm_offset = 0
soilm_tintalgo = 'linear'
stream_fldfilename_soilm = '/home/cas/cesm/LFMIP-pdLC-SST.H2OSOI.natveg.1980-2014.MONS_climo.nc'
stream_year_first_soilm = 1997
stream_year_last_soilm = 1997
/
Please,someone tell me why these above lines are not working.i am using cesm2.1.1 and clm5.
Thank you,
Anushree
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
First, I think you just need to remove the "&soil_moisture_streams", and "/" in the user_nl_clm file. Second -- make sure use_soil_moisture_streams is in the namelist_definition file: /home/apps/centos7/CESM/cesm2/cesm2.1.1/components/clm/bld/namelist_files/namelist_definition_clm4_5.xml. I'm thinking you are using a feature that wasn't in CESM2.1.1, but was added to a later version of the cesm2.1 series. I'd suggest also updating to cesm2.1.3 the latest one.
 

anushree

Member
Thank you Erik for your suggestion.i am using CLM5,then why is it looking in the namelist_definition_clm4_5.xml?
should it not look into namelist_definition_clm5.xml?
Regards,
Anushree
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
The name is historical. It uses the same file for both clm4_5 and clm5_0. In many cases they use the same
settings. And when they don't it's detailed in that file. There isn't a file that's just for clm5_0.
 
Status
Not open for further replies.
Top