sw/lib/mpi/mpi_comm.c
// free the memory that was allocated for the group
free the memory that was allocated for the group
free the memory that was allocated for the group
int MPI_Group_free(MPI_Group *group)
{
    assert(*group!=MPI_GROUP_EMPTY && *group!=MPI_GROUP_NULL);
    if (*group!=_MPI_GROUP_WORLD) free(*group);
    *group = MPI_GROUP_NULL;
    return MPI_SUCCESS;
}
int MPI_Group_free ( MPI_Group * group ) { assert ( * group != MPI_GROUP_EMPTY && * group != MPI_GROUP_NULL ) ; if ( * group != _MPI_GROUP_WORLD ) free ( * group ) ; * group = MPI_GROUP_NULL ; return MPI_SUCCESS ; }
free the memory that was allocated for the group
free the memory that was allocated for the group