[mpich-discuss] MPI_Group_incl

Norman Lo normanlo at cs.umd.edu
Thu Mar 10 14:01:32 CST 2011


Hi Jim,

Thank you for clarifying.

Norman

On 3/10/2011 2:40 PM, James Dinan wrote:
> 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
>
> _______________________________________________
> 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