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.
> Dear Sir: > > I am compiling NetCDF 3.6.2-beta3 on an HP XC Opteron-based Linux cluster at > ASC MSRC. I used the following steps: > > setenv FC pgf90 > setenv F90 pgf90 > setenv CC gcc > setenv CXX pgCC > setenv FFLAGS "-O3 -fastsse -tp k8-64" > setenv F90FLAGS "-O3 -fastsse -tp k8-64" > setenv CFLAGS "-O3 -funroll-loops -march=k8 -m64 -mfpmath=sse -msse2 > -ffast-math" > setenv CXXFLAGS "-O3 -fastsse -tp k8-64" > setenv CPPFLAGS "-DNDEBUG -DpgiFortran -D_FILE_OFFSET_BITS=64 \ > -D_LARGEFILE_SOURCE" > > ./configure > ./make > ./make tests > > I had the following C++ failures: > > libtool: link: pgCC -O3 -fastsse -tp k8-64 -o .libs/nctst nctst.o > -L/workspace/oppe/netcdf-3.6.2-beta3/cxx > -L/workspace/oppe/netcdf-3.6.2-beta3/libsrc ../cxx/.libs/libnetcdf_c++.so > ../libsrc/.libs/libnetcdf.so -Wl,--rpath -Wl,/usr/local/lib > libtool: link: creating nctst > make[2]: Leaving directory `/workspace/oppe/netcdf-3.6.2-beta3/cxx' > make check-TESTS > make[2]: Entering directory `/workspace/oppe/netcdf-3.6.2-beta3/cxx' > C++ runtime abort: internal error: static object marked for destruction more > than once > /bin/sh: line 1: 16554 Aborted ${dir}$tst > FAIL: nctst > > *** Testing C++ API test program output. > *** dumping classic format file to nctst_classic.cdl and comparing... > /workspace/oppe/netcdf-3.6.2-beta3/ncdump/.libs/lt-ncdump: nctst_classic.nc: > No such file or directory > FAIL: run_nc_tests.sh > ========================================= > 2 of 2 tests failed > Please report to address@hidden > ========================================= > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory `/workspace/oppe/netcdf-3.6.2-beta3/cxx' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/workspace/oppe/netcdf-3.6.2-beta3/cxx' > make: *** [check-recursive] Error 1 > > > These same definitions worked with the netcdf-3.6.1 installation without any > test failures. > > Tom Oppe > > > Thanks Tom! We are looking into this now. There have been some changes in the C++ API code in this release, or this may be a configure issue. I'll let you know when we have a new beta release which may work better for you. Thanks, Ed Hartnett Ticket Details =================== Ticket ID: IRF-709042 Department: Support netCDF Priority: Critical Status: Open