XERROR
Error Message Handler


XERROR is a FORTRAN90 library 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:

This code is in the public domain.

Languages:

XERROR is available in a FORTRAN90 version.

Related Data and Programs:

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:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last modified on 09 April 2007.