Next: PxTRMR2D Up: PxGEMR2D Previous: Purpose

### Arguments

M
  (global input) INTEGER
  On entry, M specifies the number of rows of the (sub)matrix A to be copied. M 0.

N
  (global input) INTEGER
  On entry, N specifies the number of columns of the (sub)matrix A to be copied. N zero.

A
  (local input) REAL/COMPLEX/INTEGER array, dimension (LLD_A,LOCc(JA+N-1))
  On entry, the source matrix.

IA
  (global input) INTEGER
  On entry,the global row index of the beginning of the (sub)matrix of A to copy.
  1 IA M_A - M + 1.

JA
  (global input) INTEGER
  On entry,the global column index of the beginning of the (sub)matrix of A to copy.
  1 JA N_A - N + 1.

DESCA
  (global and local input) INTEGER array, dimension (DLEN_)
  The array descriptor for the distributed matrix A.
  Only DESCA(DTYPE_)=1 is supported, and thus DLEN_ = 9.
  If the calling process is not part of the context of A, then DESCA(CTXT_) must be equal to -1.

B
  (local output) REAL/COMPLEX/INTEGER array, dimension (LLD_B,LOCc(JB+N-1))
  On exit, the defined (sub)matrix is overwritten by the indicated (sub)matrix from A.

IB
  (global input) INTEGER
  On entry, the global row index of the beginning of the (sub)matrix of B that will be overwritten.
  1 IB M_B - M + 1.

JB
  (global input) INTEGER
  On entry, the global column index of the beginning of the submatrix of B that will be overwritten.
  1 JB N_B - N + 1.

DESCB
  (global and local input) INTEGER array, dimension (DLEN_)
  The array descriptor for the distributed matrix B.
  Only DESCB(DTYPE_)=1 is supported, and thus DLEN_ = 9.
  If the calling process is not part of the context of B, then DESCB(CTXT_) must be equal to -1.

ICTXT
  (global input) INTEGER
  The context encompassing at least the union of all processes in context A and context B. All processes in the context ICTXT must call this routine, even if they do not own a piece of either matrix.

Next: PxTRMR2D Up: PxGEMR2D Previous: Purpose