Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Thread-level parallelization and optimization of NWChem for the Intel MIC architecture

Conference ·
 [1];  [1];  [1];  [1]
  1. Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)
In the multicore era it was possible to exploit the increase in on-chip parallelism by simply running multiple MPI processes per chip. Unfortunately, manycore processors' greatly increased thread- and data-level parallelism coupled with a reduced memory capacity demand an altogether different approach. In this paper we explore augmenting two NWChem modules, triples correction of the CCSD(T) and Fock matrix construction, with OpenMP in order that they might run efficiently on future manycore architectures. As the next NERSC machine will be a self-hosted Intel MIC (Xeon Phi) based supercomputer, we leverage an existing MIC testbed at NERSC to evaluate our experiments. In order to proxy the fact that future MIC machines will not have a host processor, we run all of our experiments in native mode. We found that while straightforward application of OpenMP to the deep loop nests associated with the tensor contractions of CCSD(T) was sufficient in attaining high performance, significant e ort was required to safely and efeciently thread the TEXAS integral package when constructing the Fock matrix. Ultimately, our new MPI+OpenMP hybrid implementations attain up to 65× better performance for the triples part of the CCSD(T) due in large part to the fact that the limited on-card memory limits the existing MPI implementation to a single process per card. Additionally, we obtain up to 1.6× better performance on Fock matrix constructions when compared with the best MPI implementations running multiple processes per card.
Research Organization:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Sponsoring Organization:
USDOE Office of Science (SC), Advanced Scientific Computing Research (ASCR) (SC-21)
DOE Contract Number:
AC02-05CH11231
OSTI ID:
1407275
Country of Publication:
United States
Language:
English

References (10)

Optimizing tensor contraction expressions for hybrid CPU-GPU execution journal November 2011
A full coupled‐cluster singles and doubles model: The inclusion of disconnected triples journal February 1982
Efficient Implementation of Many-Body Quantum Chemical Methods on the Intel® Xeon Phi Coprocessor
  • Apra, Edoardo; Klemm, Michael; Kowalski, Karol
  • SC14: International Conference for High Performance Computing, Networking, Storage and Analysis https://doi.org/10.1109/SC.2014.60
conference November 2014
Efficient implementation of the gauge-independent atomic orbital method for NMR chemical shift calculations journal November 1990
Molecular integrals Over Gaussian Basis Functions book January 1994
Efficient recursive computation of molecular integrals over Cartesian Gaussian functions journal April 1986
CCSD[T] Describes Noncovalent Interactions Better than the CCSD(T), CCSD(TQ), and CCSDT Methods journal November 2012
Synthesis of High-Performance Parallel Programs for a Class of ab Initio Quantum Chemistry Models journal February 2005
The reduced multiplication scheme of the Rys quadrature and new recurrence relations for auxiliary function based two‐electron integral evaluation journal October 1991
GPU-Based Implementations of the Noniterative Regularized-CCSD(T) Corrections: Applications to Strongly Correlated Systems journal April 2011

Similar Records

Thread-Level Parallelization and Optimization of NWChem for the Intel MIC Architecture
Technical Report · Fri Oct 10 00:00:00 EDT 2014 · OSTI ID:1163233

A Locality-Based Threading Algorithm for the Configuration-Interaction Method
Journal Article · Sun Jul 02 20:00:00 EDT 2017 · IEEE International Symposium on Parallel and Distributed Processing, Workshops and Phd Forum · OSTI ID:1393243

Performance and Energy Usage of Workloads on KNL and Haswell Architectures. In: High Performance Computing Systems. Performance Modeling, Benchmarking, and Simulation
Conference · Sun Dec 31 23:00:00 EST 2017 · Lecture Notes in Computer Science · OSTI ID:1546612