/*! \file Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy) All rights reserved. The source code is distributed under BSD license, see the file License.txt at the top-level directory. */ #include #include "slu_Cnames.h" /*! @file input_error.c * \brief Error handler for input parameters. * *
 * -- SuperLU routine (version 4.4) --
 * Lawrence Berkeley National Lab, Univ. of California Berkeley.
 * November 20, 2012
 * 
*/ /*! \brief * *
 * Purpose   
 * =======   
 *
 * INPUT_ERROR is called if an input parameter has an   
 * invalid value.  A message is printed and execution stops.   
 *
 * Arguments   
 * =========   
 *
 * srname  (input) character*6
 *         The name of the routine which called INPUT_ERROR.
 *
 * info    (input) int
 *         The position of the invalid parameter in the parameter list   
 *         of the calling routine.
 *
 * 
*/ int input_error(char *srname, int *info) { printf("** On entry to %6s, parameter number %2d had an illegal value\n", srname, *info); return 0; }