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

machine configuration and generating a domain file

Hello,  I was trying to configure my machine to constancecd $CCSMROOT/tools/mapping/gen_domain_files/src$CCSMROOT/scripts/ccsm_utils/Machines/configure -mach constance -compiler intelThe following error is preventing me to the next. syntax error at $CCSMROOT/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 $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 449.syntax error at $CCSMROOT/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 $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 469.Global symbol "$filename" requires explicit package name (did you forget to declare "my $filename"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 469.Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 470.Global symbol "$xmode" requires explicit package name (did you forget to declare "my $xmode"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 470.Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 471.Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 473.Global symbol "$group" requires explicit package name (did you forget to declare "my $group"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 474.Global symbol "$fh" requires explicit package name (did you forget to declare "my $fh"?) at $CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm line 477.syntax error at /pic/projects/sbr_cpa/enda410/test/cesm1_2_1/scripts/ccsm_utils/Case.template/ConfigCase.pm line 479, near "}"$CCSMROOT/scripts/ccsm_utils/Case.template/ConfigCase.pm has too many errors.Compilation failed in require at $CCSMROOT/scripts/ccsm_utils/Machines/configure line 233. When I proceed with the gen_domain_files by typing gmake  The following errors are printer.  pgf90 -c   -I/share/apps/netcdf/4.3.2/pgi/14.10/lib -I/share/apps/netcdf/4.3.2/pgi/14.10/include  gen_domain.F90pgf90 -o ../gen_domain gen_domain.ogen_domain.o: In function `gen_domain':$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:229: undefined reference to `nf_open_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:229: undefined reference to `nf_get_att_text_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:229: undefined reference to `nf_get_att_text_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:229: undefined reference to `nf_get_att_text_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:229: undefined reference to `nf_get_att_text_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:248: undefined reference to `nf_get_att_text_'$CCSMROOT/tools/mapping/gen_domain_files/src/./gen_domain.F90:248: more undefined references to `nf_get_att_text_' follow   I have properly set the netcdf and other required directories. I am not sure what is causing the error. Any suggestion that would help me resolve the error is appciated.  Thanks, Abraham  
 

jedwards

CSEG and Liaisons
Staff member
You are using a newer perl version than that code supports, if you have an older perl available you can try that.  Or you need to go through the code and make the suggested changes.At line 448$model qw(should bemy $model (qw(And the build error is because you didn't specify a NETCDF path.  
 
Thank you Jedwards, When I added a brace as you suggested, it most of the errors disapeared except one new. Unescaped left brace in regex is deprecated, passed through in regex; marked by
 

rickderick7

New Member
Yes, I face the similar issue but one more as well, I got the issue as mentioned by abraham and after the configuration, I try to print out some stuffs from my machine, that is also stopped working, It was printing before. I just setup my printer with the regular steps instructed on the below site,

<a target="_new" href="123 HP Officejet 5255 Wireless Setup | 123.hp.com/oj5255 Printer
">123.HP.com/setup 5255</a>

Could anyone please advice? and for the first error as well?
 
Top