Title :
Faster numerical algorithms via exception handling
Author :
Demmel, James W. ; Li, Xiaoye
Author_Institution :
Comput. Sci. Div., California Univ., Berkeley, CA, USA
fDate :
8/1/1994 12:00:00 AM
Abstract :
An attractive paradigm for building fast numerical algorithms is the following: 1) try a fast but occasionally unstable algorithm, 2) test the accuracy of the computed answer, and 3) recompute the answer slowly and accurately in the unlikely event it is necessary. This is especially attractive on parallel machines where the fastest algorithms may be less stable than the best serial algorithms. Since unstable algorithms can overflow or cause other exceptions, exception handling is needed to implement this paradigm safely. To implement it efficiently, exception handling cannot be too slow. We illustrate this paradigm with numerical linear algebra algorithms from the LAPACK library
Keywords :
convergence of numerical methods; digital arithmetic; eigenvalues and eigenfunctions; exception handling; linear algebra; parallel algorithms; IEEE floating point arithmetic; LAPACK library; exception handling; fast numerical algorithms; numerical linear algebra; parallel machines; unstable algorithms; Algorithm design and analysis; Computer aided instruction; Computer science; Floating-point arithmetic; Libraries; Linear algebra; Parallel machines; Subcontracting; Symmetric matrices; Testing;
Journal_Title :
Computers, IEEE Transactions on