Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491680 - dev-python/h5py - add USE=mpi support
Summary: dev-python/h5py - add USE=mpi support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 17:11 UTC by Freddie Witherden
Modified: 2014-04-07 02:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff -u of ebuilds (h5py.patch,1.46 KB, patch)
2014-04-03 16:59 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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