Parallelization and scalability analysis of inverse factorization using the Chunks and Tasks programming model
Anton G. Artemov, Elias Rudberg, Emanuel H. Rubensson
TL;DR
The paper develops and analyzes three distributed-memory inverse factorization strategies (RINCH, IRSI, and LIF) for block-sparse SPD matrices, tailored to overlap matrices in electronic structure calculations. Implemented in Chunks and Tasks with a quad-tree representation, the methods achieve scalable performance, with LIF offering reduced communication and favorable weak-scaling behavior compared to prior approaches. The authors provide theoretical critical-path analyses and extensive experiments on large Gaussian-basis systems, showing linear or near-linear scaling with system size and emphasizing the practical impact for enabling large-scale electronic structure computations. The work demonstrates how a task-based runtime and data-locality-aware sparse operations can unlock efficient parallel inverse factorizations for hierarchical matrix representations.
Abstract
We present three methods for distributed memory parallel inverse factorization of block-sparse Hermitian positive definite matrices. The three methods are a recursive variant of the AINV inverse Cholesky algorithm, iterative refinement, and localized inverse factorization, respectively. All three methods are implemented using the Chunks and Tasks programming model, building on the distributed sparse quad-tree matrix representation and parallel matrix-matrix multiplication in the publicly available Chunks and Tasks Matrix Library (CHTML). Although the algorithms are generally applicable, this work was mainly motivated by the need for efficient and scalable inverse factorization of the basis set overlap matrix in large scale electronic structure calculations. We perform various computational tests on overlap matrices for quasi-linear Glutamic Acid-Alanine molecules and three-dimensional water clusters discretized using the standard Gaussian basis set STO-3G with up to more than 10 million basis functions. We show that for such matrices the computational cost increases only linearly with system size for all the three methods. We show both theoretically and in numerical experiments that the methods based on iterative refinement and localized inverse factorization outperform previous parallel implementations in weak scaling tests where the system size is increased in direct proportion to the number of processes. We show also that compared to the method based on pure iterative refinement the localized inverse factorization requires much less communication.
