Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] MPI_Ibarrier fails
From: Mikhail Kurnosov (mkurnosov_at_[hidden])
Date: 2012-07-11 06:09:33


In the case of single process the MPI_Ibarrier call fails (seg. fault).
Request object does not initialized in this function (LibNBC is not
called for it).

The following example fails on Open MPI 1.9a1r26779:

$ cat ibarrier_test.c
#include <mpi.h>

int main(int argc, char **argv)
     MPI_Request req;
     MPI_Status status;

     MPI_Init(&argc, &argv);
     MPI_Ibarrier(MPI_COMM_WORLD, &req);
     /* MPI_Wait will crash. */
     MPI_Wait(&req, &status);
     return 0;

$ mpiexec -n 1 ./ibarrier_test
[mkws:26288] *** Process received signal ***
[mkws:26288] Signal: Segmentation fault (11)
[mkws:26288] Signal code: Address not mapped (1)
[mkws:26288] Failing at address: 0x58
[mkws:26288] [ 0] /lib64/ [0x3d6040f500]
[mkws:26288] [ 1]
[mkws:26288] [ 2]
[mkws:26288] [ 3] ./ibarrier_test(main+0x46) [0x40089a]
[mkws:26288] [ 4] /lib64/ [0x3d5f82169d]
[mkws:26288] [ 5] ./ibarrier_test() [0x400799]
[mkws:26288] *** End of error message ***

Mikhail Kurnosov
Computer Systems Department
Siberian State University of Telecommunications and Information Sciences
Address: 630102, 86 Kirova str., Novosibirsk, Russia
Email: mkurnosov_at_[hidden]