We introduce the first version of GPU4PySCF, a module that provides GPU acceleration of methods in PySCF. As a core functionality, this provides a GPU implementation of two-electron repulsion integrals (ERIs) for contracted basis sets comprising up to g functions using Rys quadrature. As an illustration of how this can accelerate a quantum chemistry workflow, we describe how to use the ERIs efficiently in the integral-direct Hartree-Fock Fock build and nuclear gradient construction. Benchmark calculations show a significant speedup of two orders of magnitude with respect to the multi-threaded CPU Hartree-Fock code of PySCF, and performance comparable to other GPU-accelerated quantum chemical packages including GAMESS and QUICK on a single NVIDIA A100 GPU.
Accelerating Locality-Driven Integration in Quantum Chemistry with Block-Structured Matrix Multiplication
Zhongguancun Academy(中关村学院);Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究院);IQuest Research(IQuest研究);University of Science and Technology of China(中国科学技术大学)
TorchGDM: A GPU-Accelerated Python Toolkit for Multi-Scale Electromagnetic Scattering with Automatic Differentiation
LAAS-CNRS, Universit\'e de Toulouse, Toulouse, France;CEMES-CNRS, Universit\'e de Toulouse, Toulouse, France;CRHEA-CNRS, Université Côte d’Azur, Sophia Antipolis, France;CNRS, Universit\'e Rennes, DYNACOM (Dynamical Control of Materials Laboratory) - IRL 2015, The University of Tokyo, 7-3-1 Hongo, Tokyo, 113-0033, Japan
GPU-Acceleration of the ELPA2 Distributed Eigensolver for Dense Symmetric and Hermitian Eigenproblems
本征值问题的求解通常是一个关键的计算瓶颈,它限制了数值算法的易处理系统规模,其中包括化学和凝聚态物理中的电子结构理论。大型特征值问题很容易超过单个计算节点的计算能力,因此必须在分布式存储并行计算机上求解。在这里,我们提出了面向GPU优化的ELPA两阶段三对角化特征值求解器(ELPA 2)。在基于cubLAS的GPU卸载之上,我们添加了一个CUDA内核来加速特征向量的反变换,这可能是两阶段三对角化算法中计算成本最高的部分。我们在两种混合CPU-GPU架构上对该GPU加速的特征值求解器的性能进行了基准测试,即基于Intel Xeon Gold CPU和NVIDIA Volta GPU的计算集群,以及基于IBM POWER 9 CPU和NVIDIA Volta GPU的Summit超级计算机。与以前的基准测试CPU的架构,GPU加速的两阶段求解器表现出优于一个阶段的对应并行性能。最后,我们展示了性能的GPU加速本征求解器在这项工作中开发的常规半本地KS-DFT计算,包括数千个原子。