| 1 |
/* ./src_f77/xerbla.f -- translated by f2c (version 20030320). |
| 2 |
You must link the resulting object file with the libraries: |
| 3 |
-lf2c -lm (in that order) |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <punc/vf2c.h> |
| 7 |
|
| 8 |
/* Table of constant values */ |
| 9 |
|
| 10 |
static integer c__1 = 1; |
| 11 |
|
| 12 |
/* Subroutine */ int xerbla_(char *srname, integer *info, ftnlen srname_len) |
| 13 |
{ |
| 14 |
/* Format strings */ |
| 15 |
static char fmt_9999[] = "(\002 ** On entry to \002,a6,\002 parameter nu" |
| 16 |
"mber \002,i2,\002 had \002,\002an illegal value\002)"; |
| 17 |
|
| 18 |
/* Builtin functions */ |
| 19 |
integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void); |
| 20 |
/* Subroutine */ int s_stop(char *, ftnlen); |
| 21 |
|
| 22 |
/* Fortran I/O blocks */ |
| 23 |
static cilist io___1 = { 0, 6, 0, fmt_9999, 0 }; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
/* -- LAPACK auxiliary routine (preliminary version) -- */ |
| 28 |
/* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., */ |
| 29 |
/* Courant Institute, Argonne National Lab, and Rice University */ |
| 30 |
/* February 29, 1992 */ |
| 31 |
|
| 32 |
/* .. Scalar Arguments .. */ |
| 33 |
/* .. */ |
| 34 |
|
| 35 |
/* Purpose */ |
| 36 |
/* ======= */ |
| 37 |
|
| 38 |
/* XERBLA is an error handler for the LAPACK routines. */ |
| 39 |
/* It is called by an LAPACK routine if an input parameter has an */ |
| 40 |
/* invalid value. A message is printed and execution stops. */ |
| 41 |
|
| 42 |
/* Installers may consider modifying the STOP statement in order to */ |
| 43 |
/* call system-specific exception-handling facilities. */ |
| 44 |
|
| 45 |
/* Arguments */ |
| 46 |
/* ========= */ |
| 47 |
|
| 48 |
/* SRNAME (input) CHARACTER*6 */ |
| 49 |
/* The name of the routine which called XERBLA. */ |
| 50 |
|
| 51 |
/* INFO (input) INTEGER */ |
| 52 |
/* The position of the invalid parameter in the parameter list */ |
| 53 |
/* of the calling routine. */ |
| 54 |
|
| 55 |
|
| 56 |
s_wsfe(&io___1); |
| 57 |
do_fio(&c__1, srname, (ftnlen)6); |
| 58 |
do_fio(&c__1, (char *)&(*info), (ftnlen)sizeof(integer)); |
| 59 |
e_wsfe(); |
| 60 |
|
| 61 |
s_stop("", (ftnlen)0); |
| 62 |
|
| 63 |
|
| 64 |
/* End of XERBLA */ |
| 65 |
|
| 66 |
return 0; |
| 67 |
} /* xerbla_ */ |
| 68 |
|