OpenGadget3 GPU求解器测试
OpenGadget3 GPU solver tests
AI总结:
评估GPU移植N体代码在宇宙学流体动力学模拟中的可扩展性和准确性,测试显示GPU实现与CPU版本结果高度一致,芯片间加速比约为2-5倍。
摘要:
我们深入评估了用于宇宙学流体动力学模拟的N体代码\og的GPU移植的可扩展性和准确性。虽然我们的GPU移植技术细节已在Ragagnin等人(2020)中介绍,但本工作重点评估移植模块的准确性:短程重力积分器、流体动力学求解器的不同组件以及热传导的共轭梯度求解器。我们运行了多个测试,逐步增加包含的物理模块数量:仅重力宇宙学模拟;流体动力学激波管测试;宇宙学盒子中星系团的无辐射放大模拟;以及宇宙学盒子中星系的完整物理放大模拟。将GPU实现的结果与经典CPU版本的结果进行比较,我们发现所有测试结果高度一致,仅在非常小的尺度上存在微小差异。对于单个物理模块,我们发现芯片间加速比约为$\approx3-5$。对于更复杂的宇宙学和流体动力学设置,其中大量物理过程和开销贡献于总工作量,观察到的总芯片间加速比(节点数和每节点CPU数相同)约为$\approx2-3$。我们在四台不同的超级计算机上运行了测试:Leonardo Booster (CINECA)、MareNostrum-V (BSC)、SuperMUC-NG2 (LRZ)以及路德维希-马克西米利安-慕尼黑大学(LMU)物理学院的CIP集群。
英文摘要:
We present an in-depth evaluation of the scalability and accuracy of the GPU porting of the N-body code for hydrodynamic cosmological simulations \og. While technical details of our GPU porting were presented in Ragagnin et al. (2020), in this work we focus on assessing the accuracy of the ported modules: the short range gravity integrator, the different components of the hydrodynamic solver, and the conjugate gradient solver for thermal conduction. We ran several tests that gradually increase the number of physical modules included: a gravity-only cosmological simulation; a hydrodynamical shock tube test; a non-radiative zoom-in simulation of a galaxy cluster in a cosmological box; and a full-physics zoom-in simulation of a galaxy in a cosmological box. Comparing the results obtained with the GPU implementation to those from the classical CPU version, we find excellent agreement across all tests, with small differences on very small scales. For the individual physical modules, we find a GPU chip-to-chip speedup ranging from $\approx3-5$. For more complex cosmological and hydrodynamical setups, where a large number of physical processes and overheads contribute to the total workload, the observed total chip-to-chip speedup (with the same number of nodes and CPUs per node) is $\approx2-3$. We ran our tests on four different supercomputers: Leonardo Booster (CINECA), MareNostrum-V (BSC), SuperMUC-NG2 (LRZ), and the CIP cluster of the Faculty of Physics at the Ludwig-Maximilians-Universität (LMU).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。