14 parameter( dlen_ = 9 )
15 INTEGER maxn, lwork, liwork
16 parameter( maxn = 200, lwork = 500000,
20 CHARACTER hetero, subtests, uplo
21 INTEGER context, iam, info, ipostpad, iprepad, lda,
22 $ 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 ), copya( maxn*maxn ),
29 $ gap( maxn ), win( maxn ), wnew( maxn ),
30 $ work( lwork ), z( maxn*maxn )
36 EXTERNAL blacs_exit, blacs_get, blacs_gridinit,
64 abstol = 0.1175494351d-37
67 CALL blacs_pinfo( iam, nprocs )
68 IF( nprocs.LT.1 )
THEN
71 CALL blacs_setup( iam, nprocs )
73 CALL blacs_get( -1, 0, context )
74 CALL blacs_gridinit( context,
'R', nprow, npcol )
76 CALL descinit( desca, n, n, nb, nb, 0, 0, context, lda, info )
78 CALL pdseptst( desca, uplo, n, mattype, subtests, thresh, n,
79 $ abstol, iseed, a, copya, z, lda, win, wnew, ifail,
80 $ iclustr, gap, iprepad, ipostpad, work,
81 $ lwork-iprepad-ipostpad, iwork,
82 $ liwork-iprepad-ipostpad, hetero, 6, info )
subroutine descinit(desc, m, n, mb, nb, irsrc, icsrc, ictxt, lld, info)
subroutine pdseptst(desca, uplo, n, mattype, subtests, thresh, order, abstol, iseed, a, copya, z, lda, win, wnew, ifail, iclustr, gap, iprepad, ipostpad, work, lwork, iwork, liwork, hetero, nout, info)