Skip to content

an example of py-pde error for which mpi4py.COMM_WORLD.Abort uses exit code 0 (hiding the problem downstream) #853

Description

@Grzyb33k

here's a minimal reproducer:

$ mpiexec -n 2 python -c "import pde;pde.PDE({'c':'laplace(c)'}).solve(pde.ScalarField.random_uniform(pde.UnitGrid([2,2]), 0, 1), solver='explicit_mpi',t_range=1)"
NotImplementedError: ("Cannot handle local boundary <class 'pde.grids.boundaries.local._MPIBC'>. Did you mean to use the `numba_mpi` backend?", 'Problems in boundary condition `auto_periodic_neumann` for operator `laplace` in PDE for `c`')
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
with errorcode 0.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[lateralus:60536] 1 more process has sent help message help-mpi-api.txt / mpi-abort
[lateralus:60536] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
$ echo $?
0

(caught while debugging numba-mpi CI problem where a breaking change in py-pde API has gone unnoticed despite the above error in the logs)

Hope that helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions