AthenaK:Athena++ AMR框架的性能可移植版本
AthenaK: A Performance-Portable Version of the Athena++ AMR Framework
AI总结:
AthenaK基于Kokkos重写了Athena++ AMR框架,支持多种流体动力学和粒子演化模块,能在多种硬件上高效运行,展现出卓越的性能与弱扩展性,可利用百亿亿次计算系统应对天体物理等领域的挑战。
摘要:
我们描述了AthenaK:一个使用Kokkos编程模型对Athena++基于块的自适应网格细化(AMR)框架的新实现。该框架实现了牛顿、狭义相对论(SR)和广义相对论(GR)流体动力学与磁流体动力学(MHD),以及GR辐射流体动力学和MHD的有限体积方法,还包含一个用于演化拉格朗日示踪器或带电测试粒子(例如,宇宙射线)的模块。在两篇配套论文中,我们描述了(1)基于Z4c形式的爱因斯坦方程新求解器,以及(2)同样使用该框架在动态时空中实现的GRMHD求解器,从而在数值相对论中实现新的应用。通过采用Kokkos,该代码几乎可以在任何硬件上运行,包括CPU、多个供应商的GPU以及新兴的ARM处理器。AthenaK展现出卓越的性能和弱扩展性,在单个NVIDIA Grace Hopper处理器上,三维流体动力学每秒可实现超过十亿次单元更新,并且在OLCF Frontier系统的65536个AMD GPU上具有80%的典型并行效率。这种性能可移植性使AthenaK能够利用现代百亿亿次计算系统,应对天体物理流体动力学、数值相对论和多信使天体物理学中的挑战性应用。
英文摘要:
We describe AthenaK: a new implementation of the Athena++ block-based adaptive mesh refinement (AMR) framework using the Kokkos programming model. Finite volume methods for Newtonian, special relativistic (SR), and general relativistic (GR) hydrodynamics and magnetohydrodynamics (MHD), and GR-radiation hydrodynamics and MHD, as well as a module for evolving Lagrangian tracer or charged test particles (e.g., cosmic rays) are implemented using the framework. In two companion papers we describe (1) a new solver for the Einstein equations based on the Z4c formalism and (2) a GRMHD solver in dynamical spacetimes also implemented using the framework, enabling new applications in numerical relativity. By adopting Kokkos, the code can be run on virtually any hardware, including CPUs, GPUs from multiple vendors, and emerging ARM processors. AthenaK shows excellent performance and weak scaling, achieving over one billion cell updates per second for hydrodynamics in three-dimensions on a single NVIDIA Grace Hopper processor and with a typical parallel efficiency of 80% on 65536 AMD GPUs on the OLCF Frontier system. Such performance portability enables AthenaK to leverage modern exascale computing systems for challenging applications in astrophysical fluid dynamics, numerical relativity, and multimessenger astrophysics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。