1 SUBROUTINE pielset2( ALPHA, A, IA, JA, DESCA, BETA )
9 INTEGER ALPHA, BETA, IA, JA
12 INTEGER A( * ), DESCA( * )
102 INTEGER BLOCK_CYCLIC_2D, CSRC_, CTXT_, DLEN_, DTYPE_,
103 $ LLD_, MB_, M_, NB_, N_, RSRC_
104 parameter( block_cyclic_2d = 1, dlen_ = 9, dtype_ = 1,
105 $ ctxt_ = 2, m_ = 3, n_ = 4, mb_ = 5, nb_ = 6,
106 $ rsrc_ = 7, csrc_ = 8, lld_ = 9 )
108 parameter( zero = 0 )
111 INTEGER IACOL, IAROW, IIA, IOFFA, JJA, MYCOL, MYROW,
115 EXTERNAL blacs_gridinfo,
infog2l
121 CALL blacs_gridinfo( desca( ctxt_ ), nprow, npcol, myrow, mycol )
123 CALL infog2l( ia, ja, desca, nprow, npcol, myrow, mycol, iia, jja,
126 IF( myrow.EQ.iarow .AND. mycol.EQ.iacol )
THEN
127 ioffa = iia+(jja-1)*desca( lld_ )