Spherical Resolution for Fast and Rigorously Bounded Mixed-Precision Coulomb Integrals on GPUs
We present a formulation of the Coulomb matrix for graphics processing units (GPUs) in which the electron-repulsion integrals are evaluated by a spherical resolution instead of the common recursion formulae or Rys quadrature, and we show that it yields a rigorous bound of the rounding error of single-precision (FP32) arithmetic up to high angular momentum. Each Hermite Coulomb intermediate is resolved into a finite sum of radial functions multiplied by real spherical harmonics of the direction between the two Gaussian product centers. When this direction is rotated onto the z axis, only the m = 0 terms remain and the interaction of two Hermite densities becomes diagonal in the magnetic quantum number, while the rotation is a linear transformation of fixed dimension 2l + 1 that acts on two-index density and potential blocks. As a result, no intermediate depends on another, which removes the limit that recursion formulae encounter on GPUs at high angular momentum. In cc-pVQZ on one NVIDIA A100, the Coulomb calculation is up to 91 times faster than that of GPU4PySCF for the 28 molecules of Thiel’s benchmark set, and this ratio approaches 6–10 for larger systems with up to 12 500 basis functions. With respect to JoltQC, it is 6.4–15 times faster for small and large systems alike, and, with the present engine’s quartets screened at 10−10, it is 2.4–3.8 times faster than published EXESS computation times for 26 large systems. Because the evaluation separates into orthogonal rotations and a radial part, the FP32 rounding error of the ERIs of each primitive shell quartet evaluated in the local frame is bounded a priori. In all calculations examined, the FP32 error is much smaller than that of the Schwarz screening and is therefore of no consequence for the accuracy. With the bulk of the arithmetic in FP32, the calculation is 1.1–1.4 times faster than in double precision (FP64) on the A100 and 2.6–3.6 times faster on the
Authors
- Mohsen Mazaherifar (ORCID: https://orcid.org/0000-0002-3624-1629)
- Cheol Ho Choi
Publication Details
- Journal
- ChemRxiv
- Published
- 2026-11-23
- DOI
- https://doi.org/10.26434/chemrxiv.15012599/v1
- Primary Topic
- Advanced Chemical Physics Studies
- Type
- preprint