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

NAME

6       HPL_grid_info - Retrieve grid information.
7

SYNOPSIS

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

DESCRIPTION

15       HPL_grid_info returns  the grid shape and the coordinates in  the  grid
16       of  the  calling process.  Successful  completion  is  indicated by the
17       returned error code  MPI_SUCCESS. Other error codes depend on  the  MPI
18       implementation.
19

ARGUMENTS

21       GRID    (local input)           const HPL_T_grid *
22               On  entry,   GRID  points  to the data structure containing the
23               process grid information.
24
25       NPROW   (global output)         int *
26               On exit,   NPROW  specifies the number of process rows  in  the
27               grid. NPROW is at least one.
28
29       NPCOL   (global output)         int *
30               On  exit,    NPCOL  specifies  the number of process columns in
31               the grid. NPCOL is at least one.
32
33       MYROW   (global output)         int *
34               On exit,  MYROW  specifies my  row process  coordinate  in  the
35               grid.  MYROW  is greater than or equal  to zero  and  less than
36               NPROW.
37
38       MYCOL   (global output)         int *
39               On exit,  MYCOL specifies my column process coordinate  in  the
40               grid.  MYCOL  is greater than or equal  to zero  and  less than
41               NPCOL.
42

SEE ALSO

44       HPL_pnum (3), HPL_grid_init (3), HPL_grid_exit (3).
45
46
47
48HPL 2.1                        October 26, 2012               HPL_grid_info(3)
Impressum