CAS-ESM耦合接口技术研究  

Research of CAS-ESM Coupler Interface

在线阅读下载全文

作  者:陈怡然[1,2,3] 姜金荣[1,2] 赵晓溪[1,2,3] 王玉柱[4] 郝卉群 CHEN Yiran;JIANG Jinrong;ZHAO Xiaoxi;WANG Yuzhu;HAO Huiqun(Supercomputing Center, Computer Network Information Center, Chinese Academy of Sciences, Beijing 100190, China;Center of Scientific Computing Applications & Research, Chinese Academy of Sciences, Beijing 100190, China;University of Chinese Academy of Sciences, Beijing 100049, China;Institute of Remote Sensing and Digital Earth, Chinese Academy of Sciences, Beijing 100094, China)

机构地区:[1]中国科学院计算机网络信息中心超级计算中心,北京100190 [2]中国科学院计算科学应用研究中心,北京100190 [3]中国科学院大学,北京100049 [4]中国科学院遥感与数字地球研究所,北京100094

出  处:《计算机科学与探索》2017年第2期242-251,共10页Journal of Frontiers of Computer Science and Technology

基  金:中科院重点部署项目No.KJZD-EW-TZ-G09~~

摘  要:耦合器是地球系统模式(earth system model,ESM)的重要组成部分,用于连接各个分量模式。针对地球系统模式中的耦合接口进行编程操作,使得分量模式的代码从耦合系统中分离出来,从而使得模式专家只需要了解耦合接口而不再需要了解耦合器的复杂内部实现。为此提出了两种耦合接口技术:一是耦合接口代码复用技术,将各个分量模式形式相似的代码段复用为统一的接口;二是耦合接口代码自动生成技术,根据统一的模板文件,模式专家只需要在配置文件中提供相应的变量信息,便可通过模板文件自动生成分量模式的代码。基于以上工作,将改写耦合接口后的地球系统模式部署到中科院超级计算机"元"上,结果表明经过代码复用及自动生成后的耦合接口与原来代码模拟结果一致。Coupler is an important part of the earth system model(ESM).It connects various component models.Based on the CPL coupler interface,this paper separates the component models codes from the system model,in orderto achieve the goal to read coupler interface only rather than understand the complex internal coupler of the system forcomponent models exports.Then this paper studies two ways to code with coupler interface:reusing the duplicatecodes to get unification codes and automated generation codes.Firstly,repetitive codes of different component modelsfrom coupler interface are reused to unify.Secondly,codes will be automatically generated after filling up the correspondingcontents of variables on the configuration files by component models exports.Those variables will replacespecial variables from template files and loop traversal.Those contents can be inserted into the final codes to finish automatedgeneration codes.Furthermore,the ESM with coupler interface which adds coding reuse and automated generation is deployed to Chinese Academy of Sciences(CAS)super computer,ERA.The results of coupler with the twotechniques are consistent with the original simulation one.

关 键 词:地球系统模式(ESM) 耦合器 代码复用 自动生成 

分 类 号:TP338.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象