Statistiques
| Révision :

root / man / man3 / HPL_grid_info.3

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

1 1 equemene
.TH HPL_grid_info 3 "September 10, 2008" "HPL 2.0" "HPL Library Functions"
2 1 equemene
.SH NAME
3 1 equemene
HPL_grid_info \- Retrieve grid information.
4 1 equemene
.SH SYNOPSIS
5 1 equemene
\fB\&#include "hpl.h"\fR
6 1 equemene
7 1 equemene
\fB\&int\fR
8 1 equemene
\fB\&HPL_grid_info(\fR
9 1 equemene
\fB\&const HPL_T_grid *\fR
10 1 equemene
\fI\&GRID\fR,
11 1 equemene
\fB\&int *\fR
12 1 equemene
\fI\&NPROW\fR,
13 1 equemene
\fB\&int *\fR
14 1 equemene
\fI\&NPCOL\fR,
15 1 equemene
\fB\&int *\fR
16 1 equemene
\fI\&MYROW\fR,
17 1 equemene
\fB\&int *\fR
18 1 equemene
\fI\&MYCOL\fR
19 1 equemene
\fB\&);\fR
20 1 equemene
.SH DESCRIPTION
21 1 equemene
\fB\&HPL_grid_info\fR
22 1 equemene
returns  the grid shape and the coordinates in the grid
23 1 equemene
of the calling process.  Successful  completion  is  indicated by the
24 1 equemene
returned error code  MPI_SUCCESS. Other error codes depend on the MPI
25 1 equemene
implementation.
26 1 equemene
.SH ARGUMENTS
27 1 equemene
.TP 8
28 1 equemene
GRID    (local input)           const HPL_T_grid *
29 1 equemene
On entry,  GRID  points  to the data structure containing the
30 1 equemene
process grid information.
31 1 equemene
.TP 8
32 1 equemene
NPROW   (global output)         int *
33 1 equemene
On exit,   NPROW  specifies the number of process rows in the
34 1 equemene
grid. NPROW is at least one.
35 1 equemene
.TP 8
36 1 equemene
NPCOL   (global output)         int *
37 1 equemene
On exit,   NPCOL  specifies  the number of process columns in
38 1 equemene
the grid. NPCOL is at least one.
39 1 equemene
.TP 8
40 1 equemene
MYROW   (global output)         int *
41 1 equemene
On exit,  MYROW  specifies my  row process  coordinate in the
42 1 equemene
grid. MYROW is greater than or equal  to zero  and  less than
43 1 equemene
NPROW.
44 1 equemene
.TP 8
45 1 equemene
MYCOL   (global output)         int *
46 1 equemene
On exit,  MYCOL specifies my column process coordinate in the
47 1 equemene
grid. MYCOL is greater than or equal  to zero  and  less than
48 1 equemene
NPCOL.
49 1 equemene
.SH SEE ALSO
50 1 equemene
.BR HPL_pnum \ (3),
51 1 equemene
.BR HPL_grid_init \ (3),
52 1 equemene
.BR HPL_grid_exit \ (3).