14 parameter( dlen_ = 9 )
15 INTEGER maxn, lwork, liwork
16 parameter( maxn = 200, lwork = 500000,
20 CHARACTER subtests, uplo
21 INTEGER context, iam, ibtype, info, ipostpad, iprepad,
22 $ lda, mattype, n, nb, npcol, nprocs, nprow
23 DOUBLE PRECISION abstol, thresh
26 INTEGER desca( dlen_ ), iclustr( maxn ), ifail( maxn ),
27 $ iseed( 4 ), iwork( liwork )
28 DOUBLE PRECISION a( maxn*maxn ), b( maxn, maxn ),
29 $ copya( maxn*maxn ), copyb( maxn, maxn ),
30 $ gap( maxn ), win( maxn ), wnew( maxn ),
31 $ work( lwork ), z( maxn*maxn )
37 EXTERNAL blacs_exit, blacs_get, blacs_gridinit,
62 abstol = 0.1175494351d-37
65 CALL blacs_pinfo( iam, nprocs )
66 IF( nprocs.LT.1 )
THEN
69 CALL blacs_setup( iam, nprocs )
71 CALL blacs_get( -1, 0, context )
72 CALL blacs_gridinit( context,
'R', nprow, npcol )
74 CALL descinit( desca, n, n, nb, nb, 0, 0, context, lda, info )
76 CALL pdgseptst( desca, uplo, n, mattype, ibtype, subtests, thresh,
77 $ n, abstol, iseed, a, copya, b, copyb, z, lda, win,
78 $ wnew, ifail, iclustr, gap, iprepad, ipostpad,
79 $ work, lwork-iprepad-ipostpad, iwork,
80 $ liwork-iprepad-ipostpad, 6, info )
subroutine descinit(desc, m, n, mb, nb, irsrc, icsrc, ictxt, lld, info)
subroutine pdgseptst(desca, uplo, n, mattype, ibtype, subtests, thresh, order, abstol, iseed, a, copya, b, copyb, z, lda, win, wnew, ifail, iclustr, gap, iprepad, ipostpad, work, lwork, iwork, liwork, nout, info)