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

case build error

Gary

Gary Cui
New Member
plantform: centOS 7
CESM version: 1_2_1
compiler: ifort icc
MPI: mpich
In the scripts folder, I ran the following command:
[root@localhost scripts]# ./create_newcase -case /home/cuiyingzhe/CESM/cesm1_2_1/case -mach cyz -compset X -res f19_g16
to create a simple case. Then in the case folder, I ran the following command:
[root@localhost case]# ./cesm_setup
There is an error:
Setting NETCDF_PATH from Environment
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
Creating batch script case.run
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
set: Variable name must begin with a letter.
Locking file env_mach_pes.xml
Creating user_nl_xxx files for components and cpl
Running preview_namelist script
Use of qw(...) as parentheses is deprecated at /home/cuiyingzhe/CESM/cesm1_2_1/case/Tools/ConfigCase.pm line 448.
set: Variable name must begin with a letter.
ERROR: /home/cuiyingzhe/CESM/cesm1_2_1/case/preview_namelists failed: 65280
The ConfigCase.pm line 448 is:
Code:
foreach my $model qw(COMP_ATM COMP_LND COMP_ICE COMP_OCN COMP_GLC COMP_ROF COMP_WAV) {
How can I fix this?
Any help is appreciated.
 

Gary

Gary Cui
New Member
This zip file contains the four configure files I have edited in /scripts/ccsm_utils/Machines
 

Attachments

  • comfigures.zip
    12.7 KB · Views: 6
Top