Achieving numerical accuracy and high performance using recursive tile LU factorization with partial pivoting

Jack Dongarra, Mathieu Faverge, Hatem Ltaief, Piotr R. Luszczek

Research output: Contribution to journalArticlepeer-review

21 Scopus citations

Abstract

The LU factorization is an important numerical algorithm for solving systems of linear equations in science and engineering and is a characteristic of many dense linear algebra computations. For example, it has become the de facto numerical algorithm implemented within the LINPACK benchmark to rank the most powerful supercomputers in the world, collected by the TOP500 website. Multicore processors continue to present challenges to the development of fast and robust numerical software due to the increasing levels of hardware parallelism and widening gap between core and memory speeds. In this context, the difficulty in developing new algorithms for the scientific community resides in the combination of two goals: achieving high performance while maintaining the accuracy of the numerical algorithm. This paper proposes a new approach for computing the LU factorization in parallel on multicore architectures, which not only improves the overall performance but also sustains the numerical quality of the standard LU factorization algorithm with partial pivoting. While the update of the trailing submatrix is computationally intensive and highly parallel, the inherently problematic portion of the LU factorization is the panel factorization due to its memory-bound characteristic as well as the atomicity of selecting the appropriate pivots. Our approach uses a parallel fine-grained recursive formulation of the panel factorization step and implements the update of the trailing submatrix with the tile algorithm. Based on conflict-free partitioning of the data and lockless synchronization mechanisms, our implementation lets the overall computation flow naturally without contention. The dynamic runtime system called QUARK is then able to schedule tasks with heterogeneous granularities and to transparently introduce algorithmic lookahead. The performance results of our implementation are competitive compared to the currently available software packages and libraries. For example, it is up to 40% faster when compared to the equivalent Intel MKL routine and up to threefold faster than LAPACK with multithreaded Intel MKL BLAS. Copyright © 2013 John Wiley & Sons, Ltd. Copyright © 2013 John Wiley & Sons, Ltd.
Original languageEnglish (US)
Pages (from-to)1408-1431
Number of pages24
JournalConcurrency and Computation: Practice and Experience
Volume26
Issue number7
DOIs
StatePublished - Sep 18 2013

Bibliographical note

KAUST Repository Item: Exported on 2020-10-01
Acknowledgements: Research reported here was partially supported by the National Science Foundation, Department of Energy, and Microsoft Research.

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Theoretical Computer Science
  • Software
  • Computer Networks and Communications
  • Computer Science Applications

Fingerprint Dive into the research topics of 'Achieving numerical accuracy and high performance using recursive tile LU factorization with partial pivoting'. Together they form a unique fingerprint.

Cite this