Statistiques
| Révision :

root / www / HPL_recv.html

Historique | Voir | Annoter | Télécharger (1,78 ko)

1
<HTML>
2
<HEAD>
3
<TITLE>HPL_recv HPL 2.0 Library Functions September 10, 2008</TITLE> 
4
</HEAD>
5

    
6
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099"
7
      ALINK = "#ffff00">
8

    
9
<H1>Name</H1>
10
<B>HPL_recv</B> Receive a message.
11

    
12
<H1>Synopsis</H1>
13
<CODE>#include "hpl.h"</CODE><BR><BR>
14
<CODE>int</CODE>
15
<CODE>HPL_recv(</CODE>
16
<CODE>double *</CODE>
17
<CODE>RBUF</CODE>,
18
<CODE>int</CODE>
19
<CODE>RCOUNT</CODE>,
20
<CODE>int</CODE>
21
<CODE>SRC</CODE>,
22
<CODE>int</CODE>
23
<CODE>RTAG</CODE>,
24
<CODE>MPI_Comm</CODE>
25
<CODE>COMM</CODE>
26
<CODE>);</CODE>
27

    
28
<H1>Description</H1>
29
<B>HPL_recv</B>
30
is a simple wrapper around  MPI_Recv.  Its  main  purpose is
31
to  allow for some  experimentation / tuning  of this simple routine.
32
Successful  completion  is  indicated  by  the  returned  error  code
33
HPL_SUCCESS.  In the case of messages of length less than or equal to
34
zero, this function returns immediately.
35

    
36
<H1>Arguments</H1>
37
<PRE>
38
RBUF    (local output)                double *
39
        On entry, RBUF specifies the starting address of buffer to be
40
        received.
41
</PRE>
42
<PRE>
43
RCOUNT  (local input)                 int
44
        On entry,  RCOUNT  specifies  the number  of double precision
45
        entries in RBUF. RCOUNT must be at least zero.
46
</PRE>
47
<PRE>
48
SRC     (local input)                 int
49
        On entry, SRC  specifies the rank of the  sending  process in
50
        the communication space defined by COMM.
51
</PRE>
52
<PRE>
53
RTAG    (local input)                 int
54
        On entry,  STAG specifies the message tag to be used for this
55
        communication operation.
56
</PRE>
57
<PRE>
58
COMM    (local input)                 MPI_Comm
59
        The MPI communicator identifying the communication space.
60
</PRE>
61

    
62
<H1>See Also</H1>
63
<A HREF="HPL_send.html">HPL_send</A>,
64
<A HREF="HPL_sendrecv.html">HPL_sendrecv</A>.
65

    
66
</BODY>
67
</HTML>