Hello, everyone!
I am trying to port CESM1.2.1 to my personal computer:
<OS>LINUX</OS> (Ubuntu 20.04)
<COMPILERS>intel</COMPILERS>
However, when I created a new case, some errors occurred. I ran the following command:
Any suggestions are appreciated.
Best wishs,
Zhanyi
I am trying to port CESM1.2.1 to my personal computer:
<OS>LINUX</OS> (Ubuntu 20.04)
<COMPILERS>intel</COMPILERS>
However, when I created a new case, some errors occurred. I ran the following command:
And here is the error:yuanhang@yuanhang-Lenovo-Legion-Y7000:~/cesm1_2_1/scripts$ ./create_newcase -case test -res f19_g16 -compset X -mach userdefined
I tried to change different machines and define my own machine but the error still occurs. How should I do?syntax error at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 448, near "$model qw(COMP_ATM COMP_LND COMP_ICE COMP_OCN COMP_GLC COMP_ROF COMP_WAV)"
Global symbol "$model" requires explicit package name (did you forget to declare "my $model"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 449.
syntax error at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 468, near "} else"
Global symbol "$format" requires explicit package name (did you forget to declare "my $format"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 469.
Global symbol "$filename" requires explicit package name (did you forget to declare "my $filename"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 469.
Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 470.
Global symbol "$xmode" requires explicit package name (did you forget to declare "my $xmode"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 470.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.
Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.
Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.
Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.
Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.
Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 474.
Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 477.
syntax error at /home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 479, near "}"
/home/yuanhang/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm has too many errors.
Compilation failed in require at ./create_newcase line 361.
Any suggestions are appreciated.
Best wishs,
Zhanyi