MPI_GROUP_UNION(3)MPI_GROUP_UNION(3)NAMEMPI_Group_union - Produces a group by combining two groups
SYNOPSIS
C:
#include <mpi.h>
int MPI_Group_union ( group1, group2, group_out )
MPI_Group group1, group2, *group_out
C++:
#include <mpi.h>
static Group Group::Union(
const Group& group1,
const Group& group2)
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER group1, group2, newgroup, ierror
CALL MPI_GROUP_UNION(group1, group2, newgroup, ierror)
STANDARDS
This release implements the MPI 1.2 standard, as documented by the MPI
Forum in the spring 1997 release of MPI: A Message Passing Interface
Standard.
DESCRIPTION
The MPI_Group_union routine produces a group by combining two groups.
This routine accepts the following parameters:
group1 Specifies the first group (handle)
group2 Specifies the second group (handle)
group_out Returns the union group (handle)
ierror Specifies the return code value for successful completion,
which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mpif.h
file.
Page 1