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

NAME

6       HPL_indxl2g - Map a index-process pair into a global index.
7

SYNOPSIS

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

DESCRIPTION

15       HPL_indxl2g computes the global index of a matrix  entry  pointed to by
16       the local index IL of the process indicated by PROC.
17

ARGUMENTS

19       IL      (input)                 const int
20               On  entry,  IL specifies the local  index of the matrix  entry.
21               IL 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       PROC    (input)                 const int
32               On entry, PROC  specifies the coordinate of the  process  whose
33               local  array  row or column is to be determined. PROC  must  be
34               at least zero and strictly less than NPROCS.
35
36       SRCPROC (input)                 const int
37               On entry,  SRCPROC  specifies  the coordinate of  the   process
38               that  possesses  the first row or column of the matrix. SRCPROC
39               must be at least zero and strictly less than NPROCS.
40
41       NPROCS  (input)                 const int
42               On entry,  NPROCS  specifies the total number of  process  rows
43               or  columns  over which the matrix is distributed.  NPROCS must
44               be at least one.
45

SEE ALSO

47       HPL_indxg2l (3),  HPL_indxg2lp (3),  HPL_indxg2p (3),   HPL_numroc (3),
48       HPL_numrocI (3).
49
50
51
52HPL 2.1                        October 26, 2012                 HPL_indxl2g(3)
Impressum