39 DOUBLE PRECISION rcond
42 INTEGER hl( 2 ), hpiv( 2 )
44 DOUBLE PRECISION c( nmax ), r( nmax ), r1( nmax ), r2( nmax ),
45 $ rf( nmax ), rw( nmax )
46 COMPLEX*16 a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
47 $ w( 2*nmax ), x( nmax ), iw( nmax )
54 EXTERNAL chkxer, zgbsv, zgbsvx, zgesv, zgesvx, zgtsv,
55 $ zgtsvx, zhesv, zhesvx, zhpsv, zhpsvx, zpbsv,
56 $ zpbsvx, zposv,
zposvx, zppsv, zppsvx, zptsv,
57 $ zptsvx, zspsv, zspsvx, zsysv, zsysvx
65 common / infoc / infot, nout, ok, lerr
66 common / srnamc / srnamt
69 INTRINSIC dble, dcmplx
74 WRITE( nout, fmt = * )
86 a( i, j ) = dcmplx( 1.d0 / dble( i+j ),
87 $ -1.d0 / dble( i+j ) )
88 af( i, j ) = dcmplx( 1.d0 / dble( i+j ),
89 $ -1.d0 / dble( i+j ) )
102 IF(
lsamen( 2, c2,
'GE' ) )
THEN
107 $ 2, 1, hl, hpiv, info )
115 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
118 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
121 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
124 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
128 CALL plasma_dealloc_handle( hl, info )
129 CALL plasma_dealloc_handle( hpiv, info )
137 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
140 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
143 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
146 CALL
chkxer(
'ZGESV ', infot, nout, info, ok )
148 ELSE IF(
lsamen( 2, c2,
'PO' ) )
THEN
155 CALL
chkxer(
'ZPOSV ', infot, nout, info, ok )
157 CALL
plasma_zposv( plasmaupper, -1, 0, a, 1, b, 1, info )
158 CALL
chkxer(
'ZPOSV ', infot, nout, info, ok )
160 CALL
plasma_zposv( plasmaupper, 0, -1, a, 1, b, 1, info )
161 CALL
chkxer(
'ZPOSV ', infot, nout, info, ok )
163 CALL
plasma_zposv( plasmaupper, 2, 0, a, 1, b, 2, info )
164 CALL
chkxer(
'ZPOSV ', infot, nout, info, ok )
166 CALL
plasma_zposv( plasmaupper, 2, 0, a, 2, b, 1, info )
167 CALL
chkxer(
'ZPOSV ', infot, nout, info, ok )
173 CALL
zposvx(
'/',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
174 $ rcond, r1, r2, w, iw, info )
175 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
177 CALL
zposvx(
'N',
'/', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
178 $ rcond, r1, r2, w, iw, info )
179 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
181 CALL
zposvx(
'N',
'U', -1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
182 $ rcond, r1, r2, w, iw, info )
183 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
185 CALL
zposvx(
'N',
'U', 0, -1, a, 1, af, 1, eq, c, b, 1, x, 1,
186 $ rcond, r1, r2, w, iw, info )
187 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
189 CALL
zposvx(
'N',
'U', 2, 0, a, 1, af, 2, eq, c, b, 2, x, 2,
190 $ rcond, r1, r2, w, iw, info )
191 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
193 CALL
zposvx(
'N',
'U', 2, 0, a, 2, af, 1, eq, c, b, 2, x, 2,
194 $ rcond, r1, r2, w, iw, info )
195 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
198 CALL
zposvx(
'F',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
199 $ rcond, r1, r2, w, iw, info )
200 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
203 CALL
zposvx(
'F',
'U', 1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
204 $ rcond, r1, r2, w, iw, info )
205 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
207 CALL
zposvx(
'N',
'U', 2, 0, a, 2, af, 2, eq, c, b, 1, x, 2,
208 $ rcond, r1, r2, w, iw, info )
209 CALL
chkxer(
'ZPOSVX', infot, nout, info, ok )
216 WRITE( nout, fmt = 9999 )path
218 WRITE( nout, fmt = 9998 )path
221 9999
format( 1x, a3,
' drivers passed the tests of the error exits' )
222 9998
format(
' *** ', a3,
' drivers failed the tests of the error ',