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

NAME

6       HPL_indxg2p - Map a global index into a process coordinate.
7

SYNOPSIS

9       #include "hpl.h"
10
11       int  HPL_indxg2p(  const int IG, const int INB, const int NB, const int
12       SRCPROC, const int NPROCS );
13

DESCRIPTION

15       HPL_indxg2p computes the process coordinate  which posseses  the  entry
16       of a matrix specified by a global index IG.
17

ARGUMENTS

19       IG      (input)                 const int
20               On  entry,  IG specifies the global index of the matrix  entry.
21               IG must be at least zero.
22
23       INB     (input)                 const int
24               On entry,  INB  specifies  the size of the first block  of  the
25               global matrix. INB must be at least one.
26
27       NB      (input)                 const int
28               On  entry,   NB specifies the blocking factor used to partition
29               and distribute the matrix A. NB must be larger than one.
30
31       SRCPROC (input)                 const int
32               On entry,  SRCPROC  specifies  the coordinate of  the   process
33               that  possesses  the first row or column of the matrix. SRCPROC
34               must be at least zero and strictly less than NPROCS.
35
36       NPROCS  (input)                 const int
37               On entry,  NPROCS  specifies the total number of  process  rows
38               or  columns  over which the matrix is distributed.  NPROCS must
39               be at least one.
40

SEE ALSO

42       HPL_indxg2l (3),  HPL_indxg2p (3),   HPL_indxl2g (3),   HPL_numroc (3),
43       HPL_numrocI (3).
44
45
46
47HPL 2.1                        October 26, 2012                 HPL_indxg2p(3)
Impressum