Search NASA⌕ Search

DOE OSTI · 3028518

Speeding Up Hartree–Fock in JuliaChem with Density Fitting

Abstract

In this work, the density fitting (DF) approximation is added to the restricted Hartree–Fock (RHF) implementation in the JuliaChem computational chemistry code. Utilizing a DF algorithm that uses symmetry and integral screening, a significant reduction in time to compute the Fock matrix is achieved. The symmetry and screening DF-RHF techniques were adapted to be performed on graphics processing units (GPUs), which are well suited to perform the matrix multiplications that comprise the bulk of the Fock build time in DF-RHF. The JuliaChem DF-RHF GPU algorithm employs a novel approach that automatically switches between two DF-RHF algorithms depending on the number of basis functions in the calculation. The JuliaChem GPU DF-RHF implementation demonstrates up to 2× speedup for Fock build times compared to the existing best-in-class GPU DF-RHF implementation by operating directly on screened intermediate matrices. Due to the high portability of the Julia language code, the JuliaChem CPU and GPU DF-RHF implementations could be benchmarked on a variety of CPU and GPU architectures from multiple hardware vendors.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hayes, John J. [Ames Laboratory, and Iowa State University, Ames, IA (United States)] (ORCID:0000000171684524), Gordon, Mark S. [Ames Laboratory, and Iowa State University, Ames, IA (United States)] (ORCID:000000016893553X). 2026-04-06. Speeding Up Hartree–Fock in JuliaChem with Density Fitting. https://doi.org/10.1021/acs.jctc.5c02025

Cite the original work for its findings. Save a collection to share your selection of sources.