Package: libboost-mpi-python1.49.0 Version: 1.49.0-3.1 Severity: grave If I try to import boost.mpi from a Python script that is not run through mpirun and openmbi-bin is not installed, the import fails with:
[earth:26793] [[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 [earth:26793] [[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 [earth:26793] [[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() function was called before MPI_INIT was invoked. *** This is disallowed by the MPI standard. *** Your MPI job will now abort. [earth:26793] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed! and causes the Python interpreter to exit immediately. I don't think that's an acceptable behavior. It should handle this situation more gracefully and throw an exception instead or depend an openmpi-bin if that's the appropriate thing. Furthermore boost.mpi breaks Python's pydoc: >>> import pydoc; pydoc.help("modules") fails with the same error message and exits the Python instance. Also the command suggested in Boost's documentation to get help on boost.mpi (pydoc boost.mpi) doesn't work. Regards -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores) 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 libboost-mpi-python1.49.0 depends on: ii libboost-mpi1.49.0 1.49.0-3.1 ii libboost-python1.49.0 1.49.0-3.1 ii libboost-serialization1.49.0 1.49.0-3.1 ii libc6 2.13-36 ii libgcc1 1:4.7.2-4 ii libopenmpi1.3 1.4.5-1 ii libstdc++6 4.7.2-4 ii python 2.7.3-3 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3-5 libboost-mpi-python1.49.0 recommends no packages. Versions of packages libboost-mpi-python1.49.0 suggests: ii python3 3.2.3-6 -- no debconf information -- Sebastian Ramacher
signature.asc
Description: Digital signature