1 SUBROUTINE pbctrsrt( ICONTXT, ADIST, M, N, NB, A, LDA, BETA, B,
2 $ LDB, LCMP, LCMQ, NINT )
10 INTEGER ICONTXT, LCMP, LCMQ, LDA, LDB, M, N, NB, NINT
14 COMPLEX A( LDA, * ), B( LDB, * )
28 parameter( one = ( 1.0e+0, 0.0e+0 ) )
31 INTEGER JA, JB, K, KK, NJUMP
46 IF( lsame( adist,
'R' ) )
THEN
49 ja = nint * mod( k*lcmp, lcmq ) + 1
52 DO 10 kk = 1, iceil( nint, nb )
53 IF( n.LT.jb )
GO TO 20
55 $ a(1, ja), lda, beta, b(1, jb), ldb )
69 DO 30 kk = 1, iceil( nint, nb )
70 IF( m.LT.jb )
GO TO 40
72 $ a(ja, n*mod(k*lcmq,lcmp)+1), lda, beta,