annotate ext/clapack/src/xerbla.c @ 482:cbe668c7d724

Untabify, indent, tidy
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 31 May 2019 11:02:28 +0100
parents 905e45637745
children
rev   line source
c@427 1 /* xerbla.f -- translated by f2c (version 20061008).
c@427 2 You must link the resulting object file with libf2c:
c@427 3 on Microsoft Windows system, link with libf2c.lib;
c@427 4 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
c@427 5 or, if you install libf2c.a in a standard place, with -lf2c -lm
c@427 6 -- in that order, at the end of the command line, as in
c@427 7 cc *.o -lf2c -lm
c@427 8 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
c@427 9
c@427 10 http://www.netlib.org/f2c/libf2c.zip
c@427 11 */
c@427 12
c@427 13 #include "f2c.h"
c@427 14 #include "blaswrap.h"
c@427 15 #include "stdio.h"
c@427 16
c@427 17 /* Table of constant values */
c@427 18
c@427 19 static integer c__1 = 1;
c@427 20
c@427 21 /* Subroutine */ int xerbla_(char *srname, integer *info)
c@427 22 {
c@427 23
c@427 24
c@427 25 /* -- LAPACK auxiliary routine (version 3.2) -- */
c@427 26 /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
c@427 27 /* November 2006 */
c@427 28
c@427 29 /* .. Scalar Arguments .. */
c@427 30 /* .. */
c@427 31
c@427 32 /* Purpose */
c@427 33 /* ======= */
c@427 34
c@427 35 /* XERBLA is an error handler for the LAPACK routines. */
c@427 36 /* It is called by an LAPACK routine if an input parameter has an */
c@427 37 /* invalid value. A message is printed and execution stops. */
c@427 38
c@427 39 /* Installers may consider modifying the STOP statement in order to */
c@427 40 /* call system-specific exception-handling facilities. */
c@427 41
c@427 42 /* Arguments */
c@427 43 /* ========= */
c@427 44
c@427 45 /* SRNAME (input) CHARACTER*(*) */
c@427 46 /* The name of the routine which called XERBLA. */
c@427 47
c@427 48 /* INFO (input) INTEGER */
c@427 49 /* The position of the invalid parameter in the parameter list */
c@427 50 /* of the calling routine. */
c@427 51
c@427 52 /* ===================================================================== */
c@427 53
c@427 54 /* .. Intrinsic Functions .. */
c@427 55 /* .. */
c@427 56 /* .. Executable Statements .. */
c@427 57
c@427 58 printf("** On entry to %6s, parameter number %2i had an illegal value\n",
c@427 59 srname, *info);
c@427 60
c@427 61
c@427 62 /* End of XERBLA */
c@427 63
c@427 64 return 0;
c@427 65 } /* xerbla_ */