install_h5py.sh 313 Bytes
Newer Older
Theo Steininger's avatar
Theo Steininger committed
1
#!/bin/bash
Theo Steininger's avatar
Theo Steininger committed
2 3 4
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
Theo Steininger's avatar
Theo Steininger committed
5
cd h5py-h5py*
Theo Steininger's avatar
Theo Steininger committed
6 7 8 9
export CC=mpicc
python setup.py configure --mpi
python setup.py build
python setup.py install
Theo Steininger's avatar
Theo Steininger committed
10
cd ..