arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05240astro-ph.GAastro-ph.IM
收藏

Cholla-MHD:面向Cholla天体物理模拟代码的百亿亿次计算能力磁流体力学扩展

Cholla-MHD: An Exascale-Capable Magnetohydrodynamic Extension to the Cholla Astrophysical Simulation Code

Robert V. Caddy, Evan E. Schneider

AI总结:

本文提出Cholla的MHD扩展模块,利用GPU并行和Constrained Transport方法在Frontier超算上实现7.2万亿单元规模的理想磁流体力学模拟,并验证了高精度与零磁散度保持。

摘要:

我们提出了对大规模并行、GPU原生的天体物理流体力学代码Cholla的磁流体力学(MHD)扩展。Cholla在静态笛卡尔网格上以欧拉形式求解理想MHD方程,采用Van Leer + Constrained Transport积分器、HLLD黎曼求解器以及二阶和三阶重构方法。Cholla的MHD模块在使用HLLD黎曼求解器和二阶重构时,在NVIDIA A100上可实现每GPU秒约2.6亿个单元更新。GPU固有的并行特性结合新硬件中增加的显存,使Cholla的MHD模块能够在单个高端GPU(例如具有80GB显存的NVIDIA A100)上执行分辨率约为500^3个单元的模拟。我们采用GPU direct MPI在百亿亿次超级计算机Frontier上获得了优异的弱扩展性能,同时使用74,088个GPU并模拟总网格规模超过7.2万亿个单元。一系列测试问题凸显了Cholla MHD模块的准确性,并证明解中的零磁散度被保持到舍入误差水平。我们还提出了使用GoogleTest、GitHub Actions和Jenkins的新测试与持续集成工具,这些工具使开发更加稳健和准确,并确保未来的可靠性。

英文摘要:

We present an extension of the massively parallel, GPU native, astrophysical hydrodynamics code Cholla to magnetohydrodynamics (MHD). Cholla solves the ideal MHD equations in their Eulerian form on a static Cartesian mesh utilizing the Van Leer + Constrained Transport integrator, the HLLD Riemann solver, and reconstruction methods at second and third order. Cholla's MHD module can perform $\approx260$ million cell updates per GPU-second on an NVIDIA A100 while using the HLLD Riemann solver and second order reconstruction. The inherently parallel nature of GPUs combined with increased memory in new hardware allows Cholla's MHD module to perform simulations with resolutions $\sim500^3$ cells on a single high end GPU (e.g. an NVIDIA A100 with 80GB of memory). We employ GPU direct MPI to attain excellent weak scaling on the exascale supercomputer \textit{Frontier}, while using 74,088 GPUs and simulating a total grid size of over 7.2 trillion cells. A suite of test problems highlights the accuracy of Cholla's MHD module and demonstrates that zero magnetic divergence in solutions is maintained to round off error. We also present new testing and continuous integration tools using GoogleTest, GitHub Actions, and Jenkins that have made development more robust and accurate and ensure reliability in the future.

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

↑