This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Erik, > Sorry to reopen this issue, but my user is having the same issue as is > happening with the failed test. On a make test we are getting this output: > > make test > make[1]: Entering directory > `/uufs/chpc.utah.edu/sys/pkg/netcdf-perl/1.2.3-rebuild/src' > > making `test' in directory > /uufs/chpc.utah.edu/sys/pkg/netcdf-perl/1.2.3-rebuild/src/perl > > make[2]: Entering directory > `/uufs/chpc.utah.edu/sys/pkg/netcdf-perl/1.2.3-rebuild/src/perl' > cp NetCDF.pm blib/lib/NetCDF.pm > AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF) > PERL_DL_NONLAZY=1 /uufs/chpc.utah.edu/sys/pkg/perl/5.10.0/bin/perl > "-Iblib/lib" "-Iblib/arch" test.pl > Can't load 'blib/arch/auto/NetCDF/NetCDF.so' for module NetCDF: > blib/arch/auto/NetCDF/NetCDF.so: undefined symbol: ncopts at > /uufs/chpc.utah.edu/sys/pkg/perl/std/lib/5.10.0/x86_64-linux/DynaLoader.pm > line 203. > at test.pl line 5 > Compilation failed in require at test.pl line 5. > BEGIN failed--compilation aborted at test.pl line 5. > make[2]: *** [test_dynamic] Error 9 > make[2]: Leaving directory > `/uufs/chpc.utah.edu/sys/pkg/netcdf-perl/1.2.3-rebuild/src/perl' > make[1]: *** [perl/test] Error 1 > make[1]: Leaving directory > `/uufs/chpc.utah.edu/sys/pkg/netcdf-perl/1.2.3-rebuild/src' > make: *** [test] Error 2 > > > As you stated earlier about the environment variable LD_NETCDF being > set, it's being set in the CUSTOMIZE directory as > > LD_NETCDF='-L/uufs/chpc.utah.edu/sys/pkg/netcdf/std_intel/lib/' You would need to set the LD_NETCDF variable to more than you did. Try this: LD_NETCDF='-L/uufs/chpc.utah.edu/sys/pkg/netcdf/std_intel/lib -lnetcdf' You'll need to execute the command "make distclean", then set the LD_NETCDF variable, then execute the "configure" script, then execute the command "make", and then "make test". > Thanks, > Erik > > -- > Erik Brown > Center for High Performance Computing > University of Utah > (801) 824-4996 Regards, Steve Emmerson Ticket Details =================== Ticket ID: AZE-820808 Department: Support netCDF Perl Priority: Normal Status: Closed