Commit e9b60251 authored by Theo Steininger's avatar Theo Steininger

Improved install_h5py.sh. Now won't download release candidates from h5py anymore.

parent 6f19b45d
Pipeline #9814 passed with stage
in 10 minutes and 12 seconds
...@@ -4,10 +4,11 @@ pip install cython ...@@ -4,10 +4,11 @@ pip install cython
apt-get update -qy apt-get update -qy
apt-get install -y libhdf5-openmpi-dev 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 curl -s https://api.github.com/repos/h5py/h5py/tags | grep tarball_url | grep -v rc | head -n 1 | cut -d '"' -f 4 | wget -i - -O h5py.tar.gz
tar xzf h5py.tar.gz tar xzf h5py.tar.gz
cd h5py-h5py* cd h5py-h5py*
export CC=mpicc export CC=mpicc
export HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
python setup.py configure --mpi python setup.py configure --mpi
python setup.py build python setup.py build
python setup.py install python setup.py install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment