Yann, I can't recommend using a library built with non-matching versions of the HDF5 include files and HDF5 libraries. That's likely to result in problems that will be difficult to diagnose or fix. If you have multiple versions of the HDF5 header files and libraries, you need to build netCDF-4 so that it uses header files that match the version of the libraries. If the HDF5 libraries were installed in /usr/include and /usr/lib (which may be a link to /usr/lib64), those should match, unless something went wrong with the HDF5 installation. If you can't use matching header files and libraries, you should delete the versions that don't match and are getting in the way. Look at the libhdf5.settings file in the /usr/lib64 directory to see what version of HDF5 libraries you are using, and look at the macro H5_VERS_INFO in /usr/include/H5public.h. If those don't match, reinstall HDF5. If they do match, determine why they aren't being used and see if you can fix that problem. --Russ > address@hidden>: > > > Hi Yann, > > > > > I'm the sys admin of a cluster and I need ton install netcdf. > > > > > > I did a simple configure: > > > > > > ./configure --prefix=/opt/netcdf/netcdf-c-4.3.3.1 > > > > > > make -j6; make install > > > > > > As it's suggested, I did a make check, I had 26 failed and two pass! > > > > Did you use something like "make -j6 check"? If so, that won't work. > > There are tests that, if run in parallel, will interfere with each other. > > If > > that's what happened, try "make check" without the -j argument. > > > > No, I didn't used the -j flag for the check. > > > > > > If you didn't use make -j check, then please send us your config.log > > and output from "make" and "make check. > > > > > In the log, it's stated that I have a mismatch of hdf5. > > > > That would also cause test failures. > > > > > ... Indeed, the the > > > cluster I have two versions of hdf5. How can I specify which version I > > want > > > to use at compile time? > > > > Use the environment variables CPPFLAGS and LDFLAGS to specidy to > > configure exactly which HDF5 library to use, e.g. > > > > H5DIR=/path/to/install/location > > CPPFLAGS=-I${H5DIR}/include LDFLAGS=-L${H5DIR}/lib ./configure > > --prefix=... > > > > Specify the include and lib dir changed nothing. The main hdf5 lib on the > cluster is installed in /usr/include and /usr/lib64 from rpm. > > I feel that the problem is only seeing for the check. > setting HDF5_DISABLE_VERSION_CHECK to "1" let me pass all the check. > > If you think it's not an acceptable solution, let me know and I send you > the config.log, make and make check. > > Thanks. > > > > > For more information, see > > > > > > http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html#building > > > > --Russ > > > > > Thanks > > > > > > > > > > > > > > > -- > > > Yann SAGON > > > IngÃnieur systÃme HPC > > > 24 Rue du GÃnÃral-Dufour > > > 1211 GenÃve 4 - Suisse > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: VBL-754206 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > > > > -- > Yann SAGON > IngÃnieur systÃme HPC > 24 Rue du GÃnÃral-Dufour > 1211 GenÃve 4 - Suisse > TÃl. : +41 (0)22 379 7737 > address@hidden - www.unige.ch > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: VBL-754206 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.