多GPU RI-HF能量与解析梯度 $-$ 迈向高通量从头算分子动力学
Multi-GPU RI-HF Energies and Analytic Gradients $-$ Towards High Throughput Ab Initio Molecular Dynamics
AI总结:
本文提出一种多GPU优化的RI-HF能量与解析梯度算法,通过多GPU并行和负载均衡加速中小分子从头算分子动力学,实现超3倍单GPU加速及最高47%理论峰值浮点性能。
摘要:
本文提出了一种优化的算法及其实现,用于使用多个图形处理器(GPU)计算分辨率恒等式Hartree-Fock(RI-HF)能量及解析梯度。该算法专为中小型分子(10-100个原子)的高通量从头算分子动力学模拟而设计。本工作的关键创新包括利用多GPU并行性以及一种在GPU之间高效分配计算任务的工作负载均衡方案。我们的实现还采用了对称性利用、积分筛选和利用稀疏性等技术,以优化内存使用和计算效率。计算结果表明,该实现取得了显著的性能提升,包括与之前GPU加速的RI-HF和传统HF方法相比,单GPU AIMD吞吐量实现了超过3倍的加速。此外,当额外的聚合GPU内存允许存储解压缩的三中心积分时,利用多个GPU可以提供超线性加速。另外,我们报告了多达1000个基函数系统的强扩展效率,并通过对多达四重-ζ主基集的广泛性能基准测试展示了实际应用,在4×A100 GPU节点上实现了高达理论峰值47%的浮点性能。
英文摘要:
This article presents an optimized algorithm and implementation for calculating resolution-of-the-identity Hartree-Fock (RI-HF) energies and analytic gradients using multiple Graphics Processing Units (GPUs). The algorithm is especially designed for high throughput \emph{ab initio} molecular dynamics simulations of small and medium size molecules (10-100 atoms). Key innovations of this work include the exploitation of multi-GPU parallelism and a workload balancing scheme that efficiently distributes computational tasks among GPUs. Our implementation also employs techniques for symmetry utilization, integral screening and leveraging sparsity to optimize memory usage and computational efficiency. Computational results show that the implementation achieves significant performance improvements, including over $3\times$ speedups in single GPU AIMD throughput compared to previous GPU-accelerated RI-HF and traditional HF methods. Furthermore, utilizing multiple GPUs can provide super-linear speedup when the additional aggregate GPU memory allows for the storage of decompressed three-center integrals. Additionally, we report strong scaling efficiencies for systems up to 1000 basis functions and demonstrate practical applications through extensive performance benchmarks on up to quadruple-$ζ$ primary basis sets, achieving floating-point performance of up to 47\% of the theoretical peak on a 4$\times$A100 GPU node.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。