Hello,

In debugging a test of an application, I recently came across odd behavior
for simultaneous MPI_Abort calls. Namely, while the MPI_Abort was
acknowledged by the process output, the mpirun process failed to exit. I
was able to duplicate this behavior on multiple machines with OpenMPI
versions 1.10.2, 1.10.5, and 1.10.6 with the following simple program:

#include <mpi.h>
#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>

int main(int argc, char **argv)
{
    int rank;

    MPI_Init(&argc,&argv);
    MPI_Comm_rank(MPI_COMM_WORLD, &rank);

    printf("I am process number %d\n", rank);
    MPI_Abort(MPI_COMM_WORLD, 3);
    return 0;
}

Is this a bug or a feature? Does this behavior exist in OpenMPI versions
2.0 and 3.0?

Best,
Nik
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to