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
Thanks!
dom
- text/x-csrc attachment: test.c
|