arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1303.5275cs.DC
收藏

使用混合MPI/OpenMP优化实现PETSc的高效强扩展

Achieving Efficient Strong Scaling with PETSc using Hybrid MPI/OpenMP Optimisation

Michael Lange, Gerard Gorman, Michele Weiland, Lawrence Mitchell, James Southern

摘要:

在现代高性能平台中,处理元件数量的增加和存储器与核心比率的降低使得高效的强缩放成为数值算法的关键要求。为了在大规模并行系统上实现有效的可扩展性,科学软件必须在整个堆栈上发展,以利用现代体系结构中暴露的多级并行性。在本文中,我们演示了使用混合MPI/OpenMP并行优化并行稀疏矩阵向量乘法在PETSc,广泛使用的科学图书馆的可扩展的偏微分方程的解决方案。使用Fluidity生成的大矩阵,一个开源的CFD应用程序代码,使用PETSc作为其线性求解器引擎,我们使用基于任务的并行性显式通信重叠的效果进行评估,并展示如何进一步提高性能显式负载均衡线程在MPI进程。我们展示了显着的加速比纯MPI模式和有效的强大的缩放稀疏矩阵向量乘法富士通PRIMEHPC FX 10和Cray XE 6系统。

英文摘要:

The increasing number of processing elements and decreas- ing memory to core ratio in modern high-performance platforms makes efficient strong scaling a key requirement for numerical algorithms. In order to achieve efficient scalability on massively parallel systems scientific software must evolve across the entire stack to exploit the multiple levels of parallelism exposed in modern architectures. In this paper we demonstrate the use of hybrid MPI/OpenMP parallelisation to optimise parallel sparse matrix-vector multiplication in PETSc, a widely used scientific library for the scalable solution of partial differential equations. Using large matrices generated by Fluidity, an open source CFD application code which uses PETSc as its linear solver engine, we evaluate the effect of explicit communication overlap using task-based parallelism and show how to further improve performance by explicitly load balancing threads within MPI processes. We demonstrate a significant speedup over the pure-MPI mode and efficient strong scaling of sparse matrix-vector multiplication on Fujitsu PRIMEHPC FX10 and Cray XE6 systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑