arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.17630astro-ph.IMastro-ph.CO
收藏

适配 Exascale 计算的 AREPO-RT:GPU 加速与高效通信

Adapting AREPO-RT for Exascale Computing: GPU Acceleration and Efficient Communication

Oliver Zier, Rahul Kannan, Aaron Smith, Mark Vogelsberger, Erkin Verbeek

AI总结:

本文针对 Exascale 超算环境优化了 AREPO-RT,通过引入直接内存访问的节点间通信策略与 GPU 加速,在标准基准测试中实现约 15 倍计算加速,并在再电离时代模拟中使总体效率提升三倍。

摘要:

辐射转移(RT)是贯穿宇宙历史对众多天体物理现象进行自洽建模的关键要素。然而,将其即时集成到辐射流体力学(RHD)模拟中计算要求极高,特别是由于多频率无碰撞玻尔兹曼物理中固有的严格时间步进条件和增加的维度。配备了大量 CPU 核心和 GPU 加速器的 Exascale 超级计算机的出现,为增强 RHD 模拟提供了新机遇。我们提出了一种针对此类高性能计算环境显式定制的 AREPO-RT 新颖优化方案。我们实现了一种新颖的节点间通信策略,利用共享内存以直接内存访问替代节点内通信。此外,将多个节点间消息合并为单个消息,大幅提升了现代超级计算机上大规模模拟的网络带宽利用率和性能。单消息节点间方法也提升了网络优化程度较低的较小规模机器上的性能。此外,通过将所有 RT 相关计算转移到 GPU,与原始 CPU 实现相比,我们在标准基准测试中实现了约 15 倍的显著计算加速。作为案例研究,我们采用与 THESAN 项目相似的设置,进行了再电离时代的宇宙学 RHD 模拟。在此背景下,RT 成为次要因素,以至于即使不修改 AREPO 核心代码库,总体效率也提升了三倍。此处提出的进展具有广泛意义,可能会改变未来各种天体物理研究的模拟复杂性和可扩展性。

英文摘要:

Radiative transfer (RT) is a crucial ingredient for self-consistent modelling of numerous astrophysical phenomena across cosmic history. However, on-the-fly integration into radiation-hydrodynamics (RHD) simulations is computationally demanding, particularly due to the stringent time-stepping conditions and increased dimensionality inherent in multi-frequency collisionless Boltzmann physics. The emergence of exascale supercomputers, equipped with extensive CPU cores and GPU accelerators, offers new opportunities for enhancing RHD simulations. We present a novel optimization of AREPO-RT explicitly tailored for such high-performance computing environments. We implement a novel node-to-node communication strategy that utilizes shared memory to substitute intra-node communication with direct memory access. Furthermore, combining multiple inter-node messages into a single message substantially enhances network bandwidth utilization and performance for large-scale simulations on modern supercomputers. The single-message node-to-node approach also improves performance on smaller-scale machines with less optimized networks. Furthermore, by transitioning all RT-related calculations to GPUs, we achieve a significant computational speedup of around 15 for standard benchmarks compared to the original CPU implementation. As a case study, we perform cosmological RHD simulations of the Epoch of Reionization, employing a similar setup as the THESAN project. In this context, RT becomes sub-dominant such that even without modifying the core AREPO codebase, there is an overall threefold improvement in efficiency. The advancements presented here have broad implications, potentially transforming the complexity and scalability of future simulations for a wide variety of astrophysical studies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑