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 while using pertlim to create ensemble runs

Stan

New Member
Hi,

I am trying to use pertlim in CAM standalone mode and getting this error. Could you please help me out with this.

I tried both in user_nl_cam
pertlim=1.e-14, 2.e-14, 3.e-14, 4.e-14, 5.e-14, 6.e-14
pertlim=1.d-14, 2.d-14, 3.d-14, 4.d-14, 5.d-14, 6.d-14
pertlim='0.00000000000001, 00000000000002, 00000000000003, 00000000000004, 00000000000005, 00000000000006'

getting this error while building the name list
CAM build-namelist - ERROR: Invalid namelist variable in '-infile' $cesm1_2_0/models/atm/cam/bld/user_nl_cam.
ERROR: in validate_variable_value (package Build::Namelist): Variable name pertlim has exceeded the dimension size of the array.

name list was built when i use
pertlim=1.d-14, 2.d-14

but the job was aborted with this error

CAM atmosphere model initialization
Read in cam_inparm namelist from: atm_in
(shr_sys_abort) ERROR: read_namelist:: namelist read returns an error condition for cam_inparm
(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping
application called MPI_Abort(MPI_COMM_WORLD, 1001) - process 0

Please help me out from this.

Stan
IITM
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
As far as I know, pertlim is a single value.
You cannot give several values for pertlim.

-------------------------
From user:

I wanted to give ensemble run in CESM1.2 and i specified pertlim= 1.d-14, 2.d-14, 3.d-14,...... in the user_nl_cam but I got the following error while building the case.

Macros script already created ...skipping
Creating batch script case_cesm1.run
Locking file env_mach_pes.xml
Running preview_namelist script
Use of qw(...) as parentheses is deprecated at /home/apps/centos7/CESM/intel/Test/cesm1_2_2/models/drv/bld/build-namelist line 784.
infile is /home/cas/phd/asz198070/case_cesm1/Buildconf/cplconf/cesm_namelist
CAM build-namelist - ERROR: Invalid namelist variable in '-infile' /home/cas/phd/asz198070/case_cesm1/Buildconf/camconf/cesm_namelist.
ERROR: in validate_variable_value (package Build::Namelist): Variable name pertlim has exceeded the dimension size of the array.
ERROR: cam.buildnml.csh failed
ERROR: /home/cas/phd/asz198070/case_cesm1/preview_namelists failed: 25344.

It is a request to please reply as soon as possible.

Thanks,
 
Top