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

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

Adding compiled files

File size: 2.3 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Intercomm_merge 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Intercomm_merge\fP \- Creates an intracommunicator from an intercommunicator.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Intercomm_merge(MPI_Comm \fIintercomm\fP, int\fI high\fP,
13     MPI_Comm\fI *newintracomm\fP
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_INTERCOMM_MERGE(\fIINTERCOMM, HIGH, NEWINTRACOMM, IERROR\fP)
19        INTEGER \fIINTERCOMM, NEWINTRACOMM, IERROR\fP
20        LOGICAL \fIHIGH\fP
21
22.SH C++ Syntax
23.nf
24#include <mpi.h>
25Intracomm Intercomm::Merge(bool \fIhigh\fP) const
26
27.SH INPUT PARAMETERS
28.ft R
29.TP 1i
30intercomm
31Intercommunicator (type indicator).
32.TP 1i
33high
34Used to order the groups of the two intracommunicators within comm when creating the new communicator (type indicator).
35
36.SH OUTPUT PARAMETERS
37.ft R
38.TP 1i
39newintracomm
40Created intracommunicator (type indicator).
41.ft R
42.TP 1i
43IERROR
44Fortran only: Error status (integer).
45
46.SH DESCRIPTION
47.ft R
48This function creates an intracommunicator from the union of the two groups that are associated with intercomm. All processes should provide the same high value within each of the two groups. If processes in one group provide the value high = false and processes in the other group provide the value high = true, then the union orders the "low" group before the "high" group. If all processes provide the same high argument, then the order of the union is arbitrary. This call is blocking and collective within the union of the two groups.
49
50.SH ERRORS
51Almost 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.
52.sp
53Before the error value is returned, the current MPI error handler is
54called. 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. 
55
56.SH SEE ALSO
57MPI_Intercomm_create
58.br
59MPI_Comm_free
60
61
62
63
Note: See TracBrowser for help on using the repository browser.