GPU acceleration of hybrid functional calculations in the SPARC electronic structure code

X Xin Jing (School of Chemistry and Materials Science) A Abhiraj Sharma (Physics Division, Lawrence Livermore National Laboratory 3 , Livermore, California 94550,) J John E. Pask (Physics Division, Lawrence Livermore National Laboratory 3 , Livermore, California 94550,) P Phanish Suryanarayana (College of Engineering, Georgia Institute of Technology 1 , Atlanta, Georgia 30332,)

Abstract

We present a Graphics Processing Unit (GPU)-accelerated version of the real-space SPARC electronic structure code for performing hybrid functional calculations in generalized Kohn–Sham density functional theory. In particular, we develop a batch variant of the recently formulated Kronecker product-based linear solver for the simultaneous solution of multiple linear systems. We then develop a modular, math kernel based implementation for hybrid functionals on NVIDIA architectures, where computationally intensive operations are offloaded to the GPUs, while the remaining workload is handled by the central processing units (CPUs). Considering bulk and slab examples, we demonstrate that GPUs enable up to 8× speedup in node-hours and 80× in core-hours compared to CPU-only execution, reducing the time to solution on V100 GPUs to around 300 s for a metallic system with over 6000 electrons, and significantly reducing the computational resources required for a given wall time.

Article Details

Volume / Issue Vol. 162, Issue 18
Published May 14, 2025
ISSN 0021-9606
Publisher American Institute of Physics

Journal Info

The Journal of Chemical Physics

American Institute of Physics

ISSN: 0021-9606 Physical Sciences

Authors (4)

X

Xin Jing

School of Chemistry and Materials Science

A

Abhiraj Sharma

Physics Division, Lawrence Livermore National Laboratory 3 , Livermore, California 94550,

J

John E. Pask

Physics Division, Lawrence Livermore National Laboratory 3 , Livermore, California 94550,

P

Phanish Suryanarayana

College of Engineering, Georgia Institute of Technology 1 , Atlanta, Georgia 30332,