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

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

Adding compiled files

File size: 2.7 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Irecv 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Irecv\fP \- Starts a standard-mode, nonblocking receive.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Irecv(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_IRECV(\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>
26Request Comm::Irecv(void* \fIbuf\fP, int \fIcount\fP, const Datatype&
27        \fIdatatype\fP, int \fIsource\fP, int \fItag\fP) const
28
29.SH INPUT PARAMETERS
30.ft R
31.TP 1i
32buf
33Initial address of receive buffer (choice).
34.TP 1i
35count
36Number of elements in receive buffer (integer).
37.TP 1i
38datatype
39Datatype of each receive buffer element (handle).
40.TP 1i
41source
42Rank of source (integer).
43.TP 1i
44tag
45Message tag (integer).
46.TP 1i
47comm
48Communicator (handle).
49
50.SH OUTPUT PARAMETERS
51.ft R
52.TP 1i
53request
54Communication request (handle).
55.ft R
56.TP 1i
57IERROR
58Fortran only: Error status (integer).
59
60.SH DESCRIPTION
61.ft R
62Nonblocking calls allocate a communication request object and associate it with the request handle (the argument request). The request can be used later to query the status of the communication or wait for its completion.
63.sp
64A nonblocking receive call indicates that the system may start writing data into the receive buffer. The receiver should not access any part of the receive buffer after a nonblocking receive operation is called, until the receive completes.
65.sp
66A receive request can be determined being completed by calling the MPI_Wait, MPI_Waitany, MPI_Test, or MPI_Testany with request returned by this function.
67
68.SH ERRORS
69Almost 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.
70.sp
71Before the error value is returned, the current MPI error handler is
72called. 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. 
73
74.SH SEE ALSO
75MPI_Recv
76MPI_Probe
77MPI_Test
78MPI_Testany
79MPI_Wait
80MPI_Waitany
81.br
82
Note: See TracBrowser for help on using the repository browser.