1HPL_sdrv(3)                  HPL Library Functions                 HPL_sdrv(3)
2
3
4

NAME

6       HPL_sdrv - Send and receive a message.
7

SYNOPSIS

9       #include "hpl.h"
10
11       int  HPL_sdrv(  double * SBUF, int SCOUNT, int STAG, double * RBUF, int
12       RCOUNT, int RTAG, int PARTNER, MPI_Comm COMM );
13

DESCRIPTION

15       HPL_sdrv is a simple wrapper around MPI_Sendrecv. Its main  purpose  is
16       to  allow  for some experimentation and tuning of this simple function.
17       Messages  of  length  less than  or  equal to zero  are not  sent   nor
18       received.   Successful  completion  is  indicated by the returned error
19       code HPL_SUCCESS.
20

ARGUMENTS

22       SBUF    (local input)           double *
23               On entry, SBUF specifies the starting address of buffer  to  be
24               sent.
25
26       SCOUNT  (local input)           int
27               On  entry,   SCOUNT  specifies  the number  of double precision
28               entries in SBUF. SCOUNT must be at least zero.
29
30       STAG    (local input)           int
31               On entry,  STAG  specifies the message tag to be used  for  the
32               sending communication operation.
33
34       RBUF    (local output)          double *
35               On  entry,  RBUF specifies the starting address of buffer to be
36               received.
37
38       RCOUNT  (local input)           int
39               On entry,  RCOUNT  specifies  the number  of  double  precision
40               entries in RBUF. RCOUNT must be at least zero.
41
42       RTAG    (local input)           int
43               On  entry,   RTAG  specifies the message tag to be used for the
44               receiving communication operation.
45
46       PARTNER (local input)           int
47               On entry,  PARTNER  specifies  the rank of  the   collaborative
48               process in the communication space defined by COMM.
49
50       COMM    (local input)           MPI_Comm
51               The MPI communicator identifying the communication space.
52

SEE ALSO

54       HPL_send (3), HPL_recv (3).
55
56
57
58HPL 2.1                        October 26, 2012                    HPL_sdrv(3)
Impressum