Visible to Intel only — GUID: GUID-579E4913-3988-4BF0-81D5-64AC0A2D64F2
Visible to Intel only — GUID: GUID-579E4913-3988-4BF0-81D5-64AC0A2D64F2
numroc
Computes the number of rows or columns of a distributed matrix owned by the process.
Syntax
val = numroc( n, nb, iproc, srcproc, nprocs )
Description
The numrocroutine computes the number of rows or columns of a distributed matrix owned by the process.
Input Parameters
- n
-
(global input)INTEGER. The number of rows/columns in distributed matrix.
- nb
-
(global input)INTEGER. Block size, size of the blocks the distributed matrix is split into.
- iproc
-
(local input)INTEGER. The coordinate of the process whose local array row or column is to be determined.
- srcproc
-
(global input)INTEGER. The coordinate of the process that possesses the first row or column of the distributed matrix.
- nprocs
-
(global input)INTEGER. The total number processes over which the matrix is distributed.
Output Parameters
- info
-
(output)INTEGER. Value returned by the function.