使用AthenaK实现性能可移植的双中子星并合模拟
Performance-Portable Binary Neutron Star Mergers with AthenaK
AI总结:
本研究扩展了AthenaK代码以支持动态时空GRMHD模拟,通过多项测试验证了准确性,首次实现GPU上的双中子星并合模拟,且在Frontier超算上展现出优异的GPU扩展性与加速性能。
摘要:
我们介绍了AthenaK代码的一个扩展模块,该模块采用3+1守恒欧拉公式,可用于动态时空下的广义相对论磁流体动力学(GRMHD)模拟。与固定时空GRMHD求解器类似,我们使用标准有限体积方法演化流体,并采用约束输运方案保持磁场的无散约束。我们还利用一阶通量校正(FOFC)方案减少对人工大气的需求,并可选择强制执行最大值原理以提升鲁棒性。\n我们通过平直和弯曲时空下的一组标准测试验证了AthenaK的准确性。利用克尔黑洞周围的SANE吸积盘,我们将新求解器与采用所谓“类HARM”公式的现有固定时空求解器进行了对比,发现两种公式的收敛结果相近。\n我们还首次发表了在图形处理单元(GPU)上完成的双中子星(BNS)并合模拟。得益于FOFC方案,我们的BNS并合模拟在坍缩前的重子质量守恒相对误差保持在$\u003cmath\u003e\u003cmi\u003eO\u003c/mi\u003e\u003cmrow\u003e\u003cmo\u003e(\u003c/mo\u003e\u003cmsup\u003e\u003cmn\u003e10\u003c/mn\u003e\u003cmrow\u003e\u003cmo\u003e−\u003c/mo\u003e\u003cmn\u003e11\u003c/mn\u003e\u003c/mrow\u003e\u003c/msup\u003e\u003cmo\u003e)\u003c/mo\u003e\u003c/mrow\u003e\u003c/math\u003e$或更优水平。最后,我们在OLCF Frontier超级计算机上开展了AthenaK的扩展性测试,结果显示,对于含6层网格细化的动态时空GRMHD问题,程序在32768块GPU下的弱并行效率≥80%,在65536块GPU下仍达74%,表现优异。AthenaK使用GPU相比CPU实现了一个数量级的加速,证明其适用于在现代百亿亿次计算资源上开展数值相对论问题研究。
英文摘要:
We introduce an extension to the AthenaK code for general-relativistic magnetohydrodynamics (GRMHD) in dynamical spacetimes using a 3+1 conservative Eulerian formulation. Like the fixed-spacetime GRMHD solver, we use standard finite-volume methods to evolve the fluid and a constrained transport scheme to preserve the divergence-free constraint for the magnetic field. We also utilize a first-order flux correction (FOFC) scheme to reduce the need for an artificial atmosphere and optionally enforce a maximum principle to improve robustness. We demonstrate the accuracy of AthenaK using a set of standard tests in flat and curved spacetimes. Using a SANE accretion disk around a Kerr black hole, we compare the new solver to the existing solver for stationary spacetimes using the so-called "HARM-like" formulation. We find that both formulations converge to similar results. We also include the first published binary neutron star (BNS) mergers performed on graphical processing units (GPUs). Thanks to the FOFC scheme, our BNS mergers maintain a relative error of $\mathcal{O}(10^{-11})$ or better in baryon mass conservation up to collapse. Finally, we perform scaling tests of AthenaK on OLCF Frontier, where we show excellent weak scaling of $\geq 80\%$ efficiency up to 32768 GPUs and $74\%$ up to 65536 GPUs for a GRMHD problem in dynamical spacetimes with six levels of mesh refinement. AthenaK achieves an order-of-magnitude speedup using GPUs compared to CPUs, demonstrating that it is suitable for performing numerical relativity problems on modern exascale resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。