海洋声学抛物方程求解器在现代众核计算机上的性能优化与并行化
Performance Optimization and Parallelization of a Parabolic Equation Solver in Computational Ocean Acoustics on Modern Many-core Computer
摘要:
FOR3D作为计算海洋声学中广泛使用的开源程序之一,可以提供很好的水声传播估计。在本文中,我们提出了一个性能优化和并行化,以加快FOR3D的运行。我们采用了多种方法来提高整体性能,如使用多线程编程模型来开发高性能计算(HPC)系统的众核节点的潜在能力,调整编译选项,使用高效的调优数学库和使用向量化优化指令。此外,在主流HPC平台上,采用OpenMP+MPI混合编程技术,成功地将单频计算扩展到多频计算。在天河二号超级计算机上对一个典型的三维中型算例进行了详细的性能评估,结果表明该并行化方法获得了25.77倍的加速效果。调优后的并行版本具有较弱的可扩展性。该方法可以大大提高水下声场的计算速度。该方法不仅适用于计算海洋声学中的其他类似计算模型,而且对现代众核计算平台上的科学和工程应用的性能提升具有指导意义。
英文摘要:
As one of open-source codes widely used in computational ocean acoustics, FOR3D can provide a very good estimate for underwater acoustic propagation. In this paper, we propose a performance optimization and parallelization to speed up the running of FOR3D. We utilized a variety of methods to enhance the entire performance, such as using a multi-threaded programming model to exploit the potential capability of the many-core node of high-performance computing (HPC) system, tuning compile options, using efficient tuned mathematical library and utilizing vectorization optimization instruction. In addition, we extended the application from single-frequency calculation to multi-frequency calculation successfully by using OpenMP+MPI hybrid programming techniques on the mainstream HPC platform. A detailed performance evaluation was performed and the results showed that the proposed parallelization obtained good accelerated effect of 25.77X when testing a typical three-dimensional medium-sized case on Tianhe-2 supercomputer. It also showed that the tuned parallel version has a weak-scalability. The speed of calculation of underwater sound field can be greatly improved by the strategy mentioned in this paper. The method used in this paper is not only applicable to other similar computing models in computational ocean acoustics but also a guideline of performance enhancement for scientific and engineering application running on modern many-core-computing platform.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。