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

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

Adding compiled files

File size: 2.2 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Graph_map 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Graph_map \fP \- Maps process to graph topology information.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Graph_map(MPI_Comm \fIcomm\fP, int\fI nnodes\fP, int\fI *index\fP,
13        int\fI *edges\fP, int\fI *newrank\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_GRAPH_MAP(\fICOMM, NNODES, INDEX, EDGES, NEWRANK, IERROR\fP)
19        INTEGER \fICOMM, NNODES, INDEX(*), EDGES(*), NEWRANK, IERROR\fP
20
21.SH C++ Syntax
22.nf
23#include <mpi.h>
24int Graphcomm::Map(int \fInnodes\fP, const int \fIindex\fP[],
25        const int \fIedges\fP[]) const
26
27.SH INPUT PARAMETERS
28.ft R
29.TP 1i
30comm
31Input communicator (handle).
32.TP 1i
33nnodes
34Number of graph nodes (integer).
35.TP 1i
36index
37Integer array specifying the graph structure, see  MPI_Graph_ create.
38.TP 1i
39edges
40Integer array specifying the graph structure.
41
42.SH OUTPUT PARAMETERS
43.ft R
44.TP 1i
45newrank
46Reordered rank of the calling process; MPI_UNDEFINED if the calling process does not belong to graph (integer).
47.ft R
48.TP 1i
49IERROR
50Fortran only: Error status (integer).
51
52.SH DESCRIPTION
53.ft R
54MPI_Cart_map and MPI_Graph_map can be used to implement all other topology
55functions. In general they will not be called by the user directly, unless he or she is creating additional virtual topology capability other than that provided by MPI. 
56
57.SH ERRORS
58Almost 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.
59.sp
60Before the error value is returned, the current MPI error handler is
61called. 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. 
62
63.SH SEE ALSO
64.sp
65MPI_Cart_map
66
Note: See TracBrowser for help on using the repository browser.