Title: Hybrid programming-model strategies for GPU offloading of electronic structure calculation kernels

Journal Article · · Journal of Chemical Physics
DOI: https://doi.org/10.1063/5.0198797 · OSTI ID:2336668
ORCiD logo [1]; ORCiD logo [2]; ORCiD logo [2]; ORCiD logo [2]; ORCiD logo [3]; ORCiD logo [2]; ORCiD logo [2]; ORCiD logo [4]; ORCiD logo [2]
  1. Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
  2. Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
  3. Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)
  4. Canonical USA Inc., Eatontown, NJ (United States)

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) library. The BML implements linear algebra operations necessary for electronic structure kernels using a unified user interface for various matrix formats (dense and sparse) and architectures (CPUs and GPUs). Focusing on density functional theory and tight-binding 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. In this study, we demonstrate the portability of this approach and its performance in benchmark problems.

Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States); Los Alamos National Laboratory (LANL), Los Alamos, NM (United States); Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA); USDOE Office of Science (SC)
Grant/Contract Number:
89233218CNA000001; AC05-00OR22725; AC52-07NA27344
OSTI ID:
2336668
Report Number(s):
LA-UR-25-23408; LLNL-JRNL-859486
Journal Information:
Journal of Chemical Physics, Journal Name: Journal of Chemical Physics Journal Issue: 12 Vol. 160; ISSN 0021-9606
Publisher:
American Institute of Physics (AIP)Copyright Statement
Country of Publication:
United States
Language:
English

References (44)

An Efficient Heuristic Procedure for Partitioning Graphs journal February 1970
Accelerator Programming Using Directives book June 2020
A survey of current challenges in partitioning and processing of graph-structured data in parallel and distributed systems journal November 2019
The basic matrix library (BML) for quantum chemistry journal August 2018
Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set journal July 1996
Large-scale ab initio calculations based on three levels of parallelization journal April 2008
Parallel eigensolvers in plane-wave Density Functional Theory journal February 2015
Massively parallel sparse matrix function calculations with NTPoly journal April 2018
ELSI — An open infrastructure for electronic structure solvers journal November 2020
GPU-acceleration of the ELPA2 distributed eigensolver for dense symmetric and hermitian eigenproblems journal May 2021
An OpenMP GPU-offload implementation of a non-equilibrium solidification cellular automata model for additive manufacturing journal March 2023
Thermo4PFM: Facilitating Phase-field simulations of alloys with thermodynamic driving forces journal July 2023
Fast methods for resumming matrix polynomials and Chebyshev matrix polynomials journal March 2004
A constrained optimization algorithm for total energy minimization in electronic structure calculations journal September 2006
Sparse matrix multiplication: The distributed block-compressed sparse row library journal May 2014
A parallel strategy for density functional theory computations on accelerated nodes journal December 2020
Porting hypre to heterogeneous computer architectures: Strategies and experiences journal December 2021
OpenMP application experiences: Porting to accelerated nodes journal March 2022
A Projector Augmented Wave (PAW) code for electronic structure calculations, Part II: pwpaw for periodic solids in a plane wave basis journal April 2001
Porting Fragmentation Methods to Graphical Processing Units Using an OpenMP Application Programming Interface: Offloading the Fock Build for Low Angular Momentum Functions journal April 2023
Accelerating Coupled-Cluster Calculations with GPUs: An Implementation of the Density-Fitted CCSD(T) Approach for Heterogeneous Computing Architectures Using OpenMP Directives journal October 2023
Efficient Computation of Sparse Matrix Functions for Large-Scale Electronic Structure Calculations: The CheSS Library journal September 2017
Trace resetting density matrix purification in O(N) self-consistent-field theory journal May 2003
Improved Fermi operator expansion methods for fast electronic structure calculations journal August 2003
A density‐matrix divide‐and‐conquer approach for electronic structure calculations of large molecules journal October 1995
Graph-based linear scaling electronic structure theory journal June 2016
CP2K: An electronic structure and molecular dynamics software package - Quickstep: Efficient and accurate electronic structure calculations journal May 2020
The CECAM electronic structure library and the modular software development paradigm journal July 2020
Subspace recursive Fermi-operator expansion strategies for large-scale DFT eigenvalue problems on HPC architectures journal July 2023
A fast, dense Chebyshev solver for electronic structure on GPUs journal September 2023
A robust solver for wavefunction-based density functional theory calculations* journal February 2022
Modular implementation of the linear- and cubic-scaling orbital minimization methods in electronic structure codes using atomic orbitals journal April 2023
Conjugate gradient minimization of the energy functional: A new method for electronic structure calculation journal March 1989
Tight-binding electronic-structure calculations and tight-binding molecular dynamics with localized orbitals journal April 1995
Linear scaling electronic structure methods journal July 1999
The Ongoing Evolution of OpenMP journal November 2018
On the Number of Nonscalar Multiplications Necessary to Evaluate Polynomials journal March 1973
Task-based Parallel Computation of the Density Matrix in Quantum-based Molecular Dynamics using Graph Partitioning journal January 2017
Ginkgo : A Modern Linear Operator Algebra Framework for High Performance Computing journal February 2022
Basic Linear Algebra Subprograms for Fortran Usage journal September 1979
An extended set of FORTRAN basic linear algebra subprograms journal March 1988
A set of level 3 basic linear algebra subprograms journal March 1990
Pre-exascale accelerated application development: The ORNL Summit experience journal May 2020
Enabling particle applications for exascale computing platforms journal July 2021