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

基于容器技术的水文水动力模型软硬件适配方法
引用本文:张海嘉,刘家宏,梅超,王佳,高希超.基于容器技术的水文水动力模型软硬件适配方法[J].计算机应用研究,2024,41(1):188-192+205.
作者姓名:张海嘉  刘家宏  梅超  王佳  高希超
作者单位:1. 北京工业大学城市建设学部;2. 中国水利水电科学研究院流域水循环模拟与调控国家重点实验室
基金项目:国家重点研发计划资助项目(2022YFC3090600);;国家自然科学基金资助项目(52192671);
摘    要:随着国产化软硬件系统的发展和普及,将现行的计算程序适配到国产硬件和操作系统上是科学研究和业务化应用的关键,亟待探索提出专业计算模型的软硬件适配方法。现有关于专业计算模型的软硬件适配方法存在缺乏通用性、硬件依赖性强等问题。鉴于此,系统解析了国产化适配需要解决的关键问题,并对比了现行的软件适配技术,筛选出容器技术作为水文水动力模型的国产适配技术。容器技术可将应用程序打包成独立的运行环境,摆脱对底层架构和操作系统的依赖。以水文水动力模型TELEMAC为例,详细说明了Docker镜像构成原理,并通过Dockerfile文件构建了TELEMAC镜像环境,开展了计算案例的验证。结果表明TELEMAC镜像能够安全运行在以鲲鹏920处理器为核心的openEuler和麒麟V10等国产软硬件平台上,且案例计算结果与标准结果相一致,模型计算效率高,实现了专业科学计算模型的国产化软硬件适配,该研究可为其他软件国产化适配提供参考借鉴。

关 键 词:水文水动力模型  国产化适配  TELEMAC软件  镜像环境  Docker技术
收稿时间:2023/5/25 0:00:00
修稿时间:2023/12/28 0:00:00

Software and hardware adaptation method of hydrodynamic model based on container technologies
Zhang Haiji,Liu Jiahong,Mei Chao,Wang Jia and Gao Xichao.Software and hardware adaptation method of hydrodynamic model based on container technologies[J].Application Research of Computers,2024,41(1):188-192+205.
Authors:Zhang Haiji  Liu Jiahong  Mei Chao  Wang Jia and Gao Xichao
Affiliation:Faculty of Architecture, Civil and Transportation Engineering, Beijing University of Technology,,,,
Abstract:With the development and popularity of advanced RISC machines(ARM), adapting the X86-based scientific computing software to ARM-based computing platforms is one of the key issues for scientific research and operational applications. It is urgent to explore the software-hardware-adaptation methods of advanced RISC machines for professional computational models. This paper systematically analysed the key points for software hardware adaptation of ARM. By comparing the existing software adaptation technologies, it selected container technology to enable the hydrodynamic model to run on ARM-based computing platforms. Container technology could package the application software and its dependencies into a portable container, which made the suggested software run freely without any dependency on the underlying architecture and operating system. Taking the hydrological hydrodynamic model, TELEMAC, as an example, it explained the principle of Docker image composition in detail, and built the TELEMAC image environment through Dockerfile. The method was verified by carrying out the computational cases. The results show that the TELEMAC image can run safely on the Kunpeng 920 processor-based openEuler and Kirin V10. The case calculation results are consistent with the standard results, and the model calculation efficiency is high. The proposed method realized the adaptation from an X86-based platform to ARM-based computing platforms for professional scientific computing models. This study can also provide a reference for the localization adaptation of other software.
Keywords:hydrodynamic model  local adaptation  TELEMAC software  mirror environment  Docker technology
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号