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

NAME

6       HPL_numroc - Compute the local number of row/columns.
7

SYNOPSIS

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

DESCRIPTION

15       HPL_numroc returns  the  local number of  matrix  rows/columns  process
16       PROC   will   get  if  we give out  N rows/columns starting from global
17       index 0.
18

ARGUMENTS

20       N       (input)                 const int
21               On entry, N  specifies the number of rows/columns  being  dealt
22               out. N must be at least zero.
23
24       INB     (input)                 const int
25               On  entry,   INB  specifies  the size of the first block of the
26               global matrix. INB must be at least one.
27
28       NB      (input)                 const int
29               On entry,  NB specifies the blocking factor used  to  partition
30               and distribute the matrix A. NB must be larger than one.
31
32       PROC    (input)                 const int
33               On  entry,  PROC specifies  the coordinate of the process whose
34               local portion is determined.  PROC must be at least  zero   and
35               strictly less than NPROCS.
36
37       SRCPROC (input)                 const int
38               On  entry,   SRCPROC  specifies  the coordinate of the  process
39               that possesses the first row or column of the  matrix.  SRCPROC
40               must be at least zero and strictly less than NPROCS.
41
42       NPROCS  (input)                 const int
43               On  entry,   NPROCS  specifies the total number of process rows
44               or columns over which the matrix is distributed.   NPROCS  must
45               be at least one.
46

SEE ALSO

48       HPL_indxg2l (3),  HPL_indxg2lp (3),  HPL_indxg2p (3),  HPL_indxl2g (3),
49       HPL_numrocI (3).
50
51
52
53HPL 2.2                        February 24, 2016                 HPL_numroc(3)
Impressum