XERROR
Error Message Handler


XERROR is a FORTRAN77 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 FORTRAN77 version and a FORTRAN90 version.

Related Data and Programs:

DQED, a FORTRAN90 library which carries out constrained minimization, and which includes a version of the XERROR library.

DLAP, a FORTRAN90 library which implements iterative linear equation solvers and includes a version of the XERROR library.

MACHINE, a FORTRAN77 library which tabulate the values of certain machine-specific arithmetic quantities. The XERROR library calls it for some simple information.

NMS, a FORTRAN77 library which includes a version of the XERROR library.

QUADPACK, a FORTRAN77 library which estimates integrals, and which calls the XERROR library.

SLATEC, a FORTRAN90 library which includes a version of the XERROR library.

STARPAC, a FORTRAN77 library which 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 FORTRAN77 source codes.


Last modified on 09 April 2007.