Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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]