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 |
- 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
- 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
- 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