Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] MPI_Group_{incl|exc} with nranks=0 and ranks=NULL
From: Lisandro Dalcin (dalcinl_at_[hidden])
Date: 2009-10-21 17:43:35

Currently (trunk, just svn update'd), the following call fails
(because of the ranks=NULL pointer)

MPI_Group_{incl|excl}(group, 0, NULL, &newgroup)

BTW, MPI_Group_translate_ranks() has similar issues...

Provided that Open MPI accept the combination (int_array_size=0,
int_array_ptr=NULL) in other calls, I think it should also accept the
NULL's in the calls above... What do you think?

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