comparison ext/clapack/src/xerbla.c @ 430:335af74a25b6

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