节点文献

MASNUM海浪模式的代码现代化优化

Code Modernization Optimization of MASNUM Wave Model

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 杨晓丹宋振亚周姗刘海行尹训强

【Author】 YANG Xiao-dan;SONG Zhen-ya;ZHOU Shan;LIU Hai-xing;YIN Xun-qiang;College of Oceanic and Atmospheric Sciences,Ocean University of China;Laboratory for Regional Oceanography and Numerical Modeling,Qingdao National Laboratory for Marine Science and Technology;The First Institute of Oceanography,SOA;Asia-Pacific Research & Development Ltd;

【机构】 中国海洋大学海洋与大气学院青岛海洋科学与技术国家实验室区域海洋动力学与数值模拟功能实验室国家海洋局第一海洋研究所英特尔亚太研发有限公司

【摘要】 海洋数值模式当前已经成为海洋研究和预测的核心工具,其高分辨率。多物理过程的发展趋势对数值模式计算速度也提出了越来越高的要求。为了使得海洋数值模式更好的适应计算机基础架构,充分发挥现代化计算机体系的计算特点,提高计算效率,本文提出了一种简单易行且有效的代码现代化优化方案,并以MASNUM海浪模式为例进行了测试。首先利用诊断工具Intel Vtune Amplifier XE和Intel Trace Analyzer Collector,对模式的性能和负载均衡性进行了分析;之后,针对热点函数,在单节点上制定了4个优化步骤,包括编译器选项优化,串行和标量优化,向量化和OpenMP并行优化。结果表明,经过优化后,单节点内模式的计算速度可以提高1.95倍,多节点的模式强扩展性呈线性。这表明本文提出的代码现代化方案是一种行之有效的优化方法。

【Abstract】 Numerical model has become one of key tools for ocean research and prediction,and the demand for increasing the computational efficiency is now necessary and urgent.In order to make full use of the modern computer architecture and improve ocean model′s computational efficiency,a code optimization scheme,which is demonstrated by using MASNUM wave model as an example,was proposed in this paper.Firstly,Intel Vtune Amplifier XE and Intel Trace Analyzer Collector were used to evaluate the performance and load balancing of the MASNUM wave model.Then four steps of optimization,which are compiler options,serial and scalar optimization,vectorization,and MPI/OpenMP parallelization,are designed for hotspot function located by Intel Vtune Amplifier XE.The result shows that after optimization,the computational speed can be improved up to 1.95 times in a single node,and strong-scalability of the model is almost linear when computation is extended to multi nodes,suggesting that our code optimization is very effective.

【基金】 国家重点研发计划——大规模多模式多过程地球系统模式耦合平台研发(2016YFA0602200);中央级公益性科研院所基本科研业务费专项——束星北青年学者基金(2016S03);青岛海洋科学与技术国家实验室鳌山人才计划——优秀青年学者专项;国家自然科学基金委员会-山东省人民政府联合资助海洋科学研究中心项目——海洋环境动力学和数值模拟(U1406404);全球变化与海气相互作用专项——海洋动力系统可预报性研究(GASI-IPOVAI-06)
  • 【文献出处】 海洋科学进展 ,Advances in Marine Science , 编辑部邮箱 ,2017年04期
  • 【分类号】P731.2
  • 【被引频次】5
  • 【下载频次】130
节点文献中: 

本文链接的文献网络图示:

本文的引文网络