Skip to content

Commit

Permalink
use Ubuntu python-h5py package for parallel-HDF5 tests (NanoComp#1182)
Browse files Browse the repository at this point in the history
* use Ubuntu python-h5py package for parallel-HDF5 tests

Instead of pip, which seems to be running into some trouble compiling h5py with the latest versions.

* using python3-h5py for Python 3.7

* need to set system_site_packages: true to use Ubuntu h5py, I think

* system_site_packages only works for the system Python (3.5?)
  • Loading branch information
stevengj authored Apr 15, 2020
1 parent cecc361 commit af85707
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,16 @@ matrix:
- CXX=mpic++
- CPPFLAGS="${HDF5_PARALLEL_CPPFLAGS} ${CPPFLAGS}"
- LDFLAGS="${HDF5_PARALLEL_LDFLAGS} ${LDFLAGS}"
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- *common_deps
- libhdf5-openmpi-dev
- python-h5py
install:
- pip install numpy mpi4py scipy matplotlib
- pip install --no-binary=h5py h5py
- python: "3.7"
env:
- MPICONF="--without-mpi"
Expand Down Expand Up @@ -127,7 +129,7 @@ matrix:
- libhdf5-serial-dev
install:
- pip install numpy mpi4py scipy h5py matplotlib
- python: "3.7"
- python: "3.5"
env:
- MPICONF="--with-mpi"
- MKCHECKFLAGS=""
Expand All @@ -136,14 +138,16 @@ matrix:
- CXX=mpic++
- CPPFLAGS="${HDF5_PARALLEL_CPPFLAGS} ${CPPFLAGS}"
- LDFLAGS="${HDF5_PARALLEL_LDFLAGS} ${LDFLAGS}"
virtualenv:
system_site_packages: true
addons:
apt:
packages:
- *common_deps
- libhdf5-openmpi-dev
- python3-h5py
install:
- pip install numpy mpi4py scipy matplotlib ipython
- pip install --no-binary=h5py h5py


##################################################
Expand Down

0 comments on commit af85707

Please sign in to comment.