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

SWIRL 简介:一种面向科学工作流的中间表示语言

Introducing SWIRL: An Intermediate Representation Language for Scientific Workflows

Iacopo Colonnelli, Doriana Medić, Alberto Mulone, Viviana Bono, Luca Padovani, Marco Aldinucci

AI总结:

针对科学计算中工作流执行的新需求,本文提出面向科学工作流的中间表示语言SWIRL,作为分布式工作流执行计划的底层编译目标,具备底层原语、形式化转换框架与重写优化规则,并已开发出开源编译器工具链。

摘要:

在科学计算不断演进的格局中,要妥善支撑现代科学应用的模块化特性与复杂度,需要新的工作流执行方案,例如不同工作流系统间的无缝互操作、原生分布式的工作流模型,以及数据移动的自动优化。为满足这一需求,本文提出了 SWIRL——一种面向科学工作流的中间表示语言。与其他不绑定特定产品的工作流语言不同,SWIRL 并非为人工交互设计,而是作为分布式工作流执行计划的底层编译目标。SWIRL 语义的主要优势包括:基于发送/接收编程模型的底层原语,以及一套确保语义一致性的形式化框架,同时该框架还规范了将有向无环图(Directed Acyclic Graphs, DAGs)表示的工作流模型转换为 SWIRL 工作流描述的过程。此外,SWIRL 提供了用于优化执行轨迹的重写规则,并配有相应的等价性证明。研究团队已基于 ANTLR 的 Python3 绑定开发了一套开源的 SWIRL 编译器工具链。

英文摘要:

In the ever-evolving landscape of scientific computing, properly supporting the modularity and complexity of modern scientific applications requires new approaches to workflow execution, like seamless interoperability between different workflow systems, distributed-by-design workflow models, and automatic optimisation of data movements. In order to address this need, this article introduces SWIRL, an intermediate representation language for scientific workflows. In contrast with other product-agnostic workflow languages, SWIRL is not designed for human interaction but to serve as a low-level compilation target for distributed workflow execution plans. The main advantages of SWIRL semantics are low-level primitives based on the send/receive programming model and a formal framework ensuring the consistency of the semantics and the specification of translating workflow models represented by Directed Acyclic Graphs (DAGs) into SWIRL workflow descriptions. Additionally, SWIRL offers rewriting rules designed to optimise execution traces, accompanied by corresponding equivalence. An open-source SWIRL compiler toolchain has been developed using the ANTLR Python3 bindings.

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

↑