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

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

Adding compiled files

File size: 3.4 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Get 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Get\fP \- Copies data from the target memory to the origin.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12MPI_Get(void *\fIorigin_addr\fP, int \fIorigin_count\fP, MPI_Datatype
13        \fIorigin_datatype\fP, int \fItarget_rank\fP, MPI_Aint \fItarget_disp\fP,
14        int \fItarget_count\fP, MPI_Datatype \fItarget_datatype\fP, MPI_Win \fIwin\fP)
15
16.SH Fortran Syntax (see FORTRAN 77 NOTES)
17.nf
18INCLUDE 'mpif.h'
19MPI_GET(\fIORIGIN_ADDR, ORIGIN_COUNT, ORIGIN_DATATYPE, TARGET_RANK,
20        TARGET_DISP, TARGET_COUNT, TARGET_DATATYPE, WIN, IERROR\fP)
21        <type> \fIORIGIN_ADDR\fP(*)
22        INTEGER(KIND=MPI_ADDRESS_KIND) \fITARGET_DISP\fP
23        INTEGER \fIORIGIN_COUNT, ORIGIN_DATATYPE, TARGET_RANK,
24        TARGET_COUNT, TARGET_DATATYPE, WIN, IERROR\fP
25
26.SH C++ Syntax
27.nf
28#include <mpi.h>
29void MPI::Win::Get(const void *\fIorigin_addr\fP, int \fIorigin_count\fP,
30        const MPI::Datatype& \fIorigin_datatype\fP, int \fItarget_rank\fP,
31        MPI::Aint \fItarget_disp\fP, int \fItarget_count\fP,
32        const MPI::Datatype& \fItarget_datatype\fP) const
33
34.SH INPUT PARAMETERS
35.ft R
36.TP 1i
37origin_addr
38Initial address of origin buffer (choice).
39.TP 1i
40origin_count
41Number of entries in origin buffer (nonnegative integer).
42.TP 1i
43origin_datatype
44Data type of each entry in origin buffer (handle).
45.TP 1i
46target_rank
47Rank of target (nonnegative integer).
48.TP 1i
49target_disp
50Displacement from window start to the beginning of the target buffer (nonnegative integer).
51.TP 1i
52target_count
53Number of entries in target buffer (nonnegative integer).
54.TP 1i
55target datatype
56datatype of each entry in target buffer (handle)
57.TP 1i
58win
59window object used for communication (handle)
60
61.SH OUTPUT PARAMETER
62.ft R
63.TP 1i
64IERROR
65Fortran only: Error status (integer).
66
67.SH DESCRIPTION
68.ft R
69MPI_Get copies data from the target memory to the origin, similar to MPI_Put, except that the direction of data transfer is reversed. The \fIorigin_datatype\fP may not specify overlapping entries in the origin buffer. The target buffer must be contained within the target window, and the copied data must fit, without truncation, in the origin buffer. Only processes within the same node can access the target window.
70.sp
71
72.SH FORTRAN 77 NOTES
73.ft R
74The MPI standard prescribes portable Fortran syntax for
75the \fITARGET_DISP\fP argument only for Fortran 90. FORTRAN 77
76users may use the non-portable syntax
77.sp
78.nf
79     INTEGER*MPI_ADDRESS_KIND \fITARGET_DISP\fP
80.fi
81.sp
82where MPI_ADDRESS_KIND is a constant defined in mpif.h
83and gives the length of the declared integer in bytes.
84
85.SH ERRORS
86Almost 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.
87.sp
88Before the error value is returned, the current MPI error handler is
89called. 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. 
90
91.SH SEE ALSO
92.ft R
93.sp
94MPI_Put
95
Note: See TracBrowser for help on using the repository browser.