Spin Summations: A High-Performance Perspective

Paul Springer, Devin Matthews, Paolo Bientinesi
5/18/2017
5 citations
cs.MScs.PF

Official code: springer13/spin-summations (2 stars, Python, BSD-3-Clause, last commit 2018-01-03).

Abstract

Besides tensor contractions, one of the most pronounced computational bottlenecks in the non-orthogonally spin-adapted forms of the quantum chemistry methods CCSDT and CCSDTQ, and their approximate forms---including CCSD(T) and CCSDT(Q)---are spin summations. At a first sight, spin summations are operations similar to tensor transpositions; a closer look instead reveals additional challenges to high-performance calculations, including temporal locality as well as scattered memory accesses.

Show full abstract

This publication explores a sequence of algorithmic solutions for spin summations, each exploiting individual properties of either the underlying hardware (e.g. caches, vectorization), or the problem itself (e.g. factorizability). The final algorithm combines the advantages of all the solutions, while avoiding their drawbacks; this algorithm, achieves high-performance through parallelization, vectorization, and by exploiting the temporal locality inherent to spin summations. Combined, these optimizations result in speedups between 2.4x and 5.5x over the NCC quantum chemistry software package. In addition to such a performance boost, our algorithm can perform the spin summations in-place, thus reducing the memory footprint by 2x over an out-of-place variant.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
20Python, MakefileMay 31, 20178 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{springer2017spin,
  title  = {Spin Summations: A High-Performance Perspective},
  author = {Paul Springer and Devin Matthews and Paolo Bientinesi},
  year   = {2017},
  eprint = {1705.06661},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.06661}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.06661.svg)](https://codeofpaper.com/paper/1705.06661)

Discussion