4.7 Article

MagIC v5.10: a two-dimensional message-passing interface (MPI) distribution for pseudo-spectral magnetohydrodynamics simulations in spherical geometry

期刊

GEOSCIENTIFIC MODEL DEVELOPMENT
卷 14, 期 12, 页码 7477-7495

出版社

COPERNICUS GESELLSCHAFT MBH
DOI: 10.5194/gmd-14-7477-2021

关键词

-

向作者/读者索取更多资源

The article discusses two parallelization schemes for the MagIC code, an open-source, high-performance pseudo-spectral code for solving magnetohydrodynamics equations. The first scheme uses MPI and OpenMP, while the second scheme involves a new two-dimensional MPI decomposition implementation. The authors also highlight algorithmic optimizations and data distribution layouts, indicating that the two-dimensional distribution configuration may be more efficient than the one-dimensional distribution.
We discuss two parallelization schemes for MagIC, an open-source, high-performance, pseudo-spectral code for the numerical solution of the magnetohydrodynamics equations in a rotating spherical shell. MagIC calculates the non-linear terms on a numerical grid in spherical coordinates, while the time step updates are performed on radial grid points with a spherical harmonic representation of the lateral directions. Several transforms are required to switch between the different representations. The established hybrid parallelization of MagIC uses message-passing interface (MPI) distribution in radius and relies on existing fast spherical transforms using OpenMP. Our new two-dimensional MPI decomposition implementation also distributes the latitudes or the azimuthal wavenumbers across the available MPI tasks and compute cores. We discuss several non-trivial algorithmic optimizations and the different data distribution layouts employed by our scheme. In particular, the two-dimensional distribution data layout yields a code that strongly scales well beyond the limit of the current one-dimensional distribution. We also show that the two-dimensional distribution implementation, although not yet fully optimized, can already be faster than the existing finely optimized hybrid parallelization when using many thousands of CPU cores. Our analysis indicates that the two-dimensional distribution variant can be further optimized to also surpass the performance of the one-dimensional distribution for a few thousand cores.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.7
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据