Tensor contraction operations in computational chemistry consume significant fractions of computing time on large-scale computing platforms. The widespread use of tensor contractions between large multi-dimensional tensors in describing electronic structure theory has motivated the development of multiple tensor algebra frameworks targeting heterogeneous computing platforms. In this paper, we present Tensor Algebra for Many-body Methods (TAMM), a framework for productive and performance-portable development of scalable computational chemistry methods. The TAMM framework decouples the specification of the computation and the execution of these operations on available high-performance computing systems. With this design choice, the scientific application developers (domain scientists) can focus on the algorithmic requirements using the tensor algebra interface provided by TAMM whereas high-performance computing developers can focus on various optimizations on the underlying constructs such as efficient data distribution, optimized scheduling algorithms, efficient use of intra-node resources (e.g., GPUs). The modular structure of TAMM allows it to be extended to support different hardware architectures and incorporate new algorithmic advances. We describe the TAMM framework and our approach to sustainable development of tensor contraction-based methods in computational chemistry applications. We present case studies that highlight the ease of use as well as the performance and productivity gains compared to other implementations.
翻译:计算化学中的张量缩并操作在大型计算平台上消耗了显著的计算时间。在描述电子结构理论时,大规模多维张量之间的张量缩并广泛应用,这推动了针对异构计算平台的多个张量代数框架的开发。本文提出了用于多体方法的张量代数(TAMM),这是一个面向可扩展计算化学方法的高效开发和性能可移植的框架。TAMM 框架将计算的规范与在可用高性能计算系统上执行这些操作解耦。通过这一设计选择,科学应用开发者(领域科学家)可以使用 TAMM 提供的张量代数接口专注于算法需求,而高性能计算开发者则可以专注于底层结构的各种优化,例如高效的数据分布、优化的调度算法以及节点内资源(如 GPU)的高效利用。TAMM 的模块化结构使其能够扩展以支持不同的硬件架构并融入新的算法进展。我们描述了 TAMM 框架及其在计算化学应用中实现基于张量缩并方法的可持续开发路径。我们通过案例研究展示了其易用性,以及相较于其他实现在性能和生产力方面的提升。