00001 /* xerbla.f -- translated by f2c (version 20061008). 00002 You must link the resulting object file with libf2c: 00003 on Microsoft Windows system, link with libf2c.lib; 00004 on Linux or Unix systems, link with .../path/to/libf2c.a -lm 00005 or, if you install libf2c.a in a standard place, with -lf2c -lm 00006 -- in that order, at the end of the command line, as in 00007 cc *.o -lf2c -lm 00008 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., 00009 00010 http://www.netlib.org/f2c/libf2c.zip 00011 */ 00012 00013 #include "f2c.h" 00014 #include "blaswrap.h" 00015 #include "stdio.h" 00016 00017 /* Table of constant values */ 00018 00019 static integer c__1 = 1; 00020 00021 /* Subroutine */ int xerbla_(char *srname, integer *info) 00022 { 00023 00024 00025 /* -- LAPACK auxiliary routine (version 3.2) -- */ 00026 /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */ 00027 /* November 2006 */ 00028 00029 /* .. Scalar Arguments .. */ 00030 /* .. */ 00031 00032 /* Purpose */ 00033 /* ======= */ 00034 00035 /* XERBLA is an error handler for the LAPACK routines. */ 00036 /* It is called by an LAPACK routine if an input parameter has an */ 00037 /* invalid value. A message is printed and execution stops. */ 00038 00039 /* Installers may consider modifying the STOP statement in order to */ 00040 /* call system-specific exception-handling facilities. */ 00041 00042 /* Arguments */ 00043 /* ========= */ 00044 00045 /* SRNAME (input) CHARACTER*(*) */ 00046 /* The name of the routine which called XERBLA. */ 00047 00048 /* INFO (input) INTEGER */ 00049 /* The position of the invalid parameter in the parameter list */ 00050 /* of the calling routine. */ 00051 00052 /* ===================================================================== */ 00053 00054 /* .. Intrinsic Functions .. */ 00055 /* .. */ 00056 /* .. Executable Statements .. */ 00057 00058 printf("** On entry to %6s, parameter number %2i had an illegal value\n", 00059 srname, *info); 00060 00061 00062 /* End of XERBLA */ 00063 00064 return 0; 00065 } /* xerbla_ */