Blame thirdparty/superlu/SuperLU_4.1/SRC/xerbla.c
|
kusano |
7d535a |
#include <stdio.h></stdio.h>
|
|
kusano |
7d535a |
#include "slu_Cnames.h"
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
/* Subroutine */ int xerbla_(char *srname, int *info)
|
|
kusano |
7d535a |
{
|
|
kusano |
7d535a |
/* -- LAPACK auxiliary routine (version 2.0) --
|
|
kusano |
7d535a |
Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
|
|
kusano |
7d535a |
Courant Institute, Argonne National Lab, and Rice University
|
|
kusano |
7d535a |
September 30, 1994
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Purpose
|
|
kusano |
7d535a |
=======
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
XERBLA is an error handler for the LAPACK routines.
|
|
kusano |
7d535a |
It is called by an LAPACK routine if an input parameter has an
|
|
kusano |
7d535a |
invalid value. A message is printed and execution stops.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Installers may consider modifying the STOP statement in order to
|
|
kusano |
7d535a |
call system-specific exception-handling facilities.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
Arguments
|
|
kusano |
7d535a |
=========
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
SRNAME (input) CHARACTER*6
|
|
kusano |
7d535a |
The name of the routine which called XERBLA.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
INFO (input) INT
|
|
kusano |
7d535a |
The position of the invalid parameter in the parameter list
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
of the calling routine.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
=====================================================================
|
|
kusano |
7d535a |
*/
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
printf("** On entry to %6s, parameter number %2d had an illegal value\n",
|
|
kusano |
7d535a |
srname, *info);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
/* End of XERBLA */
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
return 0;
|
|
kusano |
7d535a |
} /* xerbla_ */
|
|
kusano |
7d535a |
|