BHAC混合并行优化
Optimizing the hybrid parallelization of BHAC
摘要:
我们提出了我们的经验与现代化的GR-MHD代码BHAC,旨在改善其新的混合(MPI+OpenMP)并行化方案。在此过程中,我们展示了在x86(基于Intel)架构上可用的性能分析工具的使用。我们的性能表征和线程分析提供了指导,提高并发性,从而提高了OpenMP并行区域的效率。我们评估扩展和通信模式,以确定和减轻MPI瓶颈,运行时开关和精确的代码干预。通过$\sim28\%$改进了BHAC的优化版本,使其能够在数百个超级计算机节点上扩展。最后,我们通过在ARM A64 FX向量节点上运行,测试将此类优化移植到不同硬件是否同样有益于新架构。
英文摘要:
We present our experience with the modernization on the GR-MHD code BHAC, aimed at improving its novel hybrid (MPI+OpenMP) parallelization scheme. In doing so, we showcase the use of performance profiling tools usable on x86 (Intel-based) architectures. Our performance characterization and threading analysis provided guidance in improving the concurrency and thus the efficiency of the OpenMP parallel regions. We assess scaling and communication patterns in order to identify and alleviate MPI bottlenecks, with both runtime switches and precise code interventions. The performance of optimized version of BHAC improved by $\sim28\%$, making it viable for scaling on several hundreds of supercomputer nodes. We finally test whether porting such optimizations to different hardware is likewise beneficial on the new architecture by running on ARM A64FX vector nodes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。