基于容器技术的水文水动力模型软硬件适配方法  被引量:1

Software and hardware adaptation method of hydrodynamic model based on container technologies

在线阅读下载全文

作  者:张海嘉 刘家宏 梅超[2,3] 王佳[2,3] 高希超 Zhang Haijia;Liu Jiahong;Mei Chao;Wang Jia;Gao Xichao(Faculty of Architecture,Civil&Transportation Engineering,Beijing University of Technology,Beijing 100124,China;State Key Laboratory of Simulation&Regulation of Water Cycle in River Basin,China Institute of Water Resources&Hydropower Research,Beijing 100038,China;Key Laboratory of River Basin Digital Twinning of Ministry of Water Resources,Beijing 100038,China)

机构地区:[1]北京工业大学城市建设学部,北京100124 [2]中国水利水电科学研究院流域水循环模拟与调控国家重点实验室,北京100038 [3]水利部数字孪生流域重点实验室,北京100038

出  处:《计算机应用研究》2024年第1期188-192,205,共6页Application Research of Computers

基  金:国家重点研发计划资助项目(2022YFC3090600);国家自然科学基金资助项目(52192671)。

摘  要:随着国产化软硬件系统的发展和普及,将现行的计算程序适配到国产硬件和操作系统上是科学研究和业务化应用的关键,亟待探索提出专业计算模型的软硬件适配方法。现有关于专业计算模型的软硬件适配方法存在缺乏通用性、硬件依赖性强等问题。鉴于此,系统解析了国产化适配需要解决的关键问题,并对比了现行的软件适配技术,筛选出容器技术作为水文水动力模型的国产适配技术。容器技术可将应用程序打包成独立的运行环境,摆脱对底层架构和操作系统的依赖。以水文水动力模型TELEMAC为例,详细说明了Docker镜像构成原理,并通过Dockerfile文件构建了TELEMAC镜像环境,开展了计算案例的验证。结果表明TELEMAC镜像能够安全运行在以鲲鹏920处理器为核心的openEuler和麒麟V10等国产软硬件平台上,且案例计算结果与标准结果相一致,模型计算效率高,实现了专业科学计算模型的国产化软硬件适配,该研究可为其他软件国产化适配提供参考借鉴。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 realizes 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.

关 键 词:水文水动力模型 国产化适配 TELEMAC软件 镜像环境 Docker技术 

分 类 号:TV122[水利工程—水文学及水资源]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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