[Bug 73474] Re: mpi.py fails to run: invalid MPI destination

James Gray jamespgray at gmail.com
Sat Feb 6 20:38:59 UTC 2010


I am getting the same message, but I am using python-mpi package directly by executing:
mpiexec -n 5 python /usr/share/doc/python-mpi/examples/mpi.py

Tracked this back a little further.  The traceback that I saw was from
File "/usr/lib/python2.6/dist-packages/Scientific/MPI/core.py", line
303, in send.  This is within the DummyCommunicator class.  It indicates
that the try condition above has failed.  I added "import traceback" and
"traceback.print_exc()" to core.py at line 284.

After running again another traceback appears just before the other:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/Scientific/MPI/core.py", line 279, in <module>
    from Scientific_mpi import *
ImportError: No module named Scientific_mpi

The python-mpi module does not contain any such module nor is there one
available on my system.  Perhaps instead of Scientific_mpi it should be
Scientific.MPI (seperated with a period).

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/Scientific/MPI/core.py", line 280, in <module>
    from Scientific.MPI import _C_API, _registerErrorObject
ImportError: cannot import name _C_API

Not sure where to go from here.  Could this be the result of a missing
dependency?

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

uname -m
x86_64

-- 
mpi.py fails to run: invalid MPI destination
https://bugs.launchpad.net/bugs/73474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list