xerbla.c 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* xerbla.f -- translated by f2c (version 20061008).
  2. You must link the resulting object file with libf2c:
  3. on Microsoft Windows system, link with libf2c.lib;
  4. on Linux or Unix systems, link with .../path/to/libf2c.a -lm
  5. or, if you install libf2c.a in a standard place, with -lf2c -lm
  6. -- in that order, at the end of the command line, as in
  7. cc *.o -lf2c -lm
  8. Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
  9. http://www.netlib.org/f2c/libf2c.zip
  10. */
  11. #include "f2c.h"
  12. #include "blaswrap.h"
  13. #include "stdio.h"
  14. /* Table of constant values */
  15. static integer c__1 = 1;
  16. /* Subroutine */ int _starpu_xerbla_(char *srname, integer *info)
  17. {
  18. /* -- LAPACK auxiliary routine (version 3.2) -- */
  19. /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
  20. /* November 2006 */
  21. /* .. Scalar Arguments .. */
  22. /* .. */
  23. /* Purpose */
  24. /* ======= */
  25. /* XERBLA is an error handler for the LAPACK routines. */
  26. /* It is called by an LAPACK routine if an input parameter has an */
  27. /* invalid value. A message is printed and execution stops. */
  28. /* Installers may consider modifying the STOP statement in order to */
  29. /* call system-specific exception-handling facilities. */
  30. /* Arguments */
  31. /* ========= */
  32. /* SRNAME (input) CHARACTER*(*) */
  33. /* The name of the routine which called XERBLA. */
  34. /* INFO (input) INTEGER */
  35. /* The position of the invalid parameter in the parameter list */
  36. /* of the calling routine. */
  37. /* ===================================================================== */
  38. /* .. Intrinsic Functions .. */
  39. /* .. */
  40. /* .. Executable Statements .. */
  41. printf("** On entry to %s, parameter number %ld had an illegal value\n",
  42. srname, *info);
  43. /* End of XERBLA */
  44. return 0;
  45. } /* _starpu_xerbla_ */