English

Optimizing the hybrid parallelization of BHAC

Distributed, Parallel, and Cluster Computing 2021-08-30 v1 Instrumentation and Methods for Astrophysics

Abstract

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 28%\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.

Keywords

Cite

@article{arxiv.2108.12240,
  title  = {Optimizing the hybrid parallelization of BHAC},
  author = {Salvatore Cielo and Oliver Porth and Luigi Iapichino and Anupam Karmakar and Hector Olivares and Chun Xia},
  journal= {arXiv preprint arXiv:2108.12240},
  year   = {2021}
}

Comments

10 pages, 9 figures, 1 table; in review

R2 v1 2026-06-24T05:28:06.593Z