Installing HDF5 ready version of Open MPI

Hello guys,

I want to install the HDF5 ready version of OpenMPI (Parallel HDF5) to my home directory. I need help on what I should exactly do. Below is what I think:

Firstly, the uname -a output for my system is:

Linux hippo1 2.6.32-754.3.5.el6.x86_64 #1 SMP Tue Aug 14 20:46:41 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


lsb_release -a:

LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.10 (Final)
Release: 6.10
Codename: Final
  1. Download the HDF5 source code:
  • The downloaded file is hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared.tar.gz

$tar -xzvf hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared.tar.gz

to have


  1. Enable parallel build of HDF5:

$ cd hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared
$ ./configure --enable-parallel --prefix=/path/to/install/directory
$ make
$ make check
$ make install

  1. Compile h5py in MPI mode:

$ export CC=mpicc
$ python configure --mpi – hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared --prefix=/path/to/install/directory
$ python build --prefix=/path/to/install/directory
$python install --prefix=/path/to/install/directory

I have taken most of these ideas from:

Appreciating for your help.


Please note that the file you specified for HDF5 is not the source code. It is the pre-built HDF5 binary distribution for Linux CentOS 7. (It already contains the built libraries and include files).

You can obtain the HDF5 source code from here:

Then you will be able to run the configure and make commands to build HDF5 as you described.

An h5py mailing list is described here if you need help with that: