I have a group made of 1 single process. I'm calling ssg_get_group_member_ids_from_range as follows:
ssg_member_id_t member_ids[1] = { 0 };
int ret = ssg_get_group_member_ids_from_range(gid, 0, 0, member_ids);
The function is returning 0 but member_ids[0] contains 0 instead of the process' member id, even though the documentation says that the start and end arguments are inclusive.
I believe the problem to be here, where the condition rank_end <= rank_start should actually be rank_end < rank_start.
I have a group made of 1 single process. I'm calling
ssg_get_group_member_ids_from_range
as follows:The function is returning 0 but
member_ids[0]
contains 0 instead of the process' member id, even though the documentation says that thestart
andend
arguments are inclusive.I believe the problem to be here, where the condition
rank_end <= rank_start
should actually berank_end < rank_start
.