[Paper Review] A distributed-memory package for dense Hierarchically Semi-Separable matrix computations using randomization
This paper presents STRUMPACK, a scalable, distributed-memory library for dense Hierarchically Semi-Separable (HSS) matrix computations using randomized sampling. It enables fast, accurate solution of large linear systems and matrix-vector products by compressing off-diagonal blocks via adaptive randomized sampling, achieving up to 6x speedup over dense ScaLAPACK and strong scaling to 8,000 cores on real-world problems.
We present a distributed-memory library for computations with dense structured matrices. A matrix is considered structured if its off-diagonal blocks can be approximated by a rank-deficient matrix with low numerical rank. Here, we use Hierarchically Semi-Separable representations (HSS). Such matrices appear in many applications, e.g., finite element methods, boundary element methods, etc. Exploiting this structure allows for fast solution of linear systems and/or fast computation of matrix-vector products, which are the two main building blocks of matrix computations. The compression algorithm that we use, that computes the HSS form of an input dense matrix, relies on randomized sampling with a novel adaptive sampling mechanism. We discuss the parallelization of this algorithm and also present the parallelization of structured matrix-vector product, structured factorization and solution routines. The efficiency of the approach is demonstrated on large problems from different academic and industrial applications, on up to 8,000 cores. This work is part of a more global effort, the STRUMPACK (STRUctured Matrices PACKage) software package for computations with sparse and dense structured matrices. Hence, although useful on their own right, the routines also represent a step in the direction of a distributed-memory sparse solver.
Motivation & Objective
- Address the lack of scalable, general-purpose parallel software for structured matrix computations in high-performance computing.
- Enable efficient, black-box computation with dense matrices that have low-rank off-diagonal blocks, common in finite element and boundary element methods.
- Develop a distributed-memory HSS compression and factorization package that supports arbitrary numbers of MPI processes and unbalanced hierarchical trees.
- Integrate randomized sampling with adaptive sampling to enable robust, automatic rank estimation without prior knowledge.
- Demonstrate high performance and strong scaling on large-scale academic and industrial problems using up to 8,000 cores.
Proposed method
- Use Hierarchically Semi-Separable (HSS) representation to compress dense matrices by approximating off-diagonal blocks with low-rank structures.
- Apply randomized sampling with an adaptive sampling mechanism to estimate low-rank structure without prior knowledge of matrix rank.
- Implement a task-to-process mapping algorithm that supports non-uniform hierarchical partitionings and unbalanced HSS trees for load balancing.
- Parallelize HSS compression via distributed matrix distribution, local sampling, and recursive traversal of the HSS tree using MPI.
- Implement parallel HSS matrix-vector products and ULV-like factorization for solving linear systems using HSS structure.
- Leverage BLAS and ScaLAPACK primitives for communication and computation, with optimization focus on reducing communication overhead in tree traversal.
Experimental results
Research questions
- RQ1Can randomized sampling be effectively adapted to distributed-memory HSS compression with adaptive rank estimation?
- RQ2How does the performance of the HSS-based solver scale on large problems with up to 8,000 cores?
- RQ3What is the communication and computation overhead of traversing the HSS tree in a distributed setting compared to traditional dense solvers?
- RQ4How does STRUMPACK compare in performance and scalability to ScaLAPACK and previous HSS codes like Hsolver?
- RQ5To what extent can the HSS framework be used as a black-box preconditioner or direct solver across diverse applications?
Key findings
- STRUMPACK achieves up to 6x speedup over dense ScaLAPACK kernels on large problems, particularly when the HSS rank is moderate.
- The library scales strongly to 8,000 MPI processes, demonstrating efficient load balancing and communication management.
- On a 130,000×130,000 matrix from a boundary element method problem with maximum rank 5,500, STRUMPACK achieved 132.9 seconds on 4,096 cores.
- Communication overhead in HSS tree traversal becomes dominant when the HSS rank is large, reducing the performance gap with ScaLAPACK at high core counts.
- The compression phase spends 50% of time on Interpolative Decomposition (ID) computations, which are currently limited by BLAS2 performance.
- The adaptive sampling mechanism enables black-box usability, eliminating the need for users to specify rank a priori, enhancing practical usability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.