[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IDJ-549001]: Problem installing netcdf-4.1.3 with hdf5



Hi Alejandro,
 
> I'm trying to buid netcdf-4.1.3.
> 
> I am using hdf5-1.8.9 wich had be donne with zlib-1.2.7 and szip-2.1.
> 
> I type
> cd netcdf-4.1.3/
> export CC=icc
> export CXX=icpc
> export F77=ifort
> export FC=ifort
> export CPP='icc -E'
> export CXXCPP='icpc -E'
> export F90=ifort
> 
> CPPFLAGS=-I/hdf5/local/include LDFLAGS=-L/hdf5/local/lib ./configure
> 
> And configure ends good (attached config.log)
> 
> So i continued with:
> make check install 2>&1 | tee make.log
> 
> After some minutes i got:
> ...
> ================================================
> 1 of 26 tests failed
> Please report to address@hidden
> ================================================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/netcdf-4.1.3/h5_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/netcdf-4.1.3/h5_test'
> make: *** [check-recursive] Error 1
> 
> (attached make.log)
> 
> Looking for the error in make.log i found:
> 
> PASS: tst_h_atts4
> HDF5-DIAG: Error detected in HDF5 (1.8.9) thread 0:
> #000: H5Z.c line 1376 in H5Zget_filter_info(): Filter not defined
> major: Invalid arguments to routine
> minor: Bad value
> #001: H5Z.c line 1019 in H5Z_find(): required filter is not registered
> major: Data filters
> minor: Object not found
> 
> *** Checking HDF5 variable functions.
> *** Checking HDF5 boolean variables...ok.
> *** Checking HDF5 variable with unlimited dimension...ok.
> *** Checking HDF5 deflate filter setting and getting...Sorry! Unexpected
> result, tst_h_vars.c, line: 230
> FAIL: tst_h_vars

This indicates the HDF5 library can't find zlib.  When you build HDF5, you 
need to configure it with the --with-zlib= option to tell it where to find 
the zlib library.  The value of that option should point to a directory above
the lib and include directories that contain the libz library and header 
file.

Then rebuild the netCDF library and this problem should go away.  I hope
this helps ...

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IDJ-549001
Department: Support netCDF
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.