Description of problem: The pypar-openmpi rpm attempts to load libmpi.so.0 but the current version is libmpi.so.1. This causes the module to fail on import. Version-Release number of selected component (if applicable): openmpi-1.5-3.fc15.x86_64 openmpi-devel-1.5-3.fc15.x86_64 pypar-openmpi-2.1.4_94-4.fc15.x86_64 pypar-common-2.1.4_94-4.fc15.noarch How reproducible: Always. Steps to Reproduce: yum install pypar-openmpi export PATH=/usr/lib64/openmpi/bin:${PATH} export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:${LD_LIBRARY_PATH} export PYTHONPATH=/usr/lib64/python2.7/site-packages/openmpi/ python import pypar Actual results: >>> import pypar Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/openmpi/pypar/__init__.py", line 33, in <module> from pypar import * File "/usr/lib64/python2.7/site-packages/openmpi/pypar/pypar.py", line 863, in <module> mpi = CDLL('libmpi.so.0', RTLD_GLOBAL) File "/usr/lib64/python2.7/ctypes/__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: libmpi.so.0: cannot open shared object file: No such file or directory Expected results: >>> import pypar Pypar (version 2.1.4) initialised MPI OK with 1 processors Additional info: The following line in pypar.py is causing the problem: mpi = CDLL('libmpi.so.0', RTLD_GLOBAL) I presume changing it to libmpi.so.1 will solve it.
I suspect a more general solution is to change it to libmpi.so (which is a symbolic link to libmpi.so.1, and probably was to libmpi.so.0 as well in older versions). I came very close to duplicating this bug report, by the way....
Good point. Seems like no-one has been using the package in quite some time.. It also occurs to me, that MPICH2 support is probably broken by that statement. I'll contact upstream for a fix.
pypar-2.1.4_94-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/pypar-2.1.4_94-5.fc16
pypar-2.1.4_94-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/pypar-2.1.4_94-5.fc15
Package pypar-2.1.4_94-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pypar-2.1.4_94-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16109/pypar-2.1.4_94-5.fc15 then log in and leave karma (feedback).
pypar-2.1.4_94-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
pypar-2.1.4_94-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.