arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.09629astro-ph.IMastro-ph.HEgr-qcphysics.comp-ph
收藏

GPU加速的亚循环时间积分与爱因斯坦工具箱

GPU-accelerated Subcycling Time Integration with the Einstein Toolkit

Liwei Ji, Roland Haas, Yosef Zlochower, Steven R Brandt, Erik Schnetter, Allen Wen

AI总结:

该研究在爱因斯坦工具箱的CarpetX驱动器中实现了时间亚循环算法,实现四阶收敛并优化幽灵点交换,在双黑洞模拟中验证了准确性,并在CPU和GPU集群上展示了性能提升。

摘要:

自适应网格细化(AMR)结合时间上的亚循环,使得不同网格层级能够使用各自的时间步长进行推进,确保较细网格采用较小步长以保证精度,而较粗网格采用较大步长以提高计算效率。我们介绍了在爱因斯坦工具箱框架内的CarpetX驱动器中实现的亚循环时间算法的开发、验证和性能分析。这种新方法显著改进了Carpet驱动器中先前的亚循环实现,实现了更高阶的收敛性——时间上为四阶而非二阶——并增强了扩展性能。关键创新在于优化了细化边界处幽灵点的交换,通过使用来自较粗层级的密集输出,将其限制在与进程间边界处相同的数量,从而相比Carpet中的实现(需要更多缓冲区域)减少了计算和通信开销。为了验证该算法,我们首先使用标量波测试展示了其四阶收敛性。然后,我们将该算法应用于双黑洞(BBH)模拟,确认了其在真实天体物理场景中的鲁棒性和准确性。结果与成熟的LazEv代码表现出极好的一致性。在CPU(Frontera)和GPU(Vista)集群上的扩展测试揭示了显著的性能提升,新实现相比基于Carpet的版本在速度和可扩展性方面均有改进。

英文摘要:

Adaptive Mesh Refinement (AMR) with subcycling in time enables different grid levels to advance using their own time steps, ensuring finer grids employ smaller steps for accuracy while coarser grids take larger steps to improve computational efficiency. We present the development, validation, and performance analysis of a subcycling in time algorithm implemented within the CarpetX driver in the Einstein Toolkit framework. This new approach significantly improves upon the previous subcycling implementation in the Carpet driver by achieving higher-order convergence -- fourth order in time instead of second order -- and enhanced scaling performance. The key innovation lies in optimizing the exchange of ghost points at refinement boundaries, limiting it to the same number as those at inter-process boundaries using dense output from coarser levels, thereby reducing computational and communication overhead compared to the implementation in Carpet, which required a larger number of buffer zones. To validate the algorithm, we first demonstrate its fourth-order convergence using a scalar wave test. We then apply the algorithm to binary black hole (BBH) simulations, confirming its robustness and accuracy in a realistic astrophysical scenario. The results show excellent agreement with the well-established LazEv code. Scaling tests on CPU (Frontera) and GPU (Vista) clusters reveal significant performance gains, with the new implementation achieving improved speed and scalability compared to the Carpet-based version.

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

↑