Dear Jaekwang, A hint to what the problem might be is in the error message. These lines
-- HDF5_LIBRARIES: > /usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/local/mpi/mvapich2/2.2/intel/17.0/lib/libmpi.so > -- Insufficient hdf5 installation found: hdf5 has to be configured with > the same MPI configuration as deal.II. indicate that HDF5 was built against the mvapich2 MPI library (specifically, that configured using the Intel compiler). Presumably deal.II is automatically detecting this MPI library 4) openmpi/1.4-gcc thats in your path, which would be whats conflicting with the library that HDF5 links against. You'd be able to confirm this by looking further back in the configuration logs. What you should try is to explicitly tell deal.II which MPI library to use (i.e. mvapich2) by passing the following flags: -DDEAL_II_WITH_MPI:BOOL=ON \ > -DCMAKE_C_COMPILER=<path/to/bin/mpicc> \ > -DCMAKE_CXX_COMPILER=<path/to/bin/mpicxx> \ I hope that this helps you resolve your issue! Regards, Jean-Paul On Wednesday, May 31, 2017 at 11:37:26 PM UTC+2, Jaekwang Kim wrote: > > Hi all, > > I was trying to install deal.ii with MPI on cluster, but I met error. > > *-- Include > /home/jk12/Programs/dealii-8.5.0/cmake/configure/configure_hdf5.cmake* > > *-- Found HDF5_INCLUDE_DIR* > > *-- Found HDF5_LIBRARY* > > *-- Found HDF5_HL_LIBRARY* > > *-- Found HDF5_PUBCONF* > > *-- HDF5_LIBRARIES: > /usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/local/mpi/mvapich2/2.2/intel/17.0/lib/libmpi.so* > > *-- HDF5_INCLUDE_DIRS: /usr/include* > > *-- HDF5_USER_INCLUDE_DIRS: /usr/include* > > *-- Found HDF5* > > *-- Insufficient hdf5 installation found: hdf5 has to be configured with > the same MPI configuration as deal.II.* > > *-- DEAL_II_WITH_HDF5 has unmet external dependencies.* > > *CMake Error at cmake/macros/macro_configure_feature.cmake:112 (MESSAGE):* > > > > > * Could not find the hdf5 library!* > > > * Insufficient hdf5 installation found!* > > > * hdf5 has to be configured with the same MPI configuration as deal.II, > but* > > * found:* > > > * DEAL_II_WITH_MPI = ON* > > * HDF5_WITH_MPI = FALSE* > > > * Please ensure that a suitable hdf5 library is installed on your > computer.* > > > * If the library is not at a default location, either provide some hints > for* > > * autodetection,* > > > * $ HDF5_DIR="..." cmake <...>* > > * $ cmake -DHDF5_DIR="..." <...>* > > > * or set the relevant variables by hand in ccmake.* > > > *Call Stack (most recent call first):* > > * cmake/macros/macro_configure_feature.cmake:268 (FEATURE_ERROR_MESSAGE)* > > * cmake/configure/configure_hdf5.cmake:48 (CONFIGURE_FEATURE)* > > * cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)* > > * CMakeLists.txt:124 (VERBOSE_INCLUDE)* > > > > *-- Configuring incomplete, errors occurred!* > > while I am using following modules on my home.. > > * 1) torque/6.0.2 4) openmpi/1.4-gcc 7) git/1.7 > 10) valgrind/3.10.1* > > * 2) moab/9.0.2 5) gcc/4.9.2 8) > intel/17.0 11) petsc/3.7.5* > > * 3) env/taub 6) cmake/3.6.2 9) > mvapich2/2.2-intel-17.0 12) h5utils/1.1**2* > > > I do have hdf5 in h5utils....... > so I had configured before as ... > > *cmake -DCMAKE_INSTALL_PREFIX=~/Programs/dealii > -DHDF5_DIR="/usr/local/h5utils-1.12/"* > > what might be the problem ? > > > Thank you > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
