Related Experiment Video
Updated: Sep 15, 2025

Computation of Atmospheric Concentrations of Molecular Clusters from ab initio Thermochemistry
Published on: April 8, 2020
Generating Coupled Cluster Code for Modern Distributed-Memory Tensor Software
Jan Brandejs1, Johann Pototschnig1, Trond Saue1
1Laboratoire de Chimie et Physique Quantique, UMR 5626 CNRS - Université de Toulouse, 118 route de Narbonne, Toulouse F-31062, France.
Developing efficient high-performance computing (HPC) software for coupled cluster (CC) calculations on GPUs is complex. This work introduces "tenpi," a framework for automated CC code generation, improving scalability and accessibility for complex molecular simulations.
Area of Science:
- Computational Chemistry
- High-Performance Computing (HPC)
- Quantum Chemistry
Background:
- Efficient execution of coupled cluster (CC) computations on GPU-based High-Performance Computing (HPC) platforms is hindered by heterogeneous hardware structures.
- Adapting software to these structures demands significant man-hours, necessitating systematized high-performance code development, especially for higher-order CC methods.
Purpose of the Study:
- To address the challenges of efficient tensor symmetry capture and hardware abstraction in developing general-order coupled cluster (CC) code generators.
- To present the design of a novel, open-source modular tensor framework, "tenpi", for CC code development.
Main Methods:
- Development of a high-level problem representation translated into low-level hardware instructions via a compiler/translator.
- Designing software to capture key tensor symmetries while maintaining hardware abstraction.
- Integration of diagrammatic derivation, visualization, symbolic algebra, and intermediate optimization within the "tenpi" framework.
Main Results:
- Systematically generated code demonstrates excellent weak scaling on up to 1200 GPUs using the ExaTENSOR distributed memory tensor library.
- The "tenpi" framework supports multiple tensor backends and facilitates higher-order CC functionality.
- Integration of "tenpi" into the DIRAC code's ExaCorr module enhances relativistic molecular calculations.
Conclusions:
- The developed general-order CC code generator and the "tenpi" framework significantly improve the efficiency and accessibility of CC computations on modern HPC platforms.
- "tenpi" provides a robust, modular solution for advanced quantum chemistry calculations, enabling higher-order CC methods on massively parallel systems.
Related Concept Videos
Parallel Processing
Distributed Loads: Problem Solving
Maxwell-Boltzmann Distribution: Problem Solving
This distribution function f(v) is defined by saying that the expected number N (v1,v2) of particles with speeds between v1 and v2 is given by
Distributed Loads
For example, consider a bookshelf filled with books stacked vertically adjacent to each other. The weight of the books is evenly distributed over the length of the shelf. As a result, the pressure at different locations on the surface of the...
Ampere-Maxwell's Law: Problem-Solving
To solve the problem, we can use the equations from the analysis of an RC circuit and Maxwell's version of Ampère's law.
For the first part of...
Extraction: Partition and Distribution Coefficients
For extracting a solute from an aqueous phase into an...

