Abstract
Recursion leads to automatic variable blocking for dense linear algebra algorithms. The recursion transforms LAPACK level-2 algorithms into level3 codes. For this and other reasons recursion usually speeds up the algorithms.
Recursion provides a new, easy and very successful way of programming numerical linear algebra algorithms. Several algorithms for matrix factorization have been implemented and tested. Some of these algorithms are already candidates for the LAPACK library.
Recursion has also been successfully applied to the BLAS (Basic Linear Algebra Subprograms). The ATLAS system (Automatically Tuned Linear Algebra Software) uses a recursive coding of the BLAS.
The Cholesky factorization algorithm for positive definite matrices,LU factorization for general matrices, and LDL T factorization for symmetric indefinite matrices using recursion are formulated in this paper. Performance graphs of our packed Cholesky and LDL T algorithms are presented here.
This research was partially supported by the UNI•C collaboration with the IBM T.J. Watson Research Center at Yorktown Heights. The second and fifth authors was also supported by the Danish Natural Science Research Council through a grant for the EPOS project (Efficient Parallel Algorithms for Optimization and Simulation).
Invited speaker
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
B. Andersen, F. Gustavson and J. Wasniewski: “A recursive formulation of Cholesky factorization of a matrix in packed storage”, University of Tennessee, Knoxville, TN, Computer Science Dept. Technical Report CS-00-441, May 2000, also LAPACK Working Note number 146 (lawn146.ps), and submitted to the Transac-tion of Mathematical Software (TOMS) of the ACM.
E. Anderson, Z. Bai, C. H. Bischof, S. Blackford, J. Demmel, J. J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, and D. C. Sorensen. LAPACK Users’ Guide Release 3.0. SIAM, Philadelphia, 1999.
B.S. Andersen, F. Gustavson, J. Waśniewski, and P. Yalamov: Recursive formulation of some dense linear algebra algorithms, in Proceedings of the 9th SIAM Con-ference on Parallel Processing for Scientific Computing, PPSC99, B. Hendrickson, K.A. Yelick, C.H. Bischof, I.S. Duff, A.S. Edelman, G.A. Geist, M.T. Heath, M.A. Heroux, C. Koelbel, R.S. Schreiber, R.F. Sincovec, and M.F. Wheeler (Eds.), San Antonio, TX, USA, March 24-27, 1999, SIAM, Scientific Computing, CDROM.
J.W. Demmel, Applied Numerical Linear Algebra. SIAM, Philadelphia, 1997.
J. Dongarra and J. Waśniewski, High Performance Linear Algebra Package-LA-PACK90, in Advances in Randomized Parallel Computing, Kluwer Academic Pu-blishers, Combinatorial Optimization Series, P.M. Pardalos and S. Rajasekaran (Eds.), 1999 and available as the LAPACK Working Note (Lawn)Number 134: http://www.netlib.org/lapack/lawns/lawn134.ps
G.H. Golub and C.F. Van Loan, Matrix Computations (third edition). Johns Hopkins University Press, Baltimore, MD, 1996.
A. Gupta, F. Gustavson, A. Karaivanov, J. Waśniewski, and P. Yalamov, Experience with a Recursive Perturbation Based Algorithm for Symmetric Indefinite Linear Systems, in: Proc. EuroPar’99, Toulouse, France, 1999.
F. Gustavson, Recursive Leads to Automatic Variable Blocking for Dense Linear-Algebra Algorithms. IBM Journal of Research and Development, Volume 41, Number 6, November 1997.
F. Gustavson, A. Henriksson, I. Jonsson, B. Kågström and P. Ling, ‘Recursive Blocked Data Formats and BLAS’ for Dense Linear Algebra Algorithms’, in Pro-ceedings of the 4th International Workshop, Applied Parallel Computing, Large Scale Scientific and Industrial Problems, PARA’98, B. Kågström, J. Dongarra, E. Elmroth, and J. Waśniewski(Eds.), Umeå, Sweden, June 1998, inger, Lec-ture Notes in Computer Science Number 1541, pp. 195–206.
F. Gustavson, A. Henriksson, I. Jonsson, B. Kågström and P. Ling, Superscalar GEMM-based Level 3 BLAS — The On-going Evolution of Portable and High-Performance Library, in Proceedings of the 4th International Workshop, Applied Parallel Computing, Large Scale Scientific and Industrial Problems, PARA’98, B. Kågström, J. Dongarra, E. Elmroth, and J. Waśniewski (Eds.), Umeå, Sweden, June 1998, Springer, Lecture Notes in Computer Science Number 1541, pp. 207–215.
F. Gustavson, A. Karaivanov, M. Marinova, J. Waśniewski, and Plamen Yalamov, A Fast Minimal Storage Symmetric Indefinite Solver, in PARA2000 Proceedings (this proceedings), Bergen, Norway, June, 2000.
F. Gustavson, A. Karaivanov, J. Waśniewski, and P. Yalamov, A columnwise recursive perturbation based algorithm for symmetric indefinite linear systems, in: Proc. PDPTA’99, Las Vegas, 1999.
N.J. Higham, Accuracy and Stability of Numerical Algorithms. SIAM, Philadelphia, 1996.
B. Kågström, P. Ling, and C. Van Loan, GEMM-based level 3 BLAS: High-performance model implementations and performance evaluation benchmark. ACM Trans. Math. Software, 1997.
S. Metcalf and J. Reid. Fortran 90/95 Explained. Oxford, New York, Tokyo, Oxford University Press, 1996.
S. Toledo, Locality of Reference in LU Decomposition with Partial Pivoting. SIAM Journal on Matrix Analysis and Applications, Vol. 18, No. 4, 1997.
L.N. Trefethen and D. Bau, III. Numerical Linear Algebra. SIAM, Philadelphia, 1997.
J. Waśniewski, B.S. Andersen, and F. Gustavson. Recursive Formulation of Cholesky Algorithm in Fortran 90, in Proceedings of the 4th International Works-hop, Applied Parallel Computing, Large Scale Scientific and Industrial Problems, PARA’98, B. Kågström, J. Dongarra, E. Elmroth, and J. Waśniewski (Eds.), Umeå, Sweden, June 1998, Springer, Lecture Notes in Computer cience Number 1541, pp. 574–578.
R.C. Whaley and J. Dongarra, Automatically Tuned Linear Algebra Software (ATLAS), in Ongoing Projects, The Innovative Computing Laboratory, Distributed Network Computing, Numerical Linear Algebra, Software Repositories, and Per-formance Evaluation, http://www.netlib.org/atlas/, Knoxville, Tennessee, USA, 1999.
BLAS (Basic Linear Algebra Subprograms), in Ongoing Projects, The Innovative Computing Laboratory, Distributed Network Computing, Nume-rical Linear Algebra, Software Repositories, and Performance Evaluation, http://www.netlib.org/blas/, Knoxville, Tennessee, USA, 1999.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Andersen, B.S., Gustavson, F., Karaivanov, A., Marinova, M., Waśniewski, J., Yalamov, P. (2001). LAWRA Linear Algebra with Recursive Algorithms. In: Sørevik, T., Manne, F., Gebremedhin, A.H., Moe, R. (eds) Applied Parallel Computing. New Paradigms for HPC in Industry and Academia. PARA 2000. Lecture Notes in Computer Science, vol 1947. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-70734-4_7
Download citation
DOI: https://doi.org/10.1007/3-540-70734-4_7
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41729-3
Online ISBN: 978-3-540-70734-9
eBook Packages: Springer Book Archive