首页 | 官方网站   微博 | 高级检索  
     

海洋环流模式NEMO的代码现代化
引用本文:周生昌,刘卫国,宋振亚,杨晓丹. 海洋环流模式NEMO的代码现代化[J]. 海洋科学进展, 2021, 39(1): 62-72
作者姓名:周生昌  刘卫国  宋振亚  杨晓丹
作者单位:山东大学 软件学院,山东 济南 250101;自然资源部 第一海洋研究所,山东 青岛 266061;山东大学 软件学院,山东 济南 250101;青岛海洋科学与技术试点国家实验室 区域海洋动力学与数值模拟功能实验室,山东 青岛 266237;自然资源部 第一海洋研究所,山东 青岛 266061;青岛海洋科学与技术试点国家实验室 区域海洋动力学与数值模拟功能实验室,山东 青岛 266237;海洋环境科学和数值模拟自然资源部重点实验室,山东 青岛 266061;自然资源部 第一海洋研究所,山东 青岛 266061;青岛海洋科学与技术试点国家实验室 区域海洋动力学与数值模拟功能实验室,山东 青岛 266237
基金项目:国家自然科学基金项目——海量数据驱动下的高分辨率海洋数值模式关键算法研究(U1806206)和新型海洋与气候模式的发展(41821004);自然资源部基本科研业务费专项资金项目——ENSO,PDO和AMO的非线性调制机理研究(GY0219Q08)
摘    要:海洋数值模式是精准海洋环境预报的核心手段.随着计算分辨率的不断提高,海洋数值模式对计算性能的要求也越来越高.为了提高模式计算性能,充分发挥现代计算机的特点,选取海洋环流模式NEMO开展了代码现代化优化方案在海洋环流模式中的应用研究.首先使用Intel性能分析工具对模式的计算性能进行了分析;随后,针对热点函数,开展了编译...

关 键 词:代码现代化  海洋环流模式  NEMO  Intel性能分析工具  SIMD

Code Modernization Optimization of Ocean General Circulation Model NEMO
ZHOU Sheng-chang,LIU Wei-guo,SONG Zhen-y,YANG Xiao-dan. Code Modernization Optimization of Ocean General Circulation Model NEMO[J]. Advances in Marine Science, 2021, 39(1): 62-72
Authors:ZHOU Sheng-chang  LIU Wei-guo  SONG Zhen-y  YANG Xiao-dan
Affiliation:1.School of Software, Shandong University, Jinan 250101, China;2.First Institute of Oceanography, Ministry of Natural Resources, Qingdao 266061, China;3.Laboratory for Regional Oceanography and Numerical Modeling, Qingdao Pilot National Laboratory for Marine Science and Technology, Qingdao 266237, China;4.Key Laboratory of Marine Science and Numerical Modeling, Ministry of Natural Resources, Qingdao 266061, China
Abstract:The ocean general circulation model(OGCM)is the key tool for ocean environment simulation and forecast.With the ocean resolution finer,the demand for improving computational performance is more and more urgent.To improve the calculation performance of OGCM by taking full advantage of modern computers,a code modernization optimization scheme is carried out in this paper using an OGCN named NEMO as an example.The Intel performance analysis tool is used to evaluate the computing performance of the model at first.Then,several optimization steps,which are compiler options,serial and scalar optimization,SIMD,memory bandwidth optimization and extending to multi-cores,are applied to hotspot functions.After optimization,the model s overall performance can be improved by 31%without increasing any hardware cost and load balance have a good performance in multi-process.The results indicate that the optimization strategy used in this study is very effective and useful.Furthermore,the problems that significantly affect the computational efficiency in the model,such as the heavy use of pointers that can prevent vectorization,multiple loop nesting,high memory bandwidth usage,are discussed in this paper,to provide reference and suggestion for the OGCM in the future design and improvement.
Keywords:code modernization   Ocean General Circulation Model   NEMO   intel performance   analysis tools   SIMD
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《海洋科学进展》浏览原始摘要信息
点击此处可从《海洋科学进展》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号