Annotation of rpl/lapack/blas/xerbla.f, revision 1.14

1.7       bertrand    1: *> \brief \b XERBLA
1.1       bertrand    2: *
1.7       bertrand    3: *  =========== DOCUMENTATION ===========
1.1       bertrand    4: *
1.12      bertrand    5: * Online html documentation available at
                      6: *            http://www.netlib.org/lapack/explore-html/
1.1       bertrand    7: *
1.7       bertrand    8: *  Definition:
                      9: *  ===========
                     10: *
                     11: *       SUBROUTINE XERBLA( SRNAME, INFO )
1.12      bertrand   12: *
1.7       bertrand   13: *       .. Scalar Arguments ..
                     14: *       CHARACTER*(*)      SRNAME
                     15: *       INTEGER            INFO
                     16: *       ..
1.12      bertrand   17: *
1.7       bertrand   18: *
                     19: *> \par Purpose:
                     20: *  =============
                     21: *>
                     22: *> \verbatim
                     23: *>
                     24: *> XERBLA  is an error handler for the LAPACK routines.
                     25: *> It is called by an LAPACK routine if an input parameter has an
                     26: *> invalid value.  A message is printed and execution stops.
                     27: *>
                     28: *> Installers may consider modifying the STOP statement in order to
                     29: *> call system-specific exception-handling facilities.
                     30: *> \endverbatim
                     31: *
                     32: *  Arguments:
                     33: *  ==========
                     34: *
                     35: *> \param[in] SRNAME
                     36: *> \verbatim
                     37: *>          SRNAME is CHARACTER*(*)
                     38: *>          The name of the routine which called XERBLA.
                     39: *> \endverbatim
                     40: *>
                     41: *> \param[in] INFO
                     42: *> \verbatim
                     43: *>          INFO is INTEGER
                     44: *>          The position of the invalid parameter in the parameter list
                     45: *>          of the calling routine.
                     46: *> \endverbatim
                     47: *
                     48: *  Authors:
                     49: *  ========
                     50: *
1.12      bertrand   51: *> \author Univ. of Tennessee
                     52: *> \author Univ. of California Berkeley
                     53: *> \author Univ. of Colorado Denver
                     54: *> \author NAG Ltd.
1.1       bertrand   55: *
1.7       bertrand   56: *> \ingroup aux_blas
1.1       bertrand   57: *
1.7       bertrand   58: *  =====================================================================
                     59:       SUBROUTINE XERBLA( SRNAME, INFO )
1.1       bertrand   60: *
1.14    ! bertrand   61: *  -- Reference BLAS level1 routine --
1.7       bertrand   62: *  -- Reference BLAS is a software package provided by Univ. of Tennessee,    --
                     63: *  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
1.1       bertrand   64: *
1.7       bertrand   65: *     .. Scalar Arguments ..
                     66:       CHARACTER*(*)      SRNAME
                     67:       INTEGER            INFO
                     68: *     ..
1.1       bertrand   69: *
                     70: * =====================================================================
                     71: *
                     72: *     .. Intrinsic Functions ..
                     73:       INTRINSIC          LEN_TRIM
                     74: *     ..
                     75: *     .. Executable Statements ..
                     76: *
                     77:       WRITE( *, FMT = 9999 )SRNAME( 1:LEN_TRIM( SRNAME ) ), INFO
                     78: *
                     79:       STOP
                     80: *
                     81:  9999 FORMAT( ' ** On entry to ', A, ' parameter number ', I2, ' had ',
                     82:      $      'an illegal value' )
                     83: *
                     84: *     End of XERBLA
                     85: *
                     86:       END

CVSweb interface <joel.bertrand@systella.fr>