1 | .\"Copyright 2006-2008 Sun Microsystems, Inc. |
---|
2 | .\" Copyright (c) 1996 Thinking Machines Corporation |
---|
3 | .TH MPI_Group_range_excl 3 "Dec 08, 2009" "1.4" "Open MPI" |
---|
4 | .SH NAME |
---|
5 | \fBMPI_Group_range_excl\fP \- Produces a group by excluding ranges of processes from an existing group. |
---|
6 | |
---|
7 | .SH SYNTAX |
---|
8 | .ft R |
---|
9 | .SH C Syntax |
---|
10 | .nf |
---|
11 | #include <mpi.h> |
---|
12 | int MPI_Group_range_excl(MPI_Group \fIgroup\fP, int\fI n\fP, int\fI ranges\fP[][3], |
---|
13 | MPI_Group\fI *newgroup\fP) |
---|
14 | |
---|
15 | .SH Fortran Syntax |
---|
16 | .nf |
---|
17 | INCLUDE 'mpif.h' |
---|
18 | MPI_GROUP_RANGE_EXCL(\fIGROUP, N, RANGES, NEWGROUP, IERROR\fP) |
---|
19 | INTEGER \fIGROUP, N, RANGES(3,*), NEWGROUP, IERROR\fP |
---|
20 | |
---|
21 | .SH C++ Syntax |
---|
22 | .nf |
---|
23 | #include <mpi.h> |
---|
24 | Group Group::Range_excl(int \fIn\fP, const int \fIranges\fP[][3]) const |
---|
25 | |
---|
26 | .SH INPUT PARAMETERS |
---|
27 | .ft R |
---|
28 | .TP 1i |
---|
29 | group |
---|
30 | Group (handle). |
---|
31 | .TP 1i |
---|
32 | n |
---|
33 | Number of triplets in array ranges (integer). |
---|
34 | .TP 1i |
---|
35 | ranges |
---|
36 | A one-dimensional array of integer triplets of the form (first rank, last rank, stride), indicating the ranks in group of processes to be excluded from the output group newgroup. |
---|
37 | |
---|
38 | .SH OUTPUT PARAMETERS |
---|
39 | .ft R |
---|
40 | .TP 1i |
---|
41 | newgroup |
---|
42 | New group derived from above, preserving the order in group (handle). |
---|
43 | .ft R |
---|
44 | .TP 1i |
---|
45 | IERROR |
---|
46 | Fortran only: Error status (integer). |
---|
47 | |
---|
48 | .SH DESCRIPTION |
---|
49 | .ft R |
---|
50 | Each computed rank must be a valid rank in group and all computed ranks must be distinct, or else the program is erroneous. |
---|
51 | .sp |
---|
52 | The functionality of this routine is specified to be equivalent to |
---|
53 | expanding the array of ranges to an array of the excluded ranks and passing the resulting array of ranks and other arguments to MPI_Group_excl. A call to MPI_Group_excl is equivalent to a call to MPI_Group_range_excl with each rank i in ranks replaced by the triplet (i,i,1) in the argument ranges. |
---|
54 | |
---|
55 | .SH ERRORS |
---|
56 | Almost 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. |
---|
57 | .sp |
---|
58 | Before the error value is returned, the current MPI error handler is |
---|
59 | called. 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. |
---|
60 | |
---|
61 | .SH SEE ALSO |
---|
62 | .ft R |
---|
63 | .sp |
---|
64 | MPI_Group_excl |
---|
65 | .br |
---|
66 | MPI_Group_free |
---|
67 | .br |
---|
68 | |
---|