Download and Install

Download

  1. Download version 1.12.0 of HDF5.

wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz

Compile

  1. Create configure file configure.sh

#!/bin/bash

    ./configure CC=mpiicc FC=mpiifort CXX=mpiicpc \
    --enable-fortran \
    --enable-parallel \
    --enable-shared \
    --prefix=/opt/software/hdf5-1.12.0 \
    --with-zlib=/opt/software/zlib-1.2.11
  1. configure HDF5

bash configure.sh
  1. compile and test HDF5

make && make check && make Install