plantform: centOS 7
CESM version: 1_2_1
compiler: ifort icc
MPI: mpich
In the scripts folder, I ran the following command:
How can I fix this?
Any help is appreciated.
CESM version: 1_2_1
compiler: ifort icc
MPI: mpich
In the scripts folder, I ran the following command:
to create a simple case. Then in the case 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
There is an error:[root@localhost case]# ./cesm_setup
The ConfigCase.pm line 448 is: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
Code:
foreach my $model qw(COMP_ATM COMP_LND COMP_ICE COMP_OCN COMP_GLC COMP_ROF COMP_WAV) {
Any help is appreciated.