Skip to content
Snippets Groups Projects

Changed h5py install script to pip.

Merged Theo Steininger requested to merge h5py_via_pip into master
1 file
+ 2
9
Compare changes
  • Side-by-side
  • Inline
+ 2
9
#!/bin/bash
wget https://api.github.com/repos/h5py/h5py/tags -O - | grep tarball_url | grep -v rc | head -n 1 | cut -d '"' -f 4 | wget -i - -O h5py.tar.gz
tar xzf h5py.tar.gz
cd h5py-h5py*
export CC=mpicc
export HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
python setup.py configure --mpi
python setup.py build
python setup.py install
cd ..
rm -r h5py-h5py*
rm h5py.tar.gz
export HDF5_MPI="ON"
pip install --no-binary=h5py h5py
Loading