|INOUT group||group (handle)|
int MPI_Group_free(MPI_Group *group)
INTEGER GROUP, IERROR
This operation marks a group object for deallocation. The handle group is set to MPI_GROUP_NULL by the call. Any on-going operation using this group will complete normally.
Advice to implementors.
One can keep a reference count that is incremented for each call to
MPI_COMM_CREATE and MPI_COMM_DUP, and
decremented for each call to MPI_GROUP_FREE or
MPI_COMM_FREE; the group object is ultimately deallocated when the
reference count drops to zero.
( End of advice to implementors.)