OpenCL-accelerated first-principles calculations of all-electron quantum perturbations on HPC resources

Front Chem. 2023 May 26:11:1156891. doi: 10.3389/fchem.2023.1156891. eCollection 2023.

Abstract

We have proposed, for the first time, an OpenCL implementation for the all-electron density-functional perturbation theory (DFPT) calculations in FHI-aims, which can effectively compute all its time-consuming simulation stages, i.e., the real-space integration of the response density, the Poisson solver for the calculation of the electrostatic potential, and the response Hamiltonian matrix, by utilizing various heterogeneous accelerators. Furthermore, to fully exploit the massively parallel computing capabilities, we have performed a series of general-purpose graphics processing unit (GPGPU)-targeted optimizations that significantly improved the execution efficiency by reducing register requirements, branch divergence, and memory transactions. Evaluations on the Sugon supercomputer have shown that notable speedups can be achieved across various materials.

Keywords: DFPT; GPU; OpenCL; heterogeneous; optimization.

Grants and funding

This work was supported by the National Natural Science Foundation of China (62232015, 62090024, 22003073, T2222026).