A Task-Based Approach to Parallel Restricted Hartree-Fock Calculations.

J Chem Theory Comput

Department of Chemistry and Ames Laboratory, Iowa State University, Ames, Iowa 50011, United States.

Published: April 2022

AI Article Synopsis

Article Abstract

In recent years, parallelism via multithreading has become extremely important to the optimization of high-performance electronic structure theory codes. Such multithreading is generally achieved via OpenMP constructs, using a fork-join threading model to enable thread-level data parallelism within the code. An alternative approach to multithreading is , which displays multiple benefits relative to fork-join thread parallelism. A novel Restricted Hartree-Fock (RHF) algorithm, utilizing task-based parallelism to achieve optimal performance, was developed and implemented into the JuliaChem electronic structure theory software package. The new RHF algorithm utilizes a unique method of shell quartet batch creation, enabling construction and distribution of fine-grained shell quartet batches in a load-balanced manner using the Julia task construct. These shell quartet batches are then distributed statically across message-passing interface (MPI) ranks and dynamically across threads within an MPI rank, requiring no explicit inter-rank or interthread synchronization to do so. Compared to the hybrid MPI/OpenMP RHF algorithm present in the GAMESS software package, the task-based algorithm demonstrates speedups of up to ∼40% for systems in the S22(3) test set of molecules, with system sizes up to ∼1000 basis functions. The JuliaChem algorithm demonstrates the viability of both the task-based parallelism model and the Julia programming language for construction of performant electronic structure theory codes targeting systems of a size of chemical interest.

Download full-text PDF

Source
http://dx.doi.org/10.1021/acs.jctc.1c00820DOI Listing

Publication Analysis

Top Keywords

electronic structure
12
structure theory
12
rhf algorithm
12
shell quartet
12
restricted hartree-fock
8
theory codes
8
task-based parallelism
8
software package
8
quartet batches
8
algorithm demonstrates
8

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!