12 parameter( dlen_ = 9 )
13 INTEGER maxn, lwork, liwork
14 parameter( maxn = 200, lwork = 500000,
18 CHARACTER subtests, uplo
19 INTEGER context, iam, info, ipostpad, iprepad, lda,
20 $ mattype, n, nb, npcol, nprocs, nprow
24 INTEGER desca( dlen_ ), iclustr( maxn ), ifail( maxn ),
25 $ iseed( 4 ), iwork( liwork )
26 REAL gap( maxn ), rwork( lwork ), win( maxn ),
28 COMPLEX a( maxn*maxn ), copya( maxn*maxn ),
29 $ work( lwork ), z( maxn*maxn )
35 EXTERNAL blacs_exit, blacs_get, blacs_gridinit,
59 abstol = 0.1175494351e-37
62 CALL blacs_pinfo( iam, nprocs )
63 IF( nprocs.LT.1 )
THEN
66 CALL blacs_setup( iam, nprocs )
68 CALL blacs_get( -1, 0, context )
69 CALL blacs_gridinit( context,
'R', nprow, npcol )
71 CALL descinit( desca, n, n, nb, nb, 0, 0, context, lda, info )
73 CALL pcseptst( desca, uplo, n, mattype, subtests, thresh, n,
74 $ abstol, iseed, a, copya, z, lda, win, wnew, ifail,
75 $ iclustr, gap, iprepad, ipostpad, work,
76 $ lwork-iprepad-ipostpad, rwork,
77 $ lwork-iprepad-ipostpad, iwork,
78 $ liwork-iprepad-ipostpad, 6, info )
subroutine descinit(desc, m, n, mb, nb, irsrc, icsrc, ictxt, lld, info)
subroutine pcseptst(desca, uplo, n, mattype, subtests, thresh, order, abstol, iseed, a, copya, z, lda, win, wnew, ifail, iclustr, gap, iprepad, ipostpad, work, lwork, rwork, lrwork, iwork, liwork, nout, info)