xerror


xerror, a FORTRAN90 code which collects information about errors that occur during a program's execution, and takes the appropriate action, which may include printing a message, diverting to a user routine, or aborting execution of the program.

Most users never encounter xerror() directly. However, they may receive warnings and other error messages produced by xerror(), if the software they are calling has encountered an error condition and uses xerror() to report and handle the problem.

An experienced user or software developer may wish to incorporate xerror into software being developed, or to modify the behavior of xerror in software they are using. The package includes many routines to customize its behavior, to reduce the level of output, to make multiple copies of the error output, to control the number of times a particular error message is printed, or to halt execution of the program if certain kinds of error occur.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

xerror is available in a FORTRAN90 version.

Related Data and Programs:

xerror_test

DLAP, a FORTRAN90 library which contains iterative linear equation solvers which includes a version of the xerror library.

DQED, a FORTRAN90 library which contains constrained minimization routines which includes a version of the xerror library.

MACHINE, a FORTRAN90 library which tabulates the values of certain machine-specific arithmetic quantities. The xerror library calls it for some simple information.

NMS, a FORTRAN90 library which includes a version of the xerror library.

QUADPACK, a FORTRAN90 library which estimate integrals, and which calls the xerror library.

SLATEC, a FORTRAN90 library which collects together a number of standard numerical libraries, including BLAS, DASSL, DEPAC, EISPACK, FFTPACK, FISHPACK, FNLIB, LINPACK, PCHIP, QUADPACK, SDRIV, SLAP, xerror.

STARPAC, a FORTRAN90 library which contains statistical routines, and includes a version of the xerror library.

Reference:

  1. Phyllis Fox, Andrew Hall, Norman Schryer,
    Algorithm 528:
    Framework for a Portable Library,
    ACM Transactions on Mathematical Software,
    Volume 4, Number 2, June 1978, page 176-188.
  2. Ron Jones, David Kahaner,
    xerror, The SLATEC Error Handling Package,
    Software: Practice and Experience,
    Volume 13, Number 3, 1983, pages 251-257.
  3. Ron Jones, David Kahaner,
    xerror, The SLATEC Error Handling Package,
    Technical Report SAND82-0800,
    Sandia National Laboratories, 1982.
  4. David Kahaner, Cleve Moler, Steven Nash,
    Numerical Methods and Software,
    Prentice Hall, 1989,
    ISBN: 0-13-627258-4,
    LC: TA345.K34.

Source Code:


Last modified on 03 September 2022.