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