计算机科学与探索 ›› 2019, Vol. 13 ›› Issue (11): 1852-1863.DOI: 10.3778/j.issn.1673-9418.1811028

• 系统软件与软件工程 • 上一篇    下一篇

船舶三维声弹性模拟软件的并行优化策略

吕小敬,刘钊,蒋令闻,陈德训,杨广文   

  1. 1.国家超级计算无锡中心,江苏 无锡 214072
    2.中国船舶科学研究中心,江苏 无锡 214082
    3.国家并行计算机工程技术研究中心,江苏 无锡 214083
    4.清华大学,北京 100084
  • 出版日期:2019-11-01 发布日期:2019-11-07

Parallel Optimization Strategy for Three-Dimensional Sono-Elasticity of Ships

LV Xiaojing, LIU Zhao, JIANG Lingwen, CHEN Dexun, YANG Guangwen   

  1. 1.National Supercomputing Center in Wuxi, Wuxi, Jiangsu 214072, China
    2.China Ship Scientific Research Center, Wuxi, Jiangsu 214082, China
    3.National Research Center of Parallel Computer Engineering and Technology, Wuxi, Jiangsu 214083, China
    4.Tsinghua University,Beijing 100084, China
  • Online:2019-11-01 Published:2019-11-07

摘要: 三维声弹性理论及计算方法为海洋弹性浮体结构流固耦合振动声辐射与海洋声传播提供了理论基础,在海洋弹性浮体结构研究中具有很重要的影响。根据三维声弹性不同计算阶段计算密度特征,基于神威太湖之光超级计算系统,完成了三维声弹性应用软件(THAFTS-Acoustic)的多级并行和优化。优化技术包括循环分裂、循环合并、直接内存存取(DMA)、通信和计算的相互隐藏、基于神威太湖之光的向量化(SIMD)等方法。测试结果表明:三维声弹性多级异构并行具有较好的MPI扩展性能和众核并行加速效果,核心段加速可达18倍,64进程时程序整体相较原始程序并行程序加速5.5倍,可有效地发挥“神威·太湖之光”的强大计算能力,进一步支持THAFTS-Acoustic进行超大规模和更高精度的并行计算。

关键词: 三维声弹性, 神威太湖之光, 多级异构并行

Abstract: The three-dimensional sono-elasticity theory and the corresponding numerical methods lay the foundation for fluid-solid-acoustic coupling and sound propagation of the elastic floating structures in the ocean, which has a very important influence on the study of marine elastic floating body structures. According to the calculating density characteristics of multiple computational stages of three-dimensional acoustic-elasticity, the multi-level parallelism and optimization of three-dimensional acoustic elastic software (THAFTS-Acoustic) are completed based on Sunway TaihuLight system. The optimization methods include loop collapse, loop tile, direct memory access (DMA), over hiding of communication and computation, SIMD (single instruction multiple data) based on the SW26010 processor. The test results show that the multi-level heterogeneous parallel method for the three-dimensional sono-elasticity has better MPI expansion performance and multi-core parallel acceleration effect. The kernels can be speeded up to 18 times, and the 64-process running time of the program is 5.5 times faster than the original program, which can   effectively play the powerful computing capability of the Sunway TaihuLight system and further enable the ultra-large scale and higher precision parallel computing of THAFTS-Acoustic.

Key words: three-dimensional acoustic elasticity, Sunway TaihuLight, multi-level heterogeneous parallel