MPI_GROUP_INTERSECTION(3)MPI_GROUP_INTERSECTION(3)NAMEMPI_Group_intersection - Produces a group as the intersection of two
existing groups
SYNOPSIS
C:
#include <mpi.h>
int MPI_Group_intersection ( group1, group2, group_out )
MPI_Group group1, group2, *group_out;
C++:
#include <mpi.h>
static Group Group::Intersect(
const Group& group1,
const Group& group2)
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER group1, group2, newgroup, ierror
CALL MPI_GROUP_INTERSECTION(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_intersection routine produces a group as the intersection
of two existing groups. This routine accepts the following parameters:
group1 Specifies the first group (handle)
group2 Specifies the second group (handle)
group_out Returns the intersection 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