Bug 906943 - pypar-openmpi installed in wrong directory
Summary: pypar-openmpi installed in wrong directory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: pypar
Version: el6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-01 23:47 UTC by mleary
Modified: 2013-02-19 22:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-19 22:13:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description mleary 2013-02-01 23:47:49 UTC
Description of problem:

pypar-openmpi installs in:

/usr/lib64/python2.6/site-packages/openmpi/pypar

it should install in:

/usr/lib64/python2.6/site-packages/compat-openmpi/pypar

because it is dynamically linked to the compat-openmpi version of the openmpi libraries.  This causes the pypar python module to fail to load.

Version-Release number of selected component (if applicable):

pypar-openmpi-2.1.4_94-2.el6.x86_64

Steps to Reproduce:
1. module load openmpi-x86_64
2. python
3. import pypar
  
Actual results:

ERROR: C extension mpiext could not be imported.
Please compile mpiext.c e.g. by running
  python compile_pypar_manually.py
in the pypar directory, or by using
  python setup.py install

WARNING: MPI library could not be initialised - running sequentially

Expected results:

Pypar (version 2.1.4) initialised MPI OK with 1 processors

Additional info:

You easily can workaround this my manually modifying the necessary env variables or loading both the openmpi and compat-openmpi modules, but that should not be necessary.  Easy fix is to change the install location of the rpm.

Comment 1 Susi Lehtola 2013-02-02 00:20:53 UTC
Thanks for the report. OpenMPI has been updated in an RHEL update, so I'll just recompile the package against the current version.

Comment 2 Fedora Update System 2013-02-02 09:19:58 UTC
pypar-2.1.4_94-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pypar-2.1.4_94-3.el6

Comment 3 Fedora Update System 2013-02-02 19:41:31 UTC
Package pypar-2.1.4_94-3.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pypar-2.1.4_94-3.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0241/pypar-2.1.4_94-3.el6
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-19 22:13:57 UTC
pypar-2.1.4_94-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.