AMR中混合MPI/OpenMP/GPU离散的方向无分裂水动力格式
Directionally Unsplit Hydrodynamic Schemes with Hybrid MPI/OpenMP/GPU Parallelization in AMR
摘要:
本文提出了一类基于方向不可分裂黎曼解算器的流体动力学格式在图形处理器上的实现和性能。这些计划,包括MUSCL-Hancock方法,一个变种的MUSCL-Hancock方法,和角运输迎风方法,被嵌入到自适应网格细化(AMR)代码GAMER。在此基础上,提出了一种混合MPI/OpenMP模型,该模型能够充分利用异构CPU/GPU集群的计算能力,显著提高了系统的整体性能。性能基准测试在NERSC/LBNL的Dirac GPU集群上进行,使用多达32个Tesla C2050 GPU。与使用一个(四个)CPU内核的性能相比,单个GPU分别实现了101(25)和84(22)的均匀网格和AMR模拟加速,并且在多GPU测试中保持了出色的性能。此外,我们在绝热流体动力学测试中直接比较了GAMER和广泛采用的CPU代码Athena(Stone et al. 2008),并证明,在相同的精度下,GAMER能够实现两个数量级的性能加速。
英文摘要:
We present the implementation and performance of a class of directionally unsplit Riemann-solver-based hydrodynamic schemes on Graphic Processing Units (GPU). These schemes, including the MUSCL-Hancock method, a variant of the MUSCL-Hancock method, and the corner-transport-upwind method, are embedded into the adaptive-mesh-refinement (AMR) code GAMER. Furthermore, a hybrid MPI/OpenMP model is investigated, which enables the full exploitation of the computing power in a heterogeneous CPU/GPU cluster and significantly improves the overall performance. Performance benchmarks are conducted on the Dirac GPU cluster at NERSC/LBNL using up to 32 Tesla C2050 GPUs. A single GPU achieves speed-ups of 101(25) and 84(22) for uniform-mesh and AMR simulations, respectively, as compared with the performance using one(four) CPU core(s), and the excellent performance persists in multi-GPU tests. In addition, we make a direct comparison between GAMER and the widely-adopted CPU code Athena (Stone et al. 2008) in adiabatic hydrodynamic tests and demonstrate that, with the same accuracy, GAMER is able to achieve two orders of magnitude performance speed-up.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。