abraham_endalamaw@pnnl_gov
New Member
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