henry_leroy_miller@noaa_gov
New Member
Hi - I have a general question about which file(s) provide the configuration values from which xmlquery gets its values? I specifically had an error when building the clm namelist (specifics below), which I have been able to provide a hacked solution, however would rather be able to modify the source of the value.I'm asking this question in this Forum Topic, as I'd like to know where these source values in general are speciified, so that I can apply that knowledge to any component, however I can understand if the answer is dependent upon which component is being discussed. I'm working with a developer version "cesm1_5_beta02_waccm06" and porting it to an unsupported machine, NOAA HPCS Theia.The specifics of this error in building the clm namelist are:- the value of the "-glc_smb" arguement is ".TRUE.".- namelist build fails because the lowercase argument ".true." is expected, and apparently required- the output of "./xmlquery GLC_SMB" is "GLC_SMB: TRUE".- I"ve been unable to find where this value is specified.- I was able to modify the line in the perl script "components/clm/cime_config/buildnml" that sets the output of the xmlquery to lower case, using "lc" on the output of the xmlquery command, however would really prefer to change the source value to the expected form, rather than hack the script. Hence this post.Below is the error when the case.build script is run. Thanks for your anticipated assitance, Roy Tue Feb 27 22:01:58 tfe05 tb.day1.0> ./case.build calling build.case_build with caseroot=/home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0Building case in directory /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0sharedlib_only is Falsemodel_only is FalseGenerating component namelists as part of buildCreating component namelists Running cam buildnml Running clm buildnmlERROR: Command: '/scratch3/BMC/chimera/miller/cesmdev/CESM-sources/cesm-1.3.x/components/clm/cime_config/buildnml /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0' failed with error 'ERROR : CLM build-namelist::CLMBuildNamelist::setup_logic_glacier() : glc_smb set to .true. does NOT agree with -glc_smb argument of .TRUE. (set with GLC_SMB env variable) ERROR clm.buildnml: /scratch3/BMC/chimera/miller/cesmdev/CESM-sources/cesm-1.3.x/components/clm/bld/build-namelist -infile /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0/Buildconf/clmconf/namelist -csmdata /scratch3/BMC/chimera/CESM-central/inputdata -inputdata /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0/Buildconf/clm.input_data_list -ignore_ic_year -namelist " &clm_inparm start_ymd=00010101 /" -no-megan -use_case 1850_glacierMEC_control -glc_present -glc_smb .TRUE. -res 1.9x2.5 -clm_start_type default -envxml_dir /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0 -l_ncpl 48 -lnd_frac /scratch3/BMC/chimera/CESM-central/inputdata/share/domains/domain.lnd.fv1.9x2.5_gx1v6.090206.nc -glc_nec 10 -co2_ppmv 284.7 -co2_type diagnostic -config /home/Henry.LeRoy.Miller/CESM-cases/cases_cesm-1.3.x/tb.day1.0/Buildconf/clmconf/config_cache.xml -bgc bgc failed: 65280'