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

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

Adding compiled files

File size: 2.6 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Recv_init 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Recv_init\fP \- Builds a handle for a receive.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Recv_init(void *\fIbuf\fP, int\fI count\fP, MPI_Datatype\fI datatype\fP,
13        int\fI source\fP, int\fI tag\fP, MPI_Comm\fI comm\fP, MPI_Request\fI *request\fP)
14
15.SH Fortran Syntax
16.nf
17INCLUDE 'mpif.h'
18MPI_RECV_INIT(\fIBUF, COUNT, DATATYPE, SOURCE, TAG, COMM, REQUEST,
19                IERROR\fP)
20        <type>  \fIBUF\fP(*)
21        INTEGER \fICOUNT, DATATYPE, SOURCE, TAG, COMM, REQUEST, IERROR\fP
22
23.SH C++ Syntax
24.nf
25#include <mpi.h>
26Prequest Comm::Recv_init(void* \fIbuf\fP, int \fIcount\fP, const
27        Datatype& \fIdatatype\fP, int \fIsource\fP, int \fItag\fP) const
28
29.SH INPUT PARAMETERS
30.ft R
31.TP 1i
32count
33Maximum number of elements to receive (integer).
34.TP 1i
35datatype
36Type of each entry (handle).
37.TP 1i
38source
39Rank of source (integer).
40.TP 1i
41tag
42Message tag (integer).
43.TP 1i
44comm
45Communicator (handle).
46
47.SH INPUT/OUTPUT PARAMETER
48.TP 1i
49buf
50Initial address of receive buffer (choice).
51
52.SH OUTPUT PARAMETERS
53.ft R
54.TP 1i
55request
56Communication request (handle).
57.ft R
58.TP 1i
59IERROR
60Fortran only: Error status (integer).
61
62.SH DESCRIPTION
63.ft R
64Creates a persistent communication request for a receive operation. The argument \fIbuf\fP is marked as OUT because the user gives permission to write on the receive buffer by passing the argument to MPI_Recv_init. 
65.sp
66A persistent communication request is inactive after it is created -- no active communication is attached to the request.
67.sp
68A communication (send or receive) that uses a persistent request is initiated by the function MPI_Start or MPI_Startall.
69
70.SH ERRORS
71Almost 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.
72.sp
73Before the error value is returned, the current MPI error handler is
74called. 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. 
75
76.SH SEE ALSO
77.ft R
78.sp
79MPI_Bsend_init
80.br
81MPI_Rsend_init
82.br
83MPI_Send_init
84.br
85MPI_Sssend_init
86.br
87MPI_Start
88.br
89MPI_Startall
90.br
91MPI_Request_free
92
Note: See TracBrowser for help on using the repository browser.