Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

descinit

Initializes the array descriptor for distributed matrix.

Syntax

void
descinit
(
MKL_INT
*desc
,
const
MKL_INT
*m
,
const
MKL_INT
*n
,
const
MKL_INT
*mb
,
const
MKL_INT
*nb
,
const
MKL_INT
*irsrc
,
const
MKL_INT
*icsrc
,
const
MKL_INT
*ictxt
,
const
MKL_INT
*lld
,
MKL_INT
*info
);
Description
The
descint
function
initializes the array descriptor for distributed matrix.
Input Parameters
desc
(global) array of dimension DLEN_. The array descriptor of a distributed matrix to be set.
m
(global input) The number of rows in the distributed matrix. M >=0.
n
(global input) The number of columns in the distributed matrix. N >=0.
mb
(global input) The blocking factor used to distribute the rows of the matrix. MB >= 1.
nb
(global input) The blocking factor used to distribute the columns of the matrix. NB >= 1.
lrsrc
(global input) The process row over which the first row of the matrix is distributed. 0 <= IRSRC < NPROW.
lcsrc
(global input) The process column over which the first column of the matrix is distributed. 0 <= ICSRC < NPCOL.
ictxt
(global input) The BLACS context handle, indicating the global context of the operation on the matrix. The context itself is global.
lld
(local input) The leading dimension of the local array storing the local blocks of the distributed matrix. LLD >= MAX(1,LOCr(M)). LOCr() denotes the number of rows of a global dense matrix that the process in a grid receives after data distributing.
Output Parameters
info
(output)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.