Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 491680

Summary: dev-python/h5py - add USE=mpi support
Product: Gentoo Linux Reporter: Freddie Witherden <freddie>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff -u of ebuilds

Description Freddie Witherden 2013-11-19 17:11:12 UTC
The h5py library has support for MPI via the mpi4py package (so long as the underlying hdf5 library is compiled with MPI support).  See http://www.h5py.org/docs/topics/mpi.html

However, the current ebuild builds h5py without MPI support:
>>> from h5py import h5
>>> h5.get_config().mpi
False

It would therefore be nice if h5py exposed an MPI use flag (which maps down to the --mpi argument to setup.py).

Reproducible: Always
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-04-03 16:59:39 UTC
Created attachment 374178 [details, diff]
diff -u of ebuilds

how does this look?  Test phase edited, does not require nose. other minor tidies.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-04-07 02:34:13 UTC
*h5py-2.2.1-r1.ebuild (07 Ap=r 2014)

  07 Apr 2014; Ian Delaney <idella4@gentoo.org> +h5py-2.2.1-r1.ebuild,
  -h5py-2.2.0.ebuild:
  revbump; Add IUSE mpi, update ebuild and test phase due to effects of 
  use flag, fixes Bug #491680, rm old