PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
chkxer.f
Go to the documentation of this file.
1  SUBROUTINE chkxer( SRNAMT, INFOT, NOUT, INFO, OK )
2 *
3 * Tests whether XERBLA has detected an error when it should.
4 *
5 * Auxiliary routine for test program for Level 2 Blas.
6 *
7 * -- Written on 10-August-1987.
8 * Richard Hanson, Sandia National Labs.
9 * Jeremy Du Croz, NAG Central Office.
10 *
11 * =====================================================================
12 *
13 * .. Scalar Arguments ..
14  LOGICAL ok
15  CHARACTER*6 srnamt
16  INTEGER infot, info, nout
17 * ..
18 * .. Executable Statements ..
19  IF( infot.NE.abs( info ) ) THEN
20  WRITE( nout, fmt = 9999 ) infot, srnamt
21  ok = .false.
22  END IF
23  return
24 *
25  9999 format( ' *** Illegal value of parameter number ', i2,
26  $ ' not detected by ', a6, ' ***' )
27 *
28 * End of CHKXER.
29 *
30  END