Problem with H5Fopen

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Marta Garcia

Problem with H5Fopen

Post by Marta Garcia »

Good morning,

I am a new Saturne user and I have a problem to build the fvm-0.15.1 package on a BlueGene/P machine.

I used the 'install_saturne.py' script to install the packages:
~/opt/hdf5-1.6.10
~/opt/cgnslib-2.5.4
~/opt/med-2.3.6

the automatic installer blocks in the MPI section so I switched to manual installation for BFT and FVM packages.

I have no problem with bft-1.1.3 with the following commands:
$ ./configure --prefix=$HOME/Code_Saturne/2.0/arch/bgp --without-zlib --build=ppc64 --host=ppc --disable-malloc-hooks

However, while trying to build the fvm-0.15.1 package I find this problem:

-----------------------------
checking for H5Fopen in -lhdf5... no
configure: error: in `/home/mgarcia/Code_Saturne/2.0/src/fvm-0.15.1':
configure: error: HDF5 support is requested, but test for HDF5 failed!
See `config.log' for more details.

-----------------------------

I am using the same options that someone else used for another BlueGene/P but apparently I missed something...

should I build HDF package with a particular option ? or it's the lack of zlib link ?

Any help would be appreciated.

Marta
Attachments
config.log
(27.58 KiB) Downloaded 202 times
Yvan Fournier

Re: Problem with H5Fopen

Post by Yvan Fournier »

Hello,

Your version of HDF5 was probably not built the same way as ours: looking at your config.log file, your version of HDF5 seems to be built with zlib support, while ours was not. The error is due to not finding the zlib dependencies in HDF5.

Adding:

LIBS_ADD="-lz"

to the configure line for FVM should help (you may also need to add LD_ADD=-L<zlib_prefix> if zlib is installed in a non-default directory).

Best regards,

Yvan
Post Reply