计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (2): 39-42.

• 研究、探讨 • 上一篇    下一篇

风暴潮数值模式的并行化

苗春葆,赵 鹏,沈 飙,刘永玲   

  1. 中国海洋大学 海洋环境学院,山东 青岛 266100
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2012-01-11 发布日期:2012-01-11

Parallelization of numerical storm surge model

MIAO Chunbao, ZHAO Peng, SHEN Biao, LIU Yongling   

  1. College of Physical and Environmental Oceanography, Ocean University of China, Qingdao, Shandong 266100, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2012-01-11 Published:2012-01-11

摘要: 实现了风暴潮数值模式基于MPI的并行化;根据该模式数值计算的特点提出了一种并行求解三对角方程组的新方法,相对于传统算法编程简单而且并行效率更高;负载平衡是并行程序性能优化首先要解决的问题,以水格点的个数作为任务分解的标准,实现了较好的负载平衡,相比水陆格点不作区分的分解方法性能有明显的提高;在SMP平台上使用8个CPU时加速比可以达到7.0,在集群平台上为6.5。

关键词: 并行, 风暴潮, 三对角方程组, 数值模式

Abstract: A numerical storm surge model is parallelized using Message Passing Interface(MPI). A new parallel algorithm for solving traditional linear equations with high efficiency and simplicity is introduced. Load balance should be primarily considered during optimization of a parallel program. The computation load is perfectly balanced by reasonable decomposition of simulated region according to the amount of water grids, and results in a significant performance enhancement. The acceleration rate on SMP platforms using 8 CPUs can reach to 7.0, and 6.5 on cluster platforms.

Key words: parallelization, storm surge, tridiagonal linear equation, numerical model