Abstract
The hierarchical interpolative factorization (HIF) offers an efficient way for solving or preconditioning elliptic partial differential equations. By exploiting locality and low-rank properties of the operators, the HIF achieves quasi-linear complexity for factorizing the discrete positive definite elliptic operator and linear complexity for solving the associated linear system. In this paper, the distributed-memory HIF (DHIF) is introduced as a parallel and distributed-memory implementation of the HIF. The DHIF organizes the processes in a hierarchical structure and keeps the communication as local as possible. The computation complexity is $O\left(\frac{N\log N}{P}\right)$ and $O\left(\frac{N}{P}\right)$ for constructing and applying the DHIF, respectively, where $N$ is the size of the problem and $P$ is the number of processes. The communication complexity is $O\left(\sqrt{P}\log^3 P\right)\alpha + O\left(\frac{N^{2/3}}{\sqrt{P}}\right)\beta$ where $\alpha$ is the latency and $\beta$ is the inverse bandwidth. Extensive numerical examples are performed on the NERSC Edison system with up to 8192 processes. The numerical results agree with the complexity analysis and demonstrate the efficiency and scalability of the DHIF.
Introduction
Elliptic partial differential equations (PDEs) serve as the mathematical foundation for diverse scientific fields, including electrostatics, fluid dynamics, and structural mechanics. When these equations are discretized for numerical simulation, they typically result in massive, sparse linear systems of the form $Au = f$. Solving these systems in three dimensions (3D) presents a significant computational challenge.
Traditional approaches fall into two categories: direct solvers and iterative solvers. Direct solvers, such as multifrontal methods, are robust but suffer from "fill-in," which causes memory requirements to grow cubically with problem size in 3D. Iterative solvers, like Conjugate Gradient or Multigrid methods, offer better theoretical scaling but often struggle with "messy" physics, such as high-contrast material properties where coefficients vary by several orders of magnitude. The Distributed-memory Hierarchical Interpolative Factorization (DHIF) aims to bridge this gap, providing the robustness of a direct solver with the efficiency of an iterative one.
The DHIF Algorithm
DHIF is a parallel implementation of the Hierarchical Interpolative Factorization designed for modern supercomputers. The algorithm achieves its efficiency through a recursive reduction of the problem size across a hierarchical structure.
Sparse Elimination and Skeletonization
The reduction process begins at the finest level of the grid. For each local cell, the algorithm first performs sparse elimination. This step removes the interior degrees of freedom that do not interact directly with neighboring cells, effectively decoupling the interior from the rest of the system.
Following sparse elimination, the algorithm applies its core innovation: skeletonization. Unlike standard domain decomposition methods that retain all points on the boundaries between regions, DHIF uses Interpolative Decomposition (ID). This technique identifies a small subset of "skeleton" points that can represent the physics of the entire boundary region within a prescribed accuracy. By discarding redundant points, the algorithm prevents the matrix sizes from exploding as it moves up the hierarchy.
Hierarchical Process Tree
To handle massive problems across thousands of cores, DHIF organizes processors into an "octree" structure that mirrors the physical 3D domain. At the leaf level, individual processors handle calculations locally. As the algorithm progresses, groups of processors collaborate using parallel dense linear algebra (via the Elemental library) to process larger regions. This hierarchical mapping ensures that communication remains as local as possible, minimizing the network bottlenecks common in large-scale parallel computing.
Performance and Scalability
The authors evaluated DHIF on the NERSC Edison system, testing problems with up to 1 billion degrees of freedom ($1024^3$ grid) using up to 8,192 processes.
Key findings from the numerical experiments include:
- Linear Memory Scaling: The memory required per processor remained nearly constant as the problem size and processor count scaled proportionally. This is a critical requirement for extreme-scale simulations.
- Robustness to Contrast: In "stress tests" involving high-contrast random fields (where coefficients jump between 0.1 and 1000), DHIF remained stable while traditional iterative solvers saw significant performance degradation.
- Comparison with hypre: In head-to-head benchmarks against the popular
hyprelibrary, DHIF was significantly faster for large-scale structured problems. For a $256^3$ problem on 4,096 cores, DHIF's solve time was approximately 28 times faster thanhypre's SMG solver.
Conclusion
DHIF represents a significant advancement in parallel solvers for 3D elliptic PDEs. By combining the low-rank compression of skeletonization with a communication-efficient hierarchical structure, it achieves quasi-linear complexity and excellent weak scaling. Future work will focus on extending the framework to handle unstructured meshes and more complex boundary conditions, further broadening its applicability in industrial and scientific simulations.
Summary updated