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

NAME

6       HPL_pnum - Rank determination.
7

SYNOPSIS

9       #include "hpl.h"
10
11       int HPL_pnum( const HPL_T_grid * GRID, const int MYROW, const int MYCOL
12       );
13

DESCRIPTION

15       HPL_pnum determines  the  rank  of a  process  as a function   of   its
16       coordinates in the grid.
17

ARGUMENTS

19       GRID    (local input)           const HPL_T_grid *
20               On  entry,   GRID  points  to the data structure containing the
21               process grid information.
22
23       MYROW   (local input)           const int
24               On entry,  MYROW  specifies the row coordinate of  the  process
25               whose  rank  is to be determined. MYROW must be greater than or
26               equal to zero and less than NPROW.
27
28       MYCOL   (local input)           const int
29               On entry,  MYCOL  specifies  the  column  coordinate   of   the
30               process  whose  rank is to be determined. MYCOL must be greater
31               than or equal to zero and less than NPCOL.
32

SEE ALSO

34       HPL_grid_init (3), HPL_grid_info (3), HPL_grid_exit (3).
35
36
37
38HPL 2.1                        October 26, 2012                    HPL_pnum(3)
Impressum