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 "in validate_variable_value " when running the $CASE.submit

Hi All, I was succefully ported the CESM 1.2.2 to our local machine with the compset "F_2000_MOZMAM_CN". However, when I tried to run the CESM with the $CASE.submit command, it gave me the following error messages: CESM BUILDNML SCRIPT STARTING  - To prestage restarts, untar a restart.tar file into /netscr/yuqiangz/CESMSCRATCHROOT/zyq_test_mpich2_netcdf4.2/run infile is /nas02/depts/ese/chaq/yuqiangz/CAM_v5.3/cesm1_2_2/zyq_test_mpich2_netcdf4.2/Buildconf/cplconf/cesm_namelistCAM build-namelist - ERROR: Invalid namelist variable in '-infile' /nas02/depts/ese/chaq/yuqiangz/CAM_v5.3/cesm1_2_2/zyq_test_mpich2_netcdf4.2/Buildconf/camconf/cesm_namelist. ERROR: in validate_variable_value (package Build::Namelist): Variable name cam_chempkg has values that does NOT match any of the valid values: 'waccm_mozart' 'waccm_ghg' 'trop_mozart' '                                         trop_ghg' 'trop_bam' 'trop_mam3' 'trop_mam7' '                                         super_fast_llnl' 'super_fast_llnl_mam3' 'none '.ERROR: cam.buildnml.csh failed ERROR from preview namelist - EXITING I checked that "cam_chempkg = 'trop_mozart__mam3'" in the file:/nas02/depts/ese/chaq/yuqiangz/CAM_v5.3/cesm1_2_2/zyq_test_mpich2_netcdf4.2/Buildconf/cplconf/cesm_namelist I don't understand why I have errors? Should this chemical mechanism be included in the checking step? 
 
Hi,I use "F_2000_MOZMAM_CN" compset, and I don't think I specify the chemical mechanism mannually. It was all done by the ./cesm_setup and $CASE.run script. So my quesiton is why this mechanism appears in my file? When I mannually changed the mechanism to "trop_mozart" in the file, and $CASE.build again, it gave me warming that "CAM Namelist ERROR: User may not specify the value of cam_physpkg.This variable is set by build-namelist based on informationfrom the configure cache file.ERROR: cam.buildnml.csh failedERROR: /nas02/depts/ese/chaq/yuqiangz/CAM_v5.3/cesm1_2_2/zyq_test_mpich2_netcdf4.2/preview_namelists failed: 25344"
 

eaton

CSEG and Liaisons
The way the chemistry package is specified to cam is by using the -chem option to CAM's configure command.  So to use trop_mozart chemistry configure must get the argument "-chem trop_mozart" and the namelist variable cam_chempkg is set by build-namelist using information that it finds in the config_cache.xml file.  The user is not allowed to set cam_chempkg directly because the chemistry is a build time option, not a run time option.Someone else may be able to help with the compset problem.
 
Hi eaton,Thanks for your reply. I noticed the configure option when I compiled the CAM stand-alone model. However, I don't know where to add the " "-chem trop_mozart"  option when porting CESM into a local machines with the compnsets. Any suggestions?Regards,Yuqiang
 

eaton

CSEG and Liaisons
I see now that my comment #2 is incorrect.  The trop_mozart_mam3 chemistry package is supported in the cesm1_2_2 release.  The error from build-namelist is due to namelist variable cam_chempkg being set by the user.  This variable should only appear in the file produced by the build-namelist command, i.e., atm_in.  If it appears anywhere else that instance should be removed.  Perhaps starting from scratch would help.
 
Top