AG-2024.01-1900·physics.comp-ph·cross-listed: quant-ph
Hybrid programming-model strategies for GPU offloading of electronic structure calculation kernels
Authors
- Jean-Luc Fattebert
- Christian F. A. Negre
- Joshua Finkelstein
- Jamaludin Mohd-Yusof
- Daniel Osei-Kuffuor
- Michael E. Wall
- Yu Zhang
- Nicolas Bock
- Susan M. Mniszewski
Abstract
To address the challenge of performance portability, and facilitate the implementation of electronic structure solvers, we developed the Basic Matrix Library (BML) and Parallel, Rapid O(N) and Graph-based Recursive Electronic Structure Solver (PROGRESS) libraries. BML implements linear algebra operations necessary for electronic structure kernels using a unified user interface for various matrix formats (dense, sparse) and architectures (CPUs, GPUs). Focusing on Density Functional Theory (DFT) and Tight-Binding (TB) models, PROGRESS implements several solvers for computing the single-particle density matrix and relies on BML. In this paper, we describe the general strategies used for these implementations on various computer architectures, using OpenMP target functionalities on GPUs, in conjunction with third-party libraries to handle performance critical numerical kernels. We demonstrate the portability of this approach and its performance on benchmark problems.
Submitted
24 January 20242 years ago
Version
v1
License
CC-BY-4.0
DOI
10.48550/arXiv.2401.13772
Summary
Researchers created software libraries (BML and PROGRESS) that let physicists run electronic structure calculations efficiently on both CPUs and GPUs by using a unified interface and hybrid programming strategies.
- BML abstracts away hardware differences, letting the same code run fast on CPUs or GPUs without rewriting—solving the 'performance portability' problem that plagues scientific computing.
- PROGRESS builds on BML to solve quantum problems (DFT and tight-binding models) by finding electron density matrices, which is central to predicting material properties.
- Using OpenMP target offloading plus specialized libraries (rather than custom GPU code) makes the approach more maintainable and portable across different supercomputers.
curious · generated by claude-haiku-4-5
Chat with this PDF
Ask questions, probe assumptions, request a plain-English summary. Answers cite sections from the preprint itself.
Community
Questions and answers about this paper from other readers. No formal peer review — just a place to think out loud.