numroc
Computes the number of rows or columns of a distributed matrix owned by the process.
Syntax
MKL_INT
numroc
(
const
MKL_INT
*n
,
const
MKL_INT
*nb
,
const
MKL_INT
*iproc
,
const
MKL_INT
*srcproc
,
const
MKL_INT
*nprocs
);
Description
The
numroc
function
computes the number of rows or columns of a distributed matrix owned by the process.Input Parameters
- n
- (global input) The number of rows/columns in distributed matrix.
- nb
- (global input) Block size, size of the blocks the distributed matrix is split into.
- iproc
- (local input) The coordinate of the process whose local array row or column is to be determined.
- srcproc
- (global input) The coordinate of the process that possesses the first row or column of the distributed matrix.
- nprocs
- (global input) The total number processes over which the matrix is distributed.
Output Parameters
- info
- (output) Value returned by the function.