This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

HDF5 error when building Dolfin

0 votes

I installed HDF5 version 1.8.16 from source.
Created the environment variables,
HDF5_INCLUDE_DIRS=....../hdf5-1.8.16/build/include
HDF5_LIBRARIES=......./hdf5-1.8.16/build/lib
Then added an option to cmake,
cmake -DHDF5_C_COMPILER_EXECUTABLE:FILEPATH=......./hdf5-1.8.16/build/bin/h5pcc ..
Cmake does find HDF5, but when I build Dolfin 1.6.0, I get an error message from a HDF5 wrapper:
dolfin/io/HDF5Interface.h:265:7: error: ‘H5Pset_dxpl_mpio’ was not declared in this scope
Overall, it is very similar to what is described at https://answers.launchpad.net/dolfin/+question/225224, except that in my case HDF5 is recognized.

Is there a known incompatibility between Dolfin 1.6.0 and HDF5 1.8.16?
Is there a way to fix that problem?

Thanks a lot!

closed with the note: Please use fenics-support@googlegroups.com for installation/configuration problems.
asked Mar 12, 2016 by BC FEniCS Novice (790 points)
closed Mar 18, 2016 by Garth N. Wells

Have you compiled HDF5 without MPI?

Thanks for your reply. When compiling HDF5, I did

CC=mpicc ../configure --enable-parallel --prefix=$PWD
make
make check
make install

When HDF5 is not compiled in parallel, Dolfin detects that and ignore HDF5. In my case, HDF5 is detected and accepted by Dolfin during the configuration stage (cmake). But when I build I get the above error message.

...