Package: python-mpi4py
Version: 1.2.2-3
Severity: normal

Dear Maintainer,

On a fresh Ubuntu 12.04 amd64 install, with
$ sudo apt-get install python-mpi4py --no-install-recommends
mpi4py is not usable:

$ python -ic "import mpi4py.MPI"
[salinas:24750] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this user in file
.../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 357
[salinas:24750] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this user in file
.../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 230
[salinas:24750] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this user in file
.../../../orte/runtime/orte_init.c at line 132
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  orte_ess_set_name failed
  --> Returned value A system-required executable either could not be found or
was not executable by this user (-127) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort.  There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems.  This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

  ompi_mpi_init: orte_init failed
  --> Returned "A system-required executable either could not be found or was
not executable by this user" (-127) instead of "Success" (0)
--------------------------------------------------------------------------
*** The MPI_Init_thread() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[salinas:24750] Abort before MPI_INIT completed successfully; not able to
guarantee that all other processes were killed!

Installing the recommended mpi-default-bin fixes it:
$ sudo apt-get install mpi-default-bin --no-install-recommends
....
$ python -ic "import mpi4py.MPI"
>>> mpi4py.MPI.COMM_WORLD.size
1

***

I realize the issue is a bit contrived --  what use is mpi4py without mpirun?
-- but the error was quite surprising and didn't give a lot of indication as to
the cause.

I do not know if this impacts other architectures, especially those where mpi-
default != openmpi.



-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-mpi4py depends on:
ii  libc6           2.15-0ubuntu10
ii  libopenmpi1.3   1.4.3-2.1ubuntu3
ii  python          2.7.3-0ubuntu2
ii  python-support  1.0.14ubuntu2

Versions of packages python-mpi4py recommends:
ii  mpi-default-bin  1.0.1

Versions of packages python-mpi4py suggests:
ii  python-numpy  1:1.6.1-6ubuntu1

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to