Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2006-10-19 18:08:14

I've successfully installed the just released 1.1.2. So I go for a new
round catching bugs, non standard behavior, or just what could be seen
as convenient features.

The problem I've reported with MPI_GROUP_TRANSLATE_RANKS was
corrected. However, looking at MPI-2 errata documment, it says:

Add to page 36, after 3.2.11 (above)


MPI_PROC_NULL is a valid rank for input to MPI_GROUP_TRANSLATE_RANKS,
which returns MPI_PROC_NULL as the translated rank.

But it seems it returns MPI_UNDEFINED in this case. Try yourself:

In [1]: from mpi4py import MPI

In [2]: group = MPI.COMM_WORLD.Get_group()

In [3]: MPI.Group.Translate_ranks(group, [MPI.PROC_NULL], group)
Out[3]: [-32766]

Out[4]: -32766

Additionaly, OMPI segfaults if the group is MPI_GROUP_EMPY. Try yourself

In [5]: group = MPI.GROUP_EMPTY

In [6]: MPI.Group.Translate_ranks(group, [MPI.PROC_NULL], group)
Signal:11 info.si_errno:0(Success) si_code:1(SEGV_MAPERR)
Failing at addr:0xfffffff8
[0] func:/usr/local/openmpi/1.1.2/lib/ [0xba1dfc]
[1] func:[0xe67440]
[2] func:/usr/local/openmpi/1.1.2/lib/
) [0x5f0786]
[3] func:/u/dalcinl/lib/python/mpi4py/ [0xa5a6c6]
[4] func:/usr/local/lib/ [0x1d5d66]
# more traceback .....
[31] func:/usr/local/lib/ [0x20b009]
*** End of error message ***
Segmentation fault

Lisandro Dalcín
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594