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

[netCDF #UIK-136600]: Error: H5Fflush not found



Ok, it appears that there is no libhdf5.so in 
/software/HDF_Group/HDF5/1.10.5/lib
When you installed hdf5, what value of --prefix did you use?
I suspect you defaulted it, so I would look around in /usr/local/lib
to see if there is a libhdf5.so there.



> 
> Thanks for replying!
> I tried the new command of configure, and got some new error shown below. I 
> also attached the config.log file.
> $ CPPFLAGS='-I${H5DIR}/include' LDFLAGS='-L${H5DIR}/lib -lhdf5 -lhdf5_hl' 
> ./configure --prefix=/software/test_built_hdf_fortran/
> 
> '''
> checking for gcc... gcc
> checking whether the C compiler works... no
> configure: error: in `/software/netcdf-4.1.3':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> ''''
> 
> My environment was set up like this in .bashrc file:
> 
> '''''''''
> export FC=gfortran
> export F90=gfortran
> export F95=gfortran
> export F77=gfortran
> export CC=gcc
> export CXX=g++
> export CFLAGS=-fPIC
> ''''''''''
> 
> Thank you in advance!
> 
> Best regards
> Yifan
> ________________________________________
> From: Unidata netCDF Support <address@hidden>
> Sent: Thursday, April 11, 2019 3:34 PM
> To: Yifan Wang
> Cc: address@hidden
> Subject: [netCDF #UIK-136600]: Error: H5Fflush not found
> 
> try changing the configure line to this:
> > $ CPPFLAGS='-I${H5DIR}/include' LDFLAGS='-L${H5DIR}/lib -lhdf5 -lhdf5_hl' 
> > ./configure --prefix=/software/test_built_hdf_fortran/
> 
> 
> 
> >
> > I am trying to build netcdf  through Cygwin on Windows7, but I got the
> > error message about "H5Fflush not found". My HDF5 version is 1.10.5,
> > and the NetCDF4 version is 4.1.3.
> >
> > The error message I got is:
> >
> > ?
> >
> > 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.
> >
> > Before I started working on NetCDF4 configure process, I already set:
> >
> > export H5DIR='/software/HDF_Group/HDF5/1.10.5'
> > export LD_LIBRARY_PATH=/software/HDF_Group/HDF5/1.10.5/lib
> >
> > The configure command I used was:
> >
> > $ CPPFLAGS='-I${H5DIR}/include' LDFLAGS='-L${H5DIR}/lib' ./configure 
> > --prefix=/software/test_built_hdf_fortran/
> >
> > If I add "--disable-netcdf-4", the configuration process will finish
> > successfully, but I think I need NetCDF4 enable for my ROMS model.
> >
> > I already attached the config.log file that you may need to check. I
> > really confused about this error since every set up looks fine.... I
> > would be appreciated if you could provide some suggestion.
> >
> > I have another question which may related with this... I downloaded
> > netcdf-4.1.3.tar.gz, which is neither "netcdf-c-x.x.x' nor
> > "netcdf-fortran-x.x.x".  Does this matter? Since it says that NetCDF-C
> > is required for the other libraries, such as Fortran, Python, Java and
> > C++. I just began with building netcdf-4.3.1. Will this cause problem?
> >
> > Thanks for your time!
> >
> > Best
> > Yifan
> >
> >
> 
> =Dennis Heimbigner
> Unidata
> 
> 
> Ticket Details
> ===================
> Ticket ID: UIK-136600
> Department: Support netCDF
> Priority: Normal
> Status: Open
> ===================
> 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.
> 
> 
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: UIK-136600
Department: Support netCDF
Priority: Normal
Status: Open
===================
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.