Installation with MPI and PETSc => hdf is insufficient. How to solve that issue? (my own approach didn't work)

115 views
Skip to first unread message

Tobias Neef

unread,
Aug 22, 2019, 1:30:17 PM8/22/19
to deal.II User Group
Dear deal.II team,

I want to learn example 55 and it is very difficult to install deal.ii with the additional libraries.

I opened the deal.II-9.1.1/build/
CMakeCache.txt and changed the following lines from OFF to ON:

DEAL_II_WITH_MPI:BOOL=ON
DEAL_II_WITH_PETSC:BOOL=ON

and added the petsc path.

The make install command told me that PETSC was found.
It told me that there is a "Insufficient hdf5 installation".

So I did the following:
wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.9.tar.gz
tar xf hdf5-1.10.5.tar.gz
cd hdf5-1.8.9/
./configure --prefix=`pwd`/build/ -enable-parallel
make install
After doing it I added the path in the CMakeCache.txt
HDF5_DIR:PATH=/path/to/hdf5-1.10.5/

The make install is still not working.
hdf5 is still insufficient.
It tells me afterwards that it found: HDF5_WITH_MPI = FALSE

How can I solve my issue?

Sincerely,
Tobias Neef

Wolfgang Bangerth

unread,
Aug 22, 2019, 2:00:20 PM8/22/19
to dea...@googlegroups.com
On 8/22/19 11:30 AM, Tobias Neef wrote:
>
> The make install is still not working.
> hdf5 is still insufficient.
> It tells me afterwards that it found: HDF5_WITH_MPI = FALSE

It is telling you that the HDF5 installation it found wasn't compiled
with MPI enabled. But since presumably either deal.II or PETSc or one of
the other libraries you have was compiled against MPI, HDF5 *also* has
to have MPI enabled.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
Reply all
Reply to author
Forward
0 new messages