1 SUBROUTINE pslatrz( M, N, L, A, IA, JA, DESCA, TAU, WORK )
9 INTEGER IA, JA, L, M, N
13 REAL A( * ), TAU( * ), WORK( * )
168 INTEGER BLOCK_CYCLIC_2D, CSRC_, CTXT_, DLEN_, DTYPE_,
169 $ LLD_, MB_, M_, NB_, N_, RSRC_
170 parameter( block_cyclic_2d = 1, dlen_ = 9, dtype_ = 1,
171 $ ctxt_ = 2, m_ = 3, n_ = 4, mb_ = 5, nb_ = 6,
172 $ rsrc_ = 7, csrc_ = 8, lld_ = 9 )
174 parameter( one = 1.0e+0, zero = 0.0e+0 )
177 INTEGER I, IAROW, ICTXT, II, J, J1, MP, MYCOL, MYROW,
192 IF( m.EQ.0 .OR. n.EQ.0 )
197 ictxt = desca( ctxt_ )
198 CALL blacs_gridinfo( ictxt, nprow, npcol, myrow, mycol )
200 mp = numroc( ia+m-1, desca( mb_ ), myrow, desca( rsrc_ ),
205 CALL infog1l( ia, desca( mb_ ), nprow, myrow, desca( rsrc_ ),
214 DO 20 i = ia+m-1, ia, -1
220 CALL pslarfg( l+1, aii, i, j, a, i, j1, desca, desca( m_ ),
225 CALL pslarz(
'Right', i-ia, ja+n-j, l, a, i, j1, desca,
226 $ desca( m_ ), tau, a, ia, j, desca, work )
227 CALL pselset( a, i, j, desca, aii )