GPU-Accelerated Fock Matrix Computation with Efficient Reduction
Source abstract
Abstract
In quantum chemistry, constructing the Fock matrix is essential to compute Coulomb interactions among atoms and electrons and, thus, to determine electron orbitals and densities. In the fundamental framework of quantum chemistry such as the Hartree–Fock method, the iterative computation of the Fock matrix is a dominant process, constituting a critical computational bottleneck. Although the Fock matrix computation has been accelerated by parallel processing using GPUs, the issue of performance degradation due to memory contention remains unresolved. This is due to frequent conflicts of atomic operations accessing the same memory addresses when multiple threads update the Fock matrix elements concurrently. To address this issue, we propose a parallel algorithm that efficiently and suitably distributes the atomic operations; and significantly reduces the memory contention by decomposing the Fock matrix into multiple replicas, allowing each GPU thread to contribute to different replicas. Experimental results using a relevant set/configuration of molecules on an NVIDIA A100 GPU show that our approach achieves up to a 3.75× speedup in Fock matrix computation compared to conventional high-contention approaches. Furthermore, our proposed method can also be readily combined with existing implementations that reduce the number of atomic operations, leading to a 1.98× improvement.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Matrix Theory and Algorithms · Quantum Computing Algorithms and Architecture
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Advanced Science and Engineering, Hiroshima University, Higashi-Hiroshima 739-8527, Japan
Computing Laboratory, Fujitsu Limited, Kawasaki 211-8588, Japan
References (46)
Show source-provided references
1. Quantum mechanics implementation in drug-design workflows: Does it really help?10.2147/DDDT.S126344 ↗
2. Cavasotto, C.N., Adler, N.S., and Aucar, M.G. (2018). Quantum Chemical Approaches in Structure-Based Virtual Screening and Lead Optimization. Front. Chem., 6.10.3389/fchem.2018.00188 ↗
3. Strongly correlated electrons in catalysis: Focus on quantum exchange10.1021/acscatal.1c03135 ↗
4. Quantum computing enhanced computational catalysis10.1103/PhysRevResearch.3.033055 ↗
5. New Developments in Molecular Orbital Theory10.1103/RevModPhys.23.69 ↗
6. Ito, Y., Tsuji, S., Fujii, H., Suzuki, K., Yokogawa, N., Nakano, K., and Kasagi, A. (2024, January 27–31). Introduction to Computational Quantum Chemistry for Computer Scientists. Proceedings of the 2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), San Francisco, CA, USA.10.1109/IPDPSW63119.2024.00066 ↗
7. Bartlett, R.J., and Stanton, J.F. (1994). Applications of Post-Hartree-Fock Methods: A Tutorial. Reviews in Computational Chemistry, John Wiley & Sons, Ltd.10.1002/9780470125823.ch2 ↗
8. Molecular integrals Over Gaussian Basis Functions10.1016/S0065-3276(08)60019-2 ↗
9. Principles for a direct SCF approach to LICAO–MO ab-initio calculations10.1002/jcc.540030314 ↗
10. Two-electron integral evaluation on the graphics processor unit10.1002/jcc.20779 ↗
11. Quantum Chemistry on Graphical Processing Units. 1. Strategies for Two-Electron Integral Evaluation10.1021/ct700268q ↗
12. Quantum chemistry on graphical processing units. 2. Direct self-consistent-field implementation10.1021/ct800526s ↗
13. New multithreaded hybrid CPU/GPU approach to Hartree-Fock10.1021/ct300526w ↗
14. Acceleration of high angular momentum electron repulsion integrals and integral derivatives on graphics processing units10.1021/ct500984t ↗
15. Mironov, V., Alexeev, Y., Keipert, K., D’mello, M., Moskovsky, A., and Gordon, M.S. (2017, January 12–17). An efficient MPI/openMP parallelization of the Hartree-Fock method for the second generation of Intel®Xeon PhiTM processor. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Denver, CO, USA.10.1145/3126908.3126956 ↗
16. Huang, H., and Chow, E. (2018, January 11–16). Accelerating quantum chemistry with vectorized and batched integrals. Proceedings of the SC18: International Conference for High Performance Computing, Networking, Storage and Analysis, Dallas, TX, USA.10.1109/SC.2018.00044 ↗
17. Calculation of Quantum Chemical Two-Electron Integrals by Applying Compiler Technology on GPU10.1021/acs.jctc.9b00560 ↗
18. Techniques for high-performance construction of Fock matrices10.1063/1.5129452 ↗
19. High-performance, graphics processing unit-accelerated Fock build algorithm10.1021/acs.jctc.0c00768 ↗
20. Faster Self-Consistent Field (SCF) Calculations on GPU Clusters10.1021/acs.jctc.1c00720 ↗
21. Optimizing two-electron repulsion integral calculations with McMurchie-Davidson method on graphic processing unit10.1063/5.0052105 ↗
22. Harnessing the Power of Multi-GPU Acceleration into the Quantum Interaction Computational Kernel Program10.1021/acs.jctc.1c00145 ↗
23. Multinode Multi-GPU Two-Electron Integrals: Code Generation Using the Regent Language10.1021/acs.jctc.2c00414 ↗
24. A hybrid CPU/GPU method for Hartree-Fock self-consistent-field calculation10.1063/5.0156934 ↗
25. Suzuki, K., Ito, Y., Fujii, H., Yokogawa, N., Tsuji, S., Nakano, K., and Kasagi, A. (2024, January 3–6). GPU acceleration of head-Gordon-Pople algorithm. Proceedings of the 2024 Twelfth International Symposium on Computing and Networking (CANDAR), Naha, Japan.10.1109/CANDAR64496.2024.00021 ↗
26. Tsuji, S., Ito, Y., Fujii, H., Yokogawa, N., Suzuki, K., Nakano, K., and Kasagi, A. (2024, January 26–29). Dynamic Screening of Two-Electron Repulsion Integrals in GPU Parallelization. Proceedings of the 2024 Twelfth International Symposium on Computing and Networking Workshops (CANDARW), Naha, Japan.10.1109/CANDARW64572.2024.00041 ↗
27. Advanced techniques for high-performance Fock matrix construction on GPU clusters10.1021/acs.jctc.4c00994 ↗
28. Fujii, H., Ito, Y., Yokogawa, N., Suzuki, K., Tsuji, S., Nakano, K., Parque, V., and Kasagi, A. (2025). Efficient GPU Implementation of the McMurchie–Davidson Method for Shell-Based ERI Computations. Appl. Sci., 15.10.3390/app15052572 ↗
29. Yokogawa, N., Ito, Y., Tsuji, S., Fujii, H., Suzuki, K., Nakano, K., and Kasagi, A. (2024, January 26–29). Parallel GPU computation of nuclear attraction integrals in quantum chemistry. Proceedings of the 2024 Twelfth International Symposium on Computing and Networking Workshops (CANDARW), Naha, Japan.10.1109/CANDARW64572.2024.00033 ↗
30. New Basis Set Exchange: An Open, Up-to-Date Resource for the Molecular Sciences Community10.1021/acs.jcim.9b00725 ↗
31. One- and two-electron integrals over cartesian Gaussian functions10.1016/0021-9991(78)90092-X ↗
32. Efficient recursive computation of molecular integrals over Cartesian Gaussian functions10.1063/1.450106 ↗
33. A method for two-electron Gaussian integral and integral derivative evaluation using recurrence relations10.1063/1.455553 ↗
34. Electronic wave functions — I. A general method of calculation for the stationary states of any molecular system
35. GPU Acceleration of the Boys Function Evaluation in Computational Quantum Chemistry10.1002/cpe.8328 ↗
36. A simple yet powerful upper bound for Coulomb integrals10.1016/0009-2614(93)E1340-M ↗
37. Dykstra, C.E., Frenking, G., Kim, K.S., and Scuseria, G.E. (2005). Chapter 41—Advances in electronic structure theory: GAMESS a decade later. Theory and Applications of Computational Chemistry, Elsevier.
38. Libcint: An efficient general integral library for Gaussian basis functions10.1002/jcc.23981 ↗
39. Psi4 1.1: An Open-Source Electronic Structure Program Emphasizing Automation, Advanced Libraries, and Interoperability10.1021/acs.jctc.7b00174 ↗
40. PySCF: The Python-based simulations of chemistry framework10.1002/wcms.1340 ↗
41. CP2K: An electronic structure and molecular dynamics software package - Quickstep: Efficient and accurate electronic structure calculations10.1063/5.0007045 ↗
42. TeraChem: A graphical processing unit-accelerated electronic structure package for large-scale ab initio molecular dynamics10.1002/wcms.1494 ↗
43. Extending GPU-accelerated Gaussian integrals in the TeraChem software package to f type orbitals: Implementation and applications10.1063/5.0233523 ↗
44. Acceleration of electron repulsion integral evaluation on graphics processing units via use of recurrence relations10.1021/ct300754n ↗
45. Introducing GPU acceleration into the python-based simulations of chemistry framework10.1021/acs.jpca.4c05876 ↗
46. Wu, X., Sun, Q., Pu, Z., Zheng, T., Ma, W., Yan, W., Yu, X., Wu, Z., Huo, M., and Li, X. (2024). Enhancing GPU-acceleration in the Python-based Simulations of Chemistry Framework. arXiv.10.1002/wcms.70008 ↗