56 SUBROUTINE serrvx( PATH, NUNIT )
77 INTEGER i, info, j, n_err_bnds, nparams
78 REAL rcond, rpvgrw, berr
81 INTEGER ip( nmax ), iw( nmax )
82 REAL a( nmax, nmax ), af( nmax, nmax ), b( nmax ),
83 $ c( nmax ), r( nmax ), r1( nmax ), r2( nmax ),
84 $ w( 2*nmax ), x( nmax ), err_bnds_n( nmax, 3 ),
85 $ err_bnds_c( nmax, 3 ), params( 1 )
103 common / infoc / infot, nout, ok, lerr
104 common / srnamc / srnamt
112 WRITE( nout, fmt = * )
119 a( i, j ) = 1. /
REAL( i+j )
120 af( i, j ) = 1. /
REAL( i+j )
134 IF(
lsamen( 2, c2,
'GE' ) )
THEN
140 CALL
sgesv( -1, 0, a, 1, ip, b, 1, info )
141 CALL
chkxer(
'SGESV ', infot, nout, lerr, ok )
143 CALL
sgesv( 0, -1, a, 1, ip, b, 1, info )
144 CALL
chkxer(
'SGESV ', infot, nout, lerr, ok )
146 CALL
sgesv( 2, 1, a, 1, ip, b, 2, info )
147 CALL
chkxer(
'SGESV ', infot, nout, lerr, ok )
149 CALL
sgesv( 2, 1, a, 2, ip, b, 1, info )
150 CALL
chkxer(
'SGESV ', infot, nout, lerr, ok )
156 CALL
sgesvx(
'/',
'N', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
157 $ x, 1, rcond, r1, r2, w, iw, info )
158 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
160 CALL
sgesvx(
'N',
'/', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
161 $ x, 1, rcond, r1, r2, w, iw, info )
162 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
164 CALL
sgesvx(
'N',
'N', -1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
165 $ x, 1, rcond, r1, r2, w, iw, info )
166 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
168 CALL
sgesvx(
'N',
'N', 0, -1, a, 1, af, 1, ip, eq, r, c, b, 1,
169 $ x, 1, rcond, r1, r2, w, iw, info )
170 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
172 CALL
sgesvx(
'N',
'N', 2, 1, a, 1, af, 2, ip, eq, r, c, b, 2,
173 $ x, 2, rcond, r1, r2, w, iw, info )
174 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
176 CALL
sgesvx(
'N',
'N', 2, 1, a, 2, af, 1, ip, eq, r, c, b, 2,
177 $ x, 2, rcond, r1, r2, w, iw, info )
178 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
181 CALL
sgesvx(
'F',
'N', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
182 $ x, 1, rcond, r1, r2, w, iw, info )
183 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
186 CALL
sgesvx(
'F',
'N', 1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
187 $ x, 1, rcond, r1, r2, w, iw, info )
188 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
191 CALL
sgesvx(
'F',
'N', 1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
192 $ x, 1, rcond, r1, r2, w, iw, info )
193 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
195 CALL
sgesvx(
'N',
'N', 2, 1, a, 2, af, 2, ip, eq, r, c, b, 1,
196 $ x, 2, rcond, r1, r2, w, iw, info )
197 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
199 CALL
sgesvx(
'N',
'N', 2, 1, a, 2, af, 2, ip, eq, r, c, b, 2,
200 $ x, 1, rcond, r1, r2, w, iw, info )
201 CALL
chkxer(
'SGESVX', infot, nout, lerr, ok )
209 CALL
sgesvxx(
'/',
'N', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
210 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
211 $ err_bnds_c, nparams, params, w, iw, info )
212 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
214 CALL
sgesvxx(
'N',
'/', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
215 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
216 $ err_bnds_c, nparams, params, w, iw, info )
217 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
219 CALL
sgesvxx(
'N',
'N', -1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
220 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
221 $ err_bnds_c, nparams, params, w, iw, info )
222 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
224 CALL
sgesvxx(
'N',
'N', 0, -1, a, 1, af, 1, ip, eq, r, c, b, 1,
225 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
226 $ err_bnds_c, nparams, params, w, iw, info )
227 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
229 CALL
sgesvxx(
'N',
'N', 2, 1, a, 1, af, 2, ip, eq, r, c, b, 2,
230 $ x, 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
231 $ err_bnds_c, nparams, params, w, iw, info )
232 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
234 CALL
sgesvxx(
'N',
'N', 2, 1, a, 2, af, 1, ip, eq, r, c, b, 2,
235 $ x, 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
236 $ err_bnds_c, nparams, params, w, iw, info )
237 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
240 CALL
sgesvxx(
'F',
'N', 0, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
241 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
242 $ err_bnds_c, nparams, params, w, iw, info )
243 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
246 CALL
sgesvxx(
'F',
'N', 1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
247 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
248 $ err_bnds_c, nparams, params, w, iw, info )
249 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
252 CALL
sgesvxx(
'F',
'N', 1, 0, a, 1, af, 1, ip, eq, r, c, b, 1,
253 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
254 $ err_bnds_c, nparams, params, w, iw, info )
255 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
257 CALL
sgesvxx(
'N',
'N', 2, 1, a, 2, af, 2, ip, eq, r, c, b, 1,
258 $ x, 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
259 $ err_bnds_c, nparams, params, w, iw, info )
260 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
262 CALL
sgesvxx(
'N',
'N', 2, 1, a, 2, af, 2, ip, eq, r, c, b, 2,
263 $ x, 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
264 $ err_bnds_c, nparams, params, w, iw, info )
265 CALL
chkxer(
'SGESVXX', infot, nout, lerr, ok )
267 ELSE IF(
lsamen( 2, c2,
'GB' ) )
THEN
273 CALL
sgbsv( -1, 0, 0, 0, a, 1, ip, b, 1, info )
274 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
276 CALL
sgbsv( 1, -1, 0, 0, a, 1, ip, b, 1, info )
277 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
279 CALL
sgbsv( 1, 0, -1, 0, a, 1, ip, b, 1, info )
280 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
282 CALL
sgbsv( 0, 0, 0, -1, a, 1, ip, b, 1, info )
283 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
285 CALL
sgbsv( 1, 1, 1, 0, a, 3, ip, b, 1, info )
286 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
288 CALL
sgbsv( 2, 0, 0, 0, a, 1, ip, b, 1, info )
289 CALL
chkxer(
'SGBSV ', infot, nout, lerr, ok )
295 CALL
sgbsvx(
'/',
'N', 0, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
296 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
297 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
299 CALL
sgbsvx(
'N',
'/', 0, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
300 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
301 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
303 CALL
sgbsvx(
'N',
'N', -1, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
304 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
305 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
307 CALL
sgbsvx(
'N',
'N', 1, -1, 0, 0, a, 1, af, 1, ip, eq, r, c,
308 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
309 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
311 CALL
sgbsvx(
'N',
'N', 1, 0, -1, 0, a, 1, af, 1, ip, eq, r, c,
312 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
313 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
315 CALL
sgbsvx(
'N',
'N', 0, 0, 0, -1, a, 1, af, 1, ip, eq, r, c,
316 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
317 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
319 CALL
sgbsvx(
'N',
'N', 1, 1, 1, 0, a, 2, af, 4, ip, eq, r, c,
320 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
321 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
323 CALL
sgbsvx(
'N',
'N', 1, 1, 1, 0, a, 3, af, 3, ip, eq, r, c,
324 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
325 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
328 CALL
sgbsvx(
'F',
'N', 0, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
329 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
330 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
333 CALL
sgbsvx(
'F',
'N', 1, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
334 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
335 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
338 CALL
sgbsvx(
'F',
'N', 1, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
339 $ b, 1, x, 1, rcond, r1, r2, w, iw, info )
340 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
342 CALL
sgbsvx(
'N',
'N', 2, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
343 $ b, 1, x, 2, rcond, r1, r2, w, iw, info )
344 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
346 CALL
sgbsvx(
'N',
'N', 2, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
347 $ b, 2, x, 1, rcond, r1, r2, w, iw, info )
348 CALL
chkxer(
'SGBSVX', infot, nout, lerr, ok )
356 CALL
sgbsvxx(
'/',
'N', 0, 0, 0, 0, a, 1, af, 1, ip, eq, r, c,
357 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
358 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
360 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
362 CALL
sgbsvxx(
'N',
'/', 0, 1, 1, 0, a, 1, af, 1, ip, eq, r, c,
363 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
364 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
366 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
368 CALL
sgbsvxx(
'N',
'N', -1, 1, 1, 0, a, 1, af, 1, ip, eq, r, c,
369 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
370 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
372 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
374 CALL
sgbsvxx(
'N',
'N', 2, -1, 1, 0, a, 1, af, 1, ip, eq,
375 $ r, c, b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
376 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
378 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
380 CALL
sgbsvxx(
'N',
'N', 2, 1, -1, 0, a, 1, af, 1, ip, eq,
381 $ r, c, b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
382 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
384 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
386 CALL
sgbsvxx(
'N',
'N', 0, 1, 1, -1, a, 1, af, 1, ip, eq, r, c,
387 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
388 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
390 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
392 CALL
sgbsvxx(
'N',
'N', 2, 1, 1, 1, a, 2, af, 2, ip, eq, r, c,
393 $ b, 2, x, 2, rcond, rpvgrw, berr, n_err_bnds,
394 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
396 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
398 CALL
sgbsvxx(
'N',
'N', 2, 1, 1, 1, a, 3, af, 3, ip, eq, r, c,
399 $ b, 2, x, 2, rcond, rpvgrw, berr, n_err_bnds,
400 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
402 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
405 CALL
sgbsvxx(
'F',
'N', 0, 1, 1, 0, a, 3, af, 4, ip, eq, r, c,
406 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
407 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
409 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
412 CALL
sgbsvxx(
'F',
'N', 1, 1, 1, 0, a, 3, af, 4, ip, eq, r, c,
413 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
414 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
416 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
419 CALL
sgbsvxx(
'F',
'N', 1, 1, 1, 0, a, 3, af, 4, ip, eq, r, c,
420 $ b, 1, x, 1, rcond, rpvgrw, berr, n_err_bnds,
421 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
423 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
425 CALL
sgbsvxx(
'N',
'N', 2, 1, 1, 1, a, 3, af, 4, ip, eq, r, c,
426 $ b, 1, x, 2, rcond, rpvgrw, berr, n_err_bnds,
427 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
429 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
431 CALL
sgbsvxx(
'N',
'N', 2, 1, 1, 1, a, 3, af, 4, ip, eq, r, c,
432 $ b, 2, x, 1, rcond, rpvgrw, berr, n_err_bnds,
433 $ err_bnds_n, err_bnds_c, nparams, params, w, iw,
435 CALL
chkxer(
'SGBSVXX', infot, nout, lerr, ok )
437 ELSE IF(
lsamen( 2, c2,
'GT' ) )
THEN
443 CALL
sgtsv( -1, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ), b, 1,
445 CALL
chkxer(
'SGTSV ', infot, nout, lerr, ok )
447 CALL
sgtsv( 0, -1, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ), b, 1,
449 CALL
chkxer(
'SGTSV ', infot, nout, lerr, ok )
451 CALL
sgtsv( 2, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ), b, 1, info )
452 CALL
chkxer(
'SGTSV ', infot, nout, lerr, ok )
458 CALL
sgtsvx(
'/',
'N', 0, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
459 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
460 $ ip, b, 1, x, 1, rcond, r1, r2, w, iw, info )
461 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
463 CALL
sgtsvx(
'N',
'/', 0, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
464 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
465 $ ip, b, 1, x, 1, rcond, r1, r2, w, iw, info )
466 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
468 CALL
sgtsvx(
'N',
'N', -1, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
469 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
470 $ ip, b, 1, x, 1, rcond, r1, r2, w, iw, info )
471 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
473 CALL
sgtsvx(
'N',
'N', 0, -1, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
474 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
475 $ ip, b, 1, x, 1, rcond, r1, r2, w, iw, info )
476 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
478 CALL
sgtsvx(
'N',
'N', 2, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
479 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
480 $ ip, b, 1, x, 2, rcond, r1, r2, w, iw, info )
481 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
483 CALL
sgtsvx(
'N',
'N', 2, 0, a( 1, 1 ), a( 1, 2 ), a( 1, 3 ),
484 $ af( 1, 1 ), af( 1, 2 ), af( 1, 3 ), af( 1, 4 ),
485 $ ip, b, 2, x, 1, rcond, r1, r2, w, iw, info )
486 CALL
chkxer(
'SGTSVX', infot, nout, lerr, ok )
488 ELSE IF(
lsamen( 2, c2,
'PO' ) )
THEN
494 CALL
sposv(
'/', 0, 0, a, 1, b, 1, info )
495 CALL
chkxer(
'SPOSV ', infot, nout, lerr, ok )
497 CALL
sposv(
'U', -1, 0, a, 1, b, 1, info )
498 CALL
chkxer(
'SPOSV ', infot, nout, lerr, ok )
500 CALL
sposv(
'U', 0, -1, a, 1, b, 1, info )
501 CALL
chkxer(
'SPOSV ', infot, nout, lerr, ok )
503 CALL
sposv(
'U', 2, 0, a, 1, b, 2, info )
504 CALL
chkxer(
'SPOSV ', infot, nout, lerr, ok )
506 CALL
sposv(
'U', 2, 0, a, 2, b, 1, info )
507 CALL
chkxer(
'SPOSV ', infot, nout, lerr, ok )
513 CALL
sposvx(
'/',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
514 $ rcond, r1, r2, w, iw, info )
515 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
517 CALL
sposvx(
'N',
'/', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
518 $ rcond, r1, r2, w, iw, info )
519 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
521 CALL
sposvx(
'N',
'U', -1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
522 $ rcond, r1, r2, w, iw, info )
523 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
525 CALL
sposvx(
'N',
'U', 0, -1, a, 1, af, 1, eq, c, b, 1, x, 1,
526 $ rcond, r1, r2, w, iw, info )
527 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
529 CALL
sposvx(
'N',
'U', 2, 0, a, 1, af, 2, eq, c, b, 2, x, 2,
530 $ rcond, r1, r2, w, iw, info )
531 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
533 CALL
sposvx(
'N',
'U', 2, 0, a, 2, af, 1, eq, c, b, 2, x, 2,
534 $ rcond, r1, r2, w, iw, info )
535 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
538 CALL
sposvx(
'F',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
539 $ rcond, r1, r2, w, iw, info )
540 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
543 CALL
sposvx(
'F',
'U', 1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
544 $ rcond, r1, r2, w, iw, info )
545 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
547 CALL
sposvx(
'N',
'U', 2, 0, a, 2, af, 2, eq, c, b, 1, x, 2,
548 $ rcond, r1, r2, w, iw, info )
549 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
551 CALL
sposvx(
'N',
'U', 2, 0, a, 2, af, 2, eq, c, b, 2, x, 1,
552 $ rcond, r1, r2, w, iw, info )
553 CALL
chkxer(
'SPOSVX', infot, nout, lerr, ok )
561 CALL
sposvxx(
'/',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
562 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
563 $ err_bnds_c, nparams, params, w, iw, info )
564 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
566 CALL
sposvxx(
'N',
'/', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
567 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
568 $ err_bnds_c, nparams, params, w, iw, info )
569 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
571 CALL
sposvxx(
'N',
'U', -1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
572 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
573 $ err_bnds_c, nparams, params, w, iw, info )
574 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
576 CALL
sposvxx(
'N',
'U', 0, -1, a, 1, af, 1, eq, c, b, 1, x, 1,
577 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
578 $ err_bnds_c, nparams, params, w, iw, info )
579 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
581 CALL
sposvxx(
'N',
'U', 2, 0, a, 1, af, 2, eq, c, b, 2, x, 2,
582 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
583 $ err_bnds_c, nparams, params, w, iw, info )
584 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
586 CALL
sposvxx(
'N',
'U', 2, 0, a, 2, af, 1, eq, c, b, 2, x, 2,
587 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
588 $ err_bnds_c, nparams, params, w, iw, info )
589 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
592 CALL
sposvxx(
'F',
'U', 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
593 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
594 $ err_bnds_c, nparams, params, w, iw, info )
595 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
598 CALL
sposvxx(
'F',
'U', 1, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
599 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
600 $ err_bnds_c, nparams, params, w, iw, info )
601 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
603 CALL
sposvxx(
'N',
'U', 2, 0, a, 2, af, 2, eq, c, b, 1, x, 2,
604 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
605 $ err_bnds_c, nparams, params, w, iw, info )
606 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
608 CALL
sposvxx(
'N',
'U', 2, 0, a, 2, af, 2, eq, c, b, 2, x, 1,
609 $ rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
610 $ err_bnds_c, nparams, params, w, iw, info )
611 CALL
chkxer(
'SPOSVXX', infot, nout, lerr, ok )
613 ELSE IF(
lsamen( 2, c2,
'PP' ) )
THEN
619 CALL
sppsv(
'/', 0, 0, a, b, 1, info )
620 CALL
chkxer(
'SPPSV ', infot, nout, lerr, ok )
622 CALL
sppsv(
'U', -1, 0, a, b, 1, info )
623 CALL
chkxer(
'SPPSV ', infot, nout, lerr, ok )
625 CALL
sppsv(
'U', 0, -1, a, b, 1, info )
626 CALL
chkxer(
'SPPSV ', infot, nout, lerr, ok )
628 CALL
sppsv(
'U', 2, 0, a, b, 1, info )
629 CALL
chkxer(
'SPPSV ', infot, nout, lerr, ok )
635 CALL
sppsvx(
'/',
'U', 0, 0, a, af, eq, c, b, 1, x, 1, rcond,
636 $ r1, r2, w, iw, info )
637 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
639 CALL
sppsvx(
'N',
'/', 0, 0, a, af, eq, c, b, 1, x, 1, rcond,
640 $ r1, r2, w, iw, info )
641 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
643 CALL
sppsvx(
'N',
'U', -1, 0, a, af, eq, c, b, 1, x, 1, rcond,
644 $ r1, r2, w, iw, info )
645 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
647 CALL
sppsvx(
'N',
'U', 0, -1, a, af, eq, c, b, 1, x, 1, rcond,
648 $ r1, r2, w, iw, info )
649 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
652 CALL
sppsvx(
'F',
'U', 0, 0, a, af, eq, c, b, 1, x, 1, rcond,
653 $ r1, r2, w, iw, info )
654 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
657 CALL
sppsvx(
'F',
'U', 1, 0, a, af, eq, c, b, 1, x, 1, rcond,
658 $ r1, r2, w, iw, info )
659 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
661 CALL
sppsvx(
'N',
'U', 2, 0, a, af, eq, c, b, 1, x, 2, rcond,
662 $ r1, r2, w, iw, info )
663 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
665 CALL
sppsvx(
'N',
'U', 2, 0, a, af, eq, c, b, 2, x, 1, rcond,
666 $ r1, r2, w, iw, info )
667 CALL
chkxer(
'SPPSVX', infot, nout, lerr, ok )
669 ELSE IF(
lsamen( 2, c2,
'PB' ) )
THEN
675 CALL
spbsv(
'/', 0, 0, 0, a, 1, b, 1, info )
676 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
678 CALL
spbsv(
'U', -1, 0, 0, a, 1, b, 1, info )
679 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
681 CALL
spbsv(
'U', 1, -1, 0, a, 1, b, 1, info )
682 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
684 CALL
spbsv(
'U', 0, 0, -1, a, 1, b, 1, info )
685 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
687 CALL
spbsv(
'U', 1, 1, 0, a, 1, b, 2, info )
688 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
690 CALL
spbsv(
'U', 2, 0, 0, a, 1, b, 1, info )
691 CALL
chkxer(
'SPBSV ', infot, nout, lerr, ok )
697 CALL
spbsvx(
'/',
'U', 0, 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
698 $ rcond, r1, r2, w, iw, info )
699 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
701 CALL
spbsvx(
'N',
'/', 0, 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
702 $ rcond, r1, r2, w, iw, info )
703 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
705 CALL
spbsvx(
'N',
'U', -1, 0, 0, a, 1, af, 1, eq, c, b, 1, x,
706 $ 1, rcond, r1, r2, w, iw, info )
707 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
709 CALL
spbsvx(
'N',
'U', 1, -1, 0, a, 1, af, 1, eq, c, b, 1, x,
710 $ 1, rcond, r1, r2, w, iw, info )
711 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
713 CALL
spbsvx(
'N',
'U', 0, 0, -1, a, 1, af, 1, eq, c, b, 1, x,
714 $ 1, rcond, r1, r2, w, iw, info )
715 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
717 CALL
spbsvx(
'N',
'U', 1, 1, 0, a, 1, af, 2, eq, c, b, 2, x, 2,
718 $ rcond, r1, r2, w, iw, info )
719 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
721 CALL
spbsvx(
'N',
'U', 1, 1, 0, a, 2, af, 1, eq, c, b, 2, x, 2,
722 $ rcond, r1, r2, w, iw, info )
723 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
726 CALL
spbsvx(
'F',
'U', 0, 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
727 $ rcond, r1, r2, w, iw, info )
728 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
731 CALL
spbsvx(
'F',
'U', 1, 0, 0, a, 1, af, 1, eq, c, b, 1, x, 1,
732 $ rcond, r1, r2, w, iw, info )
733 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
735 CALL
spbsvx(
'N',
'U', 2, 0, 0, a, 1, af, 1, eq, c, b, 1, x, 2,
736 $ rcond, r1, r2, w, iw, info )
737 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
739 CALL
spbsvx(
'N',
'U', 2, 0, 0, a, 1, af, 1, eq, c, b, 2, x, 1,
740 $ rcond, r1, r2, w, iw, info )
741 CALL
chkxer(
'SPBSVX', infot, nout, lerr, ok )
743 ELSE IF(
lsamen( 2, c2,
'PT' ) )
THEN
749 CALL
sptsv( -1, 0, a( 1, 1 ), a( 1, 2 ), b, 1, info )
750 CALL
chkxer(
'SPTSV ', infot, nout, lerr, ok )
752 CALL
sptsv( 0, -1, a( 1, 1 ), a( 1, 2 ), b, 1, info )
753 CALL
chkxer(
'SPTSV ', infot, nout, lerr, ok )
755 CALL
sptsv( 2, 0, a( 1, 1 ), a( 1, 2 ), b, 1, info )
756 CALL
chkxer(
'SPTSV ', infot, nout, lerr, ok )
762 CALL
sptsvx(
'/', 0, 0, a( 1, 1 ), a( 1, 2 ), af( 1, 1 ),
763 $ af( 1, 2 ), b, 1, x, 1, rcond, r1, r2, w, info )
764 CALL
chkxer(
'SPTSVX', infot, nout, lerr, ok )
766 CALL
sptsvx(
'N', -1, 0, a( 1, 1 ), a( 1, 2 ), af( 1, 1 ),
767 $ af( 1, 2 ), b, 1, x, 1, rcond, r1, r2, w, info )
768 CALL
chkxer(
'SPTSVX', infot, nout, lerr, ok )
770 CALL
sptsvx(
'N', 0, -1, a( 1, 1 ), a( 1, 2 ), af( 1, 1 ),
771 $ af( 1, 2 ), b, 1, x, 1, rcond, r1, r2, w, info )
772 CALL
chkxer(
'SPTSVX', infot, nout, lerr, ok )
774 CALL
sptsvx(
'N', 2, 0, a( 1, 1 ), a( 1, 2 ), af( 1, 1 ),
775 $ af( 1, 2 ), b, 1, x, 2, rcond, r1, r2, w, info )
776 CALL
chkxer(
'SPTSVX', infot, nout, lerr, ok )
778 CALL
sptsvx(
'N', 2, 0, a( 1, 1 ), a( 1, 2 ), af( 1, 1 ),
779 $ af( 1, 2 ), b, 2, x, 1, rcond, r1, r2, w, info )
780 CALL
chkxer(
'SPTSVX', infot, nout, lerr, ok )
782 ELSE IF(
lsamen( 2, c2,
'SY' ) )
THEN
788 CALL
ssysv(
'/', 0, 0, a, 1, ip, b, 1, w, 1, info )
789 CALL
chkxer(
'SSYSV ', infot, nout, lerr, ok )
791 CALL
ssysv(
'U', -1, 0, a, 1, ip, b, 1, w, 1, info )
792 CALL
chkxer(
'SSYSV ', infot, nout, lerr, ok )
794 CALL
ssysv(
'U', 0, -1, a, 1, ip, b, 1, w, 1, info )
795 CALL
chkxer(
'SSYSV ', infot, nout, lerr, ok )
797 CALL
ssysv(
'U', 2, 0, a, 2, ip, b, 1, w, 1, info )
798 CALL
chkxer(
'SSYSV ', infot, nout, lerr, ok )
804 CALL
ssysvx(
'/',
'U', 0, 0, a, 1, af, 1, ip, b, 1, x, 1,
805 $ rcond, r1, r2, w, 1, iw, info )
806 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
808 CALL
ssysvx(
'N',
'/', 0, 0, a, 1, af, 1, ip, b, 1, x, 1,
809 $ rcond, r1, r2, w, 1, iw, info )
810 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
812 CALL
ssysvx(
'N',
'U', -1, 0, a, 1, af, 1, ip, b, 1, x, 1,
813 $ rcond, r1, r2, w, 1, iw, info )
814 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
816 CALL
ssysvx(
'N',
'U', 0, -1, a, 1, af, 1, ip, b, 1, x, 1,
817 $ rcond, r1, r2, w, 1, iw, info )
818 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
820 CALL
ssysvx(
'N',
'U', 2, 0, a, 1, af, 2, ip, b, 2, x, 2,
821 $ rcond, r1, r2, w, 4, iw, info )
822 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
824 CALL
ssysvx(
'N',
'U', 2, 0, a, 2, af, 1, ip, b, 2, x, 2,
825 $ rcond, r1, r2, w, 4, iw, info )
826 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
828 CALL
ssysvx(
'N',
'U', 2, 0, a, 2, af, 2, ip, b, 1, x, 2,
829 $ rcond, r1, r2, w, 4, iw, info )
830 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
832 CALL
ssysvx(
'N',
'U', 2, 0, a, 2, af, 2, ip, b, 2, x, 1,
833 $ rcond, r1, r2, w, 4, iw, info )
834 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
836 CALL
ssysvx(
'N',
'U', 2, 0, a, 2, af, 2, ip, b, 2, x, 2,
837 $ rcond, r1, r2, w, 3, iw, info )
838 CALL
chkxer(
'SSYSVX', infot, nout, lerr, ok )
847 CALL
ssysvxx(
'/',
'U', 0, 0, a, 1, af, 1, ip, eq, r, b, 1, x,
848 $ 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
849 $ err_bnds_c, nparams, params, w, iw, info )
850 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
852 CALL
ssysvxx(
'N',
'/', 0, 0, a, 1, af, 1, ip, eq, r, b, 1, x,
853 $ 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
854 $ err_bnds_c, nparams, params, w, iw, info )
855 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
857 CALL
ssysvxx(
'N',
'U', -1, 0, a, 1, af, 1, ip, eq, r, b, 1, x,
858 $ 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
859 $ err_bnds_c, nparams, params, w, iw, info )
860 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
863 CALL
ssysvxx(
'N',
'U', 0, -1, a, 1, af, 1, ip, eq, r, b, 1, x,
864 $ 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
865 $ err_bnds_c, nparams, params, w, iw, info )
866 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
869 CALL
ssysvxx(
'N',
'U', 2, 0, a, 1, af, 2, ip, eq, r, b, 2, x,
870 $ 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
871 $ err_bnds_c, nparams, params, w, iw, info )
872 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
874 CALL
ssysvxx(
'N',
'U', 2, 0, a, 2, af, 1, ip, eq, r, b, 2, x,
875 $ 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
876 $ err_bnds_c, nparams, params, w, iw, info )
877 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
880 CALL
ssysvxx(
'N',
'U', 2, 0, a, 2, af, 2, ip, eq, r, b, 1, x,
881 $ 2, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
882 $ err_bnds_c, nparams, params, w, iw, info )
883 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
885 CALL
ssysvxx(
'N',
'U', 2, 0, a, 2, af, 2, ip, eq, r, b, 2, x,
886 $ 1, rcond, rpvgrw, berr, n_err_bnds, err_bnds_n,
887 $ err_bnds_c, nparams, params, w, iw, info )
888 CALL
chkxer(
'SSYSVXX', infot, nout, lerr, ok )
890 ELSE IF(
lsamen( 2, c2,
'SP' ) )
THEN
896 CALL
sspsv(
'/', 0, 0, a, ip, b, 1, info )
897 CALL
chkxer(
'SSPSV ', infot, nout, lerr, ok )
899 CALL
sspsv(
'U', -1, 0, a, ip, b, 1, info )
900 CALL
chkxer(
'SSPSV ', infot, nout, lerr, ok )
902 CALL
sspsv(
'U', 0, -1, a, ip, b, 1, info )
903 CALL
chkxer(
'SSPSV ', infot, nout, lerr, ok )
905 CALL
sspsv(
'U', 2, 0, a, ip, b, 1, info )
906 CALL
chkxer(
'SSPSV ', infot, nout, lerr, ok )
912 CALL
sspsvx(
'/',
'U', 0, 0, a, af, ip, b, 1, x, 1, rcond, r1,
914 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
916 CALL
sspsvx(
'N',
'/', 0, 0, a, af, ip, b, 1, x, 1, rcond, r1,
918 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
920 CALL
sspsvx(
'N',
'U', -1, 0, a, af, ip, b, 1, x, 1, rcond, r1,
922 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
924 CALL
sspsvx(
'N',
'U', 0, -1, a, af, ip, b, 1, x, 1, rcond, r1,
926 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
928 CALL
sspsvx(
'N',
'U', 2, 0, a, af, ip, b, 1, x, 2, rcond, r1,
930 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
932 CALL
sspsvx(
'N',
'U', 2, 0, a, af, ip, b, 2, x, 1, rcond, r1,
934 CALL
chkxer(
'SSPSVX', infot, nout, lerr, ok )
940 WRITE( nout, fmt = 9999 )path
942 WRITE( nout, fmt = 9998 )path
945 9999 format( 1x, a3,
' drivers passed the tests of the error exits' )
946 9998 format(
' *** ', a3,
' drivers failed the tests of the error ',