tar -xvf hdf5-1.10.5.tar.gz
cd hdf5-1.10.5
./configure --prefix=/path/to/HDF5 --enable-fortran --enable-parallel CC=mpicc FC=mpif90 CXX=mpicxx
make -j make install
export LD_LIBRARY_PATH=/path/to/HDF5/lib:$LD_LIBRARY_PATH export HDF5=/path/to/HDF5