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

Or

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: https://www.hdfgroup.org/login?redirect_to=/downloads/hdf5/
  • 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

hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared

  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 setup.py configure --mpi – hdf5-1.10.4-linux-centos7-x86_64-gcc485-shared --prefix=/path/to/install/directory
$ python setup.py build --prefix=/path/to/install/directory
$python setup.py install --prefix=/path/to/install/directory

I have taken most of these ideas from: http://docs.h5py.org/en/latest/mpi.html

Appreciating for your help.

ey

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:
https://www.hdfgroup.org/downloads/hdf5/source-code/

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:
http://docs.h5py.org/en/latest/contributing.html

-Barbara