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.
Hi Ben, > sorry to bombard your with questions. No problem ... > have you had a minute to consider my last one? > I have installed hdf5 into the directory: > > /mnt/data/bweinste/MEGAN/MEGANv2.10/local/hdf5 OK, but are you sure that's HDF5 version 1.8.8 or later, preferably 1.8.13? You can check by looking in the file /mnt/data/bweinste/MEGAN/MEGANv2.10/local/hdf5/lib/libhdf5.settings for a line like: HDF5 Version: 1.8.13 which identifies the installed version. An error message you're getting when trying to run the netCDF tests seems to indicate an older HDF5 version, 1.8.4 (patch1), which is too old to pass the stringent tests in netCDF 4.3.2. > > ========================================= > > > > netCDF 4.3.2: ncdump/test-suite.log > > > > ========================================= > > > > # TOTAL: 39 > > # PASS: 37 > > # SKIP: 0 > > # XFAIL: 0 > > # FAIL: 2 > > # XPASS: 0 > > # ERROR: 0 > > > > .. contents:: :depth: 2 > > > > FAIL: tst_h_scalar > > > > ================== > > > > HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 47514256252672: > > #000: ../../../src/H5T.c line 1595 in H5Tcreate(): unable to create type To build netCDF, you need to set CPPFLAGS and LDFLAGS to point to your HDF5 installation directories, something like H5DIR=/mnt/data/bweinste/MEGAN/MEGANv2.10/local/hdf5 CPPFLAGS=-I${H5DIR}/include LDFLAGS=-L${H5DIR}/lib ./configure ... make check make install # (or sudo make install) --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FLE-841916 Department: Support netCDF Priority: Normal Status: Closed