Return the size of the collective group with the given name.
- Parameters:
group_name (str) – the name of the group to query
- Returns:
- The world size of the collective group, -1 if the group does
not exist or the process does not belong to the group.
- Return type:
int