Chris@202: /* xerbla.f -- translated by f2c (version 20061008). Chris@202: You must link the resulting object file with libf2c: Chris@202: on Microsoft Windows system, link with libf2c.lib; Chris@202: on Linux or Unix systems, link with .../path/to/libf2c.a -lm Chris@202: or, if you install libf2c.a in a standard place, with -lf2c -lm Chris@202: -- in that order, at the end of the command line, as in Chris@202: cc *.o -lf2c -lm Chris@202: Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., Chris@202: Chris@202: http://www.netlib.org/f2c/libf2c.zip Chris@202: */ Chris@202: Chris@202: #include "f2c.h" Chris@202: #include "blaswrap.h" Chris@202: #include "stdio.h" Chris@202: Chris@202: /* Table of constant values */ Chris@202: Chris@202: static integer c__1 = 1; Chris@202: Chris@202: /* Subroutine */ int xerbla_(char *srname, integer *info) Chris@202: { Chris@202: Chris@202: Chris@202: /* -- LAPACK auxiliary routine (version 3.2) -- */ Chris@202: /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */ Chris@202: /* November 2006 */ Chris@202: Chris@202: /* .. Scalar Arguments .. */ Chris@202: /* .. */ Chris@202: Chris@202: /* Purpose */ Chris@202: /* ======= */ Chris@202: Chris@202: /* XERBLA is an error handler for the LAPACK routines. */ Chris@202: /* It is called by an LAPACK routine if an input parameter has an */ Chris@202: /* invalid value. A message is printed and execution stops. */ Chris@202: Chris@202: /* Installers may consider modifying the STOP statement in order to */ Chris@202: /* call system-specific exception-handling facilities. */ Chris@202: Chris@202: /* Arguments */ Chris@202: /* ========= */ Chris@202: Chris@202: /* SRNAME (input) CHARACTER*(*) */ Chris@202: /* The name of the routine which called XERBLA. */ Chris@202: Chris@202: /* INFO (input) INTEGER */ Chris@202: /* The position of the invalid parameter in the parameter list */ Chris@202: /* of the calling routine. */ Chris@202: Chris@202: /* ===================================================================== */ Chris@202: Chris@202: /* .. Intrinsic Functions .. */ Chris@202: /* .. */ Chris@202: /* .. Executable Statements .. */ Chris@202: Chris@202: printf("** On entry to %6s, parameter number %2i had an illegal value\n", Chris@202: srname, *info); Chris@202: Chris@202: Chris@202: /* End of XERBLA */ Chris@202: Chris@202: return 0; Chris@202: } /* xerbla_ */