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

[netCDF #NQT-973003]: netcdf compilation - H5Fflush not found



Hello,

The issue appears to be a combination of how netCDF 4.4.1 (an old release) 
detects H5Fflush in HDF5 1.8.13 (also a very old release).  I would recommend 
updating both to the latest versions, 4.4.1.1 and 1.8.19 respectively.  If you 
do not wish to do that, you can also update to the latest netCDF-C *or* the 
latest HDF5; this will solve the issue you are observing.

I hope this helps,

-Ward

> Hello,
> 
> To my dismay, I've been trying for quite a long time to install the
> netcdf-4 library without success.
> 
> I tried different options, and remain stuck to the error in config:
> 
> /checking for library containing H5Fflush... no//
> //configure: error: Can't find or link to the hdf5 library. Use
> --disable-netcdf-4, or see config.log for errors./
> 
> I tried to implement the guidelines from
> 
> https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11836.html
> 
> Without success, the problem remains. Any idea would be welcome.
> 
> Thanks a lot
> 
> Paloma
> 
> ps -please find config.log in attachement
> 
> The machine OS is Ubuntu 16.04 / 64 bits
> 
> The hdf5 version *hdf5-1.8.13* was installed with parameters:
> 
> /export CC=mpicc//
> //export CXX=g++//
> //export FC=gfortran//
> //export F77=gfortran//
> //export F90=gfortran//
> //export NCDIR="/home/paloma/src/svn_coherens/V2.11/lib/netcdf"//
> //export HDF5="/home/paloma/src/svn_coherens/V2.11/lib/hdf5"//
> //export ZLIB="/home/paloma/src/svn_coherens/V2.11/lib/zlib"//
> //
> //export CPPFLAGS="-I${HDF5}/include -I${ZLIB}/include
> -I${NETCDF_LIB}/include"//
> //export LDFLAGS="-L${HDF5}/lib -L${ZLIB}/lib -L${NETCDF_LIB}/lib"//
> //export LD_LIBRARY_PATH="${HDF5}/lib:${ZLIB}/lib:${NETCDF_LIB}/lib:"//
> //
> //./configure --prefix=${HDF5}  --enable-shared --enable-fortran
> --enable-cxx --enable-parallel//
> //make//
> //make check//
> //make install/
> 
> And *netcdf-c-4.4.1* with parameters:
> 
> /export CC=mpicc//
> //export CXX=g++//
> //export FC=gfortran//
> //export F77=gfortran//
> //export F90=gfortran//
> //export NCDIR="/home/paloma/src/svn_coherens/V2.11/lib/netcdf"//
> //export HDF5="/home/paloma/src/svn_coherens/V2.11/lib/HDF5"//
> //export ZLIB="/home/paloma/src/svn_coherens/V2.11/lib/zlib"//
> //
> //export CPPFLAGS="-I${HDF5}/include -I${ZLIB}/include -I${NCDIR}/include"//
> //export LDFLAGS="-L${HDF5}/lib -L${ZLIB}/lib -L${NCDIR}/lib"//
> //export LD_LIBRARY_PATH="${HDF5}/lib:${ZLIB}/lib:${NCDIR}/lib:"//
> //
> //LIBS=-ldl ./configure --prefix=${NCDIR}  --enable-shared
> --enable-parallel-tests/
> 
> --
> 
> 
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> <https://www.naturalsciences.be/en/science/do/98>
> /<https://www.naturalsciences.be/en/science/do/98>
> /



Ticket Details
===================
Ticket ID: NQT-973003
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.