Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Potential bug in creating MPI_GROUP_EMPTY handling
From: Dominik Goeddeke (dominik.goeddeke_at_[hidden])
Date: 2011-03-06 18:12:27

The attached example code (stripped down from a bigger app) demonstrates
a way to trigger a severe crash in all recent ompi releases but not in a
bunch of latest MPICH2 releases. The code is minimalistic and boils down
to the call

MPI_Comm_create(MPI_COMM_WORLD, MPI_GROUP_EMPTY, &dummy_comm);

which isn't supposed to be illegal. Please refer to the
(well-documented) code for details on the high-dimensional cross product
I tested (on ubuntu 10.04 LTS), a potential workaround (which isn't
supposed to be necessary I think) and an exemplary stack trace.

Instructions: mpicc test.c -Wall -O0 && mpirun -np 2 ./a.out



  • text/x-csrc attachment: test.c