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

Error when changing user_nl_clm

LeeJace

Lee
New Member
Dear all,

I was attempting to turn CLM namelist variable(by consulting CESM2.1.0 CLM Namelist Definitions ) use_Ich4=.false. or turn BGC mode to SP with compset 2000_DATM%CRUv7_CLM50%BGC_SICE_SOCN_MOSART_SGLC_SWAV_SIAC_SESP. I have changed the user_nl_clm and added a line:

use_Ich4=.false.

However, I encountered the error:

ERROR: Command /public/home/Lee/CESM_1/cesm_2.2.0/components/clm/bld/build-namelist failed rc=255
out=
err=ERROR : CLM build-namelist::CLMBuildNamelist::process_namelist_commandline_infile() : Invalid namelist variable in '-infile' /public/home/Lee/CESM_1/cesm_2.2.0/cases/test_emv/Buildconf/clmconf/namelist.
ERROR: in _validate_pair (package Build::NamelistDefinition): Variable name use_ich4 not found in /public/home/Lee/CESM_1/cesm_2.2.0/components/clm/bld/namelist_files/namelist_definition_drv.xml, /public/home/Lee/CESM_1/cesm_2.2.0/components/clm/bld/namelist_files/namelist_definition_drv_flds.xml, /public/home/Lee/CESM_1/cesm_2.2.0/components/clm/bld/namelist_files/namelist_definition_ctsm.xml



Could you please guide me on how to correctly change the value of a namelist variable?

Thanks!
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I think you have a typo. The error says:

Variable name use_ich4 not found

It should be use_lch4 (l, not i)
 
Top