CMake Error

Hello everyone
During the installation of the latest version of openmc i get this error message

lahdour@dell:~/openmc/build$ cmake …
– The Fortran compiler identification is GNU
– Check for working Fortran compiler: /usr/bin/f95
– Check for working Fortran compiler: /usr/bin/f95 – works
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - done
– Checking whether /usr/bin/f95 supports Fortran 90
– Checking whether /usr/bin/f95 supports Fortran 90 – yes
– Found HDF5: HDF5_hdf5hl_fortran_LIBRARY-NOTFOUND;/usr/lib/x86_64-linux-gnu/libhdf5_hl.so;HDF5_hdf5_fortran_LIBRARY-NOTFOUND;/usr/lib/x86_64-linux-gnu/libhdf5.so;-lpthread;-lz;-ldl;-lm (found version “1.8.11”)
CMake Error at CMakeLists.txt:78 (message):
Parallel HDF5 must be used with MPI.

– Configuring incomplete, errors occurred!
See also “/home/lahdour/openmc/build/CMakeFiles/CMakeOutput.log”.

How can i resolve this error
Regards

Ssi Mohamed,
Try to install the latest version of cmake and use it in compiling both HDF5 and OpenMC. HDF5 needs also to be compiled by use of mpich2 (i.e. export FC=mpif90)

Tarek

Please note that in version 0.7.1, it is possible to compile with HDF5 and MPICH/OpenMPI together without necessarily using parallel HDF5. I would suggest updating your version of OpenMC and then trying to compile again.

Best,
Paul