source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Group_translate_ranks.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_Group_translate_ranks 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Group_translate_ranks\fP \- Translates the ranks of processes in one group to those in another group.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Group_translate_ranks(MPI_Group \fIgroup1\fP, int\fI n\fP,
13        int\fI *ranks1\fP, MPI_Group\fI group2\fP, int\fI *ranks2\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_GROUP_TRANSLATE_RANKS(\fIGROUP1, N, RANKS1, GROUP2, RANKS2,
19                IERROR\fP)
20        INTEGER \fIGROUP1, N, RANKS1(*), GROUP2, RANKS2(*), IERROR\fP
21
22.SH C++ Syntax
23.nf
24#include <mpi.h>
25static void Group::Translate_ranks (const Group& \fIgroup1\fP, int \fIn\fP,
26        const int \fIranks1\fP[], const Group& \fIgroup2\fP, int \fIranks2\fP[])
27
28.SH INPUT PARAMETERS
29.ft R
30.TP 1i
31group1
32First group (handle).
33.TP 1i
34n
35Number of ranks in ranks1 and ranks2 arrays (integer).
36.TP 1i
37ranks1
38Array of zero or more valid ranks in group1.
39.TP 1i
40group2
41Second group (handle).
42
43.SH OUTPUT PARAMETERS
44.ft R
45.TP 1i
46ranks2
47Array of corresponding ranks in group2, MPI_UNDEFINED when no correspondence exists.
48.ft R
49.TP 1i
50IERROR
51Fortran only: Error status (integer).
52
53.SH DESCRIPTION
54.ft R
55This function is important for determining the relative numbering of the same processes in two different groups. For instance, if one knows the ranks of certain processes in the group of MPI_COMM_WORLD, one might want to know their ranks in a subset of that group.
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
Note: See TracBrowser for help on using the repository browser.