[mpich-discuss] MPI_Group_incl

James Dinan dinan at mcs.anl.gov
Thu Mar 10 13:40:17 CST 2011


Hi Norman,

No, it's not required that the list be ordered.  In fact, it is 
explicitly allowed since rank i in group_out will correspond to ranks[i] 
in the input group.  The only requirements are that the entries in ranks 
are valid members of the input group and that they are unique (no repeats).

Best,
  ~Jim.

On 3/10/11 1:33 PM, Norman Lo wrote:
> Hi,
>
> For the function MPI_Group_incl:
>
> int MPI_Group_incl ( MPI_Group group, int n, int *ranks, MPI_Group
> *group_out );
>
> Does the parameter ranks need to be an ordered list ? I am getting some
> erratic behavior randomly in the code if ranks is out of order.
>
> Thank you,
>
> Norman
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list