计算机科学与探索 ›› 2018, Vol. 12 ›› Issue (2): 252-262.DOI: 10.3778/j.issn.1673-9418.1611078

• 高性能计算 • 上一篇    下一篇

面向非结构网格应用并行程序的编程工具

景翠萍+,廖  丽,王  伟   

  1. 北京应用物理与计算数学研究所,北京 100094
  • 出版日期:2018-02-01 发布日期:2018-01-31

Programming Tool for Parallel Application with Unstructured Grids

JING Cuiping+, LIAO Li, WANG Wei   

  1. Institute of Applied Physics and Computational Mathematics, Beijing 100094, China
  • Online:2018-02-01 Published:2018-01-31

摘要: 面向高性能数值模拟,分析了基于并行应用编程框架快速研发并行数值模拟软件存在的挑战。在此基础上,以JAUMIN(J adaptive unstructured mesh application infrastructure)框架的应用为例,设计并实现了一种面向非结构网格数值模拟应用并行程序的图形化编程工具。该编程工具采用基于结构化流程图的图形化编程方式,屏蔽JAUMIN框架的编程接口,帮助用户在不学习编程框架的基础上快速开发基于编程框架的并行应用程序。实际应用表明,该工具可以显著提升并行应用软件的研发效率,降低用户编写并行数值模拟程序的难度。由于编程工具生成的代码规范统一,系统的维护效率也得以大幅度提高。

关键词: 数值模拟, 非结构网格, 并行计算, JAUMIN框架, 代码自动生成

Abstract: This paper analyzes the challenge of developing parallel numerical simulation software based on the programming framework, which is used for high-performance numerical simulation. Then, on the basis of this analysis, this paper designs and develops a graphical programming tool for parallel numerical simulation based on the JAUMIN (J adaptive unstructured mesh application infrastructure) framework. The graphical programming tool uses a programming scheme based on the structured flow chart, which can hide the programming interface of JAUMIN, and can help users without the experience of programming framework to develop parallel application software based on JAUMIN quickly. Results from practice application show that this tool can significantly improve the development efficiency of parallel application software and reduce the difficulty of programming. Meanwhile the code generated by the programming tool is standard and normal, which makes the software maintenance efficiency be enhanced.

Key words: numerical simulation, unstructured grids, parallel computing, JAUMIN, automatic code generation