arrow
Return

Multinode Multi-GPU Two-Electron Integrals: Code Generation Using the Regent Language

delete2022-10-06
delete18
PRE
AI
K
K. Grace Johnson
S
Seema Mirchandaney
E
Ellis Hoag
A
Alan Heirich
A
Alex Aiken
T
Todd J. Martı́nez *
DOI:10.1021/acs.jctc.2c00414delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The computation of two-electron repulsion integrals (ERIs) is often the most expensive step of integral-direct self-consistent field methods. Formally it scales as O(N-4), where N is the number of Gaussian basis functions used to represent the molecular wave function. In practice, this scaling can be reduced to O(N-2) or less by neglecting small integrals with screening methods. The contributions of the ERIs to the Fock matrix are of Coulomb (J) and exchange (K) type and require separate algorithms to compute matrix elements efficiently. We previously implemented highly efficient GPU-accelerated J-matrix and K-matrix algorithms in the electronic structure code TeraChem. Although these implementations supported the use of multiple GPUs on a node, they did not support the use of multiple nodes. This presents a key bottleneck to cutting-edge ab initio simulations of large systems, e.g., excited state dynamics of photoactive proteins. We present our implementation of multinode multi-GPU J- and K-matrix algorithms in TeraChem using the Regent programming language. Regent directly supports distributed computation in a task-based model and can generate code for a variety of architectures, including NVIDIA GPUs. We demonstrate multinode scaling up to 45 GPUs (3 nodes) and benchmark against hand-coded TeraChem integral code. We also outline our metaprogrammed Regent implementation, which enables flexible code generation for integrals of different angular momenta.
Keywords:
GRAPHICAL PROCESSING UNITS
QUANTUM-CHEMISTRY CALCULATIONS
MOLECULAR INTEGRALS
COUPLED-CLUSTER
EXCITED-STATES
CONFIGURATION-INTERACTION
COULOMB OPERATOR
HIGH-PERFORMANCE
FOCK-MATRIX
EFFICIENT

Journal

Journal of Chemical Theory and Computation cover
Journal of Chemical Theory and Computation
IF:
5.5
Papers:
1.1W
Citations:
5.4W

Organization

S
Stanford University
Scholars:
9.6W
Papers: 8.2W
Citations: 17.0W
U
united states department of energy (doe)
Scholars:
11.3W
Papers: 9.6W
Citations: 246