#!/bin/bash apt-get install -y libhdf5-openmpi-dev curl -s https://api.github.com/repos/h5py/h5py/tags | grep tarball_url | head -n 1 | cut -d '"' -f 4 | wget -i - -O h5py.tar.gz tar xzf h5py.tar.gz cd h5py-h5py* export CC=mpicc python setup.py configure --mpi python setup.py build python setup.py install cd ..