arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.04900cs.DC
收藏

面向科学的图:从基于API的编程到面向HPC的基于图引擎的编程

Graph for Science: From API based Programming to Graph Engine based Programming for HPC

Yu Zhang, Zixiao Wang, Jin Zhao, Yuluo Guo, Hui Yu, Zhiying Huang, Xuanhua Shi, Xiaofei Liao

AI总结:

本文提出Graph for Science范式,将矩阵计算转化为图表示,利用图处理引擎提供统一编程接口,使领域专家无需HPC专业知识即可高效实现大规模科学计算,性能与现有最佳实现相当。

摘要:

现代科学应用主要运行在大规模计算平台上,这需要科学领域专家与高性能计算(HPC)专家之间的协作。领域专家通常擅长定制领域特定的科学计算例程,这些例程往往涉及各种矩阵计算,而HPC专家对于在大规模平台上高效执行这些计算至关重要。这一过程通常涉及利用针对特定矩阵计算场景量身定制的复杂并行计算库。然而,复杂的编程过程以及对应用领域和HPC的深入理解需求,对科学计算的广泛采用构成了重大挑战。在本研究中,我们观察到矩阵计算可以转换为等价的图表示,并且通过利用图处理引擎,HPC专家可以从实现高效科学计算的负担中解脱出来。基于这一观察,我们引入了一种基于图引擎的科学计算(Graph for Science)范式,该范式提供了统一的图编程接口,使领域专家能够快速实现各种类型的矩阵计算。所提出的范式利用底层图处理引擎来实现高效执行,消除了在大规模科学应用编程中对HPC专业知识的需求。我们的结果表明,基于图引擎的科学计算范式实现了与基于现有并行计算库和定制实现的最佳性能实现相当的性能。重要的是,该范式极大地简化了大规模平台上科学计算的开发,降低了科学家的编程难度,并促进了科学计算的更广泛采用。

英文摘要:

Modern scientific applications predominantly run on large-scale computing platforms, necessitating collaboration between scientific domain experts and high-performance computing (HPC) experts. While domain experts are often skilled in customizing domain-specific scientific computing routines, which often involves various matrix computations, HPC experts are essential for achieving efficient execution of these computations on large-scale platforms. This process often involves utilizing complex parallel computing libraries tailored to specific matrix computation scenarios. However, the intricate programming procedure and the need for deep understanding in both application domains and HPC poses significant challenges to the widespread adoption of scientific computing. In this research, we observe that matrix computations can be transformed into equivalent graph representations, and that by utilizing graph processing engines, HPC experts can be freed from the burden of implementing efficient scientific computations. Based on this observation, we introduce a graph engine-based scientific computing (Graph for Science) paradigm, which provides a unified graph programming interface, enabling domain experts to promptly implement various types of matrix computations. The proposed paradigm leverages the underlying graph processing engine to achieve efficient execution, eliminating the needs for HPC expertise in programming large-scale scientific applications. Our results show that the graph engine-based scientific computing paradigm achieves performance comparable to the best-performing implementations based on existing parallel computing libraries and bespoke implementations. Importantly, the paradigm greatly simplifies the development of scientific computations on large-scale platforms, reducing the programming difficulty for scientists and facilitating broader adoption of scientific computing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑