source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Group_intersection.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 2.4 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Group_intersection 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Group_intersection \fP \- Produces a group at the intersection of two existing groups.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Group_intersection(MPI_Group \fIgroup1\fP, MPI_Group\fI group2\fP,
13        MPI_Group\fI *newgroup\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_GROUP_INTERSECTION(\fIGROUP1, GROUP2, NEWGROUP, IERROR\fP)
19        INTEGER \fIGROUP1, GROUP2, NEWGROUP, IERROR\fP
20
21.SH C++ Syntax
22.nf
23#include <mpi.h>
24static Group Group::Intersect(const Group& \fIgroup1\fP, const Group& \fIgroup2\fP)
25
26.SH INPUT PARAMETERS
27.ft R
28.TP 1i
29group1
30First group (handle).
31.TP 1i
32group2
33Second group (handle).
34
35.SH OUTPUT PARAMETERS
36.ft R
37.TP 1i
38newgroup
39Intersection group (handle).
40.ft R
41.TP 1i
42IERROR
43Fortran only: Error status (integer).
44
45.SH DESCRIPTION
46.ft R
47The set-like operations are defined as follows:
48.TP
49  o
50union -- All elements of the first group (group1), followed by all elements
51of second group (group2) not in first.
52.TP
53  o
54intersect -- all elements of the first group that are also in the second
55group, ordered as in first group.
56.TP
57  o
58difference -- all elements of the first group that are not in the second group, ordered as in the first group. 
59.LP
60Note that for these operations the order of processes in the output group is determined primarily by order in the first group (if possible) and then, if necessary, by order in the second group. Neither union nor intersection are commutative, but both are associative.
61.sp
62The new group can be empty, that is, equal to MPI_GROUP_EMPTY.
63
64.SH ERRORS
65Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object.
66.sp
67Before the error value is returned, the current MPI error handler is
68called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. 
69
70.SH SEE ALSO
71MPI_Group_free
72.br
73
74
Note: See TracBrowser for help on using the repository browser.