Statistiques
| Révision :

root / src / lapack / util / xerbla.f @ 10

Historique | Voir | Annoter | Télécharger (1,32 ko)

1 1 pfleura2
      SUBROUTINE XERBLA( SRNAME, INFO )
2 1 pfleura2
*
3 1 pfleura2
*  -- LAPACK auxiliary routine (version 3.2) --
4 1 pfleura2
*  -- LAPACK is a software package provided by Univ. of Tennessee,    --
5 1 pfleura2
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
6 1 pfleura2
*     November 2006
7 1 pfleura2
*
8 1 pfleura2
*     .. Scalar Arguments ..
9 1 pfleura2
      CHARACTER*(*)      SRNAME
10 1 pfleura2
      INTEGER            INFO
11 1 pfleura2
*     ..
12 1 pfleura2
*
13 1 pfleura2
*  Purpose
14 1 pfleura2
*  =======
15 1 pfleura2
*
16 1 pfleura2
*  XERBLA  is an error handler for the LAPACK routines.
17 1 pfleura2
*  It is called by an LAPACK routine if an input parameter has an
18 1 pfleura2
*  invalid value.  A message is printed and execution stops.
19 1 pfleura2
*
20 1 pfleura2
*  Installers may consider modifying the STOP statement in order to
21 1 pfleura2
*  call system-specific exception-handling facilities.
22 1 pfleura2
*
23 1 pfleura2
*  Arguments
24 1 pfleura2
*  =========
25 1 pfleura2
*
26 1 pfleura2
*  SRNAME  (input) CHARACTER*(*)
27 1 pfleura2
*          The name of the routine which called XERBLA.
28 1 pfleura2
*
29 1 pfleura2
*  INFO    (input) INTEGER
30 1 pfleura2
*          The position of the invalid parameter in the parameter list
31 1 pfleura2
*          of the calling routine.
32 1 pfleura2
*
33 1 pfleura2
* =====================================================================
34 1 pfleura2
*
35 1 pfleura2
*     .. Intrinsic Functions ..
36 1 pfleura2
      INTRINSIC          LEN_TRIM
37 1 pfleura2
*     ..
38 1 pfleura2
*     .. Executable Statements ..
39 1 pfleura2
*
40 1 pfleura2
      WRITE( *, FMT = 9999 )SRNAME( 1:LEN_TRIM( SRNAME ) ), INFO
41 1 pfleura2
*
42 1 pfleura2
      STOP
43 1 pfleura2
*
44 1 pfleura2
 9999 FORMAT( ' ** On entry to ', A, ' parameter number ', I2, ' had ',
45 1 pfleura2
     $      'an illegal value' )
46 1 pfleura2
*
47 1 pfleura2
*     End of XERBLA
48 1 pfleura2
*
49 1 pfleura2
      END