期刊文献+

MASNUM海浪模式的代码现代化优化 被引量:4

Code Modernization Optimization of MASNUM Wave Model
下载PDF
导出
摘要 海洋数值模式当前已经成为海洋研究和预测的核心工具,其高分辨率。多物理过程的发展趋势对数值模式计算速度也提出了越来越高的要求。为了使得海洋数值模式更好的适应计算机基础架构,充分发挥现代化计算机体系的计算特点,提高计算效率,本文提出了一种简单易行且有效的代码现代化优化方案,并以MASNUM海浪模式为例进行了测试。首先利用诊断工具Intel Vtune Amplifier XE和Intel Trace Analyzer Collector,对模式的性能和负载均衡性进行了分析;之后,针对热点函数,在单节点上制定了4个优化步骤,包括编译器选项优化,串行和标量优化,向量化和OpenMP并行优化。结果表明,经过优化后,单节点内模式的计算速度可以提高1.95倍,多节点的模式强扩展性呈线性。这表明本文提出的代码现代化方案是一种行之有效的优化方法。 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.
出处 《海洋科学进展》 CAS CSCD 北大核心 2017年第4期473-482,共10页 Advances in Marine Science
基金 国家重点研发计划--大规模多模式多过程地球系统模式耦合平台研发(2016YFA0602200) 中央级公益性科研院所基本科研业务费专项--束星北青年学者基金(2016S03) 青岛海洋科学与技术国家实验室鳌山人才计划--优秀青年学者专项 国家自然科学基金委员会-山东省人民政府联合资助海洋科学研究中心项目--海洋环境动力学和数值模拟(U1406404) 全球变化与海气相互作用专项--海洋动力系统可预报性研究(GASI-IPOVAI-06)
关键词 Intel分析工具 代码现代化优化 海洋数值模式 海浪模式 高性能计算 Intel analysis tools code optimization oceanic numerical model surface wave model high performance computation
  • 相关文献

参考文献9

二级参考文献50

共引文献110

同被引文献64

引证文献4

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部