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

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

Adding compiled files

File size: 1.8 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\"Copyright (c) 1996 Thinking Machines
3.TH MPI_Topo_test 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Topo_test\fP \- Determines the type of topology (if any) associated with a communicator.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Topo_test(MPI_Comm \fIcomm\fP, int\fI *top_type\fP)
13
14.SH Fortran Syntax
15.nf
16INCLUDE 'mpif.h'
17MPI_TOPO_TEST(\fICOMM, TOP_TYPE, IERROR\fP)
18        INTEGER \fICOMM, TOP_TYPE, IERROR\fP
19
20.SH C++ Syntax
21.nf
22#include <mpi.h>
23int Comm::Get_topology() const
24
25.SH INPUT PARAMETER
26.ft R
27.TP 1i
28comm
29Communicator (handle).
30
31.SH OUTPUT PARAMETERS
32.ft R
33.TP 1i
34top_type
35Topology type of communicator comm (choice).
36.ft R
37.TP 1i
38IERROR
39Fortran only: Error status (integer).
40
41.SH DESCRIPTION
42.ft R
43The function MPI_Topo_test returns the type of topology that is assigned to a communicator.
44.sp
45The output value \fItop_type\fP is one of the following:
46.sp
47.nf
48    MPI_GRAPH           graph topology
49    MPI_CART            Cartesian topology
50    MPI_UNDEFINED       no topology
51
52.SH ERRORS
53Almost 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.
54.sp
55Before the error value is returned, the current MPI error handler is
56called. 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. 
57
58.SH SEE ALSO
59MPI_Graph_create
60.br
61MPI_Cart_create
62
Note: See TracBrowser for help on using the repository browser.