Bug 906943

Summary: pypar-openmpi installed in wrong directory
Product: [Fedora] Fedora EPEL Reporter: mleary
Component: pyparAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: el6CC: susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-19 22:13:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.