Skip to main content
QUICK REVIEW

[Paper Review] A scalable H-matrix approach for the solution of boundary integral equations on multi-GPU clusters

Helmut Harbrecht, Peter Zaspel|arXiv (Cornell University)|Jun 20, 2018
Electromagnetic Scattering and AnalysisPhysics and Astronomy27 references3 citations
TL;DR

This paper presents a scalable, multi-GPU, distributed-memory H-matrix library (hmglib) for solving large-scale boundary integral equations via the boundary element method (BEM). It extends a single-GPU H-matrix library to support distributed-memory parallelism using task-based execution, achieving over 67% relative speed-up from 128 to 1024 GPUs and solving a 1.5 million unknowns problem in under 6 minutes on the Titan supercomputer.

ABSTRACT

In this work, we consider the solution of boundary integral equations by means of a scalable hierarchical matrix approach on clusters equipped with graphics hardware, i.e. graphics processing units (GPUs). To this end, we extend our existing single-GPU hierarchical matrix library hmglib such that it is able to scale on many GPUs and such that it can be coupled to arbitrary application codes. Using a model GPU implementation of a boundary element method (BEM) solver, we are able to achieve more than 67 percent relative parallel speed-up going from 128 to 1024 GPUs for a model geometry test case with 1.5 million unknowns and a real-world geometry test case with almost 1.2 million unknowns. On 1024 GPUs of the cluster Titan, it takes less than 6 minutes to solve the 1.5 million unknowns problem, with 5.7 minutes for the setup phase and 20 seconds for the iterative solver. To the best of the authors' knowledge, we here discuss the first fully GPU-based distributed-memory parallel hierarchical matrix Open Source library using the traditional H-matrix format and adaptive cross approximation with an application to BEM problems.

Motivation & Objective

  • Address the high computational cost and memory demands of large-scale BEM problems with millions of unknowns.
  • Overcome the limitations of single-node GPU computing by enabling distributed-memory parallelism across multi-GPU clusters.
  • Extend the existing single-GPU hmglib library to support arbitrary BEM application codes via a general interface for matrix entry evaluation and geometric data access.
  • Achieve high parallel efficiency and scalability on large GPU clusters for hierarchical matrix assembly and solution of linear systems arising from BEM discretizations.
  • Enable fully GPU-based, distributed-memory H-matrix computations using adaptive cross approximation (ACA) and hierarchical matrix formats, with open-source availability.

Proposed method

  • Extend the hmglib library to support distributed-memory parallelism using a task-based execution model across multiple GPUs.
  • Implement a general interface allowing integration with arbitrary BEM codes by exposing matrix entry evaluation and geometric location of degrees of freedom.
  • Enable pre-computation and storage of both dense (non-admissible) blocks and low-rank (admissible) blocks in GPU memory, crucial for BEM applications.
  • Use the traditional H-matrix format with adaptive cross approximation (ACA) for purely algebraic low-rank matrix compression, enabling O(N log N) matrix-vector products.
  • Leverage GPU-accelerated kernels for dense matrix operations and ACA-based low-rank approximations, with load balancing across GPU nodes.
  • Integrate the extended hmglib with a model GPU BEM solver based on piecewise constant boundary elements, using iterative solvers like conjugate gradient (CG).

Experimental results

Research questions

  • RQ1Can a GPU-accelerated H-matrix library be effectively scaled across a distributed-memory cluster of GPUs for large-scale BEM problems?
  • RQ2What level of parallel speed-up can be achieved when scaling from 128 to 1024 GPUs using a task-based, multi-GPU H-matrix implementation?
  • RQ3How does the performance of the extended hmglib library compare in terms of setup and solve time for real-world and model geometries with millions of unknowns?
  • RQ4What are the main bottlenecks in load balancing and performance scaling when using batching and task-based parallelism on GPUs?
  • RQ5Can the proposed approach achieve high efficiency in both H-matrix setup and iterative solver phases on large-scale BEM problems?

Key findings

  • The extended hmglib library achieves over 67% relative parallel speed-up when scaling from 128 to 1024 GPUs on a model cube geometry with 1.5 million unknowns.
  • For the real-world gearwheel geometry with 1.18 million unknowns, the library achieves over 68% relative speed-up from 128 to 1024 GPUs.
  • The 1.5 million unknowns problem is solved in less than 6 minutes on 1024 GPUs, with 5.7 minutes for H-matrix setup and 20 seconds for the CG iterative solver.
  • The full solution of the real-world gearwheel problem with 1.18 million unknowns takes 8.8 minutes on 1024 GPUs, with 8.3 minutes for setup and less than 29 seconds for the CG solve.
  • Performance analysis reveals that dense matrix operations are well load-balanced (peaking at ~15 seconds), while ACA approximations show significant load imbalance, with some GPUs taking over 300 seconds.
  • The study confirms that the proposed multi-GPU H-matrix approach is scalable and efficient for large-scale BEM problems, with strong performance on both synthetic and real-world geometries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.