Crash with pyMPI that doesn't happen with latest upstream
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-numpy (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
A newer version of openmpi is available upstream: 1.2.8 .
I am using pyMPI-2.5b0 and it crashes and dies if I use the Ubuntu openmpi binary, but runs fine with the newer upstream. This occurs on both 32 and 64-bit Ubuntu, on both Hardy Heron and Intrepid Ibex. I realize (of course) that pyMPI is not packaged by Ubuntu -- I compile it from source. But the point is, it runs nicely when I compile openmpi myself,
At the moment, I have no cluse where the bug is, but presumably the OpenMPI guys (and gals) fixed something since the 1.2.5 version adopted by Ubuntu. Sorry for the lack of detail here.
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
mace:~$
~$ apt-cache policy libopenmpi-dev
libopenmpi-dev:
Installed: 1.2.5-1ubuntu1.1
Candidate: 1.2.5-1ubuntu1.1
Version table:
*** 1.2.5-1ubuntu1.1 0
500 http://
100 /var/lib/
1.2.5-1ubuntu1 0
500 http://
mace:~$
$ pyMPI
libibverbs: Fatal: couldn't read uverbs ABI version.
-------
[0,0,0]: OpenIB on host mace was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
-------
Python 2.5.2 (pyMPI 2.5b0) on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
import add_newdocs
File "/home/
from lib import add_newdoc
File "/home/
from type_check import *
File "/home/
import numpy.core.numeric as _nx
File "/home/
import multiarray
ImportError: /home/mace/
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from apport.
File "/usr/lib/
from apport.report import Report
File "/usr/lib/
import fileutils
File "/usr/lib/
from packaging_impl import impl as packaging
File "/usr/lib/
import apt
File "/usr/lib/
import apt_pkg
ImportError: /usr/lib/
Original exception was:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
import add_newdocs
File "/home/
from lib import add_newdoc
File "/home/
from type_check import *
File "/home/
import numpy.core.numeric as _nx
File "/home/
import multiarray
ImportError: /home/mace/
[76571 refs]
>>>
I can't reproduce you problem with Intrepid on 64bit with openmpi and the current pyMPI (2.5b0).
I compiled pyMPI via configure and make, and also ran make check (1 of 89 tests fails).
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
> apt-cache policy libopenmpi-dev de.archive. ubuntu. com intrepid/universe Packages dpkg/status
libopenmpi-dev:
Installed: 1.2.7~rc2-1ubuntu2
Candidate: 1.2.7~rc2-1ubuntu2
Version table:
*** 1.2.7~rc2-1ubuntu2 0
500 http://
100 /var/lib/
> ./pyMPI
Python 2.5.2 (r252:60911, Oct 5 2008, 19:49:54)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>