Works on Mac OS 10.11.6, HDF5 1.8.17
- Download and install dependencies like zlib, openmpi. Use homebrew.
- Download source tarball from http://www.hdfgroup.org/HDF5/release/obtain5.html
- Configure Makefile using the following command:
$ CC=/usr/local/bin/mpicc ./configure --with-zlib=/usr/local/opt --disable-fortran --prefix=/usr/local/ --enable-shared --enable-parallel