arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.08062cs.DC
收藏

Parsl+CWL:迈向Python与CWL生态系统的融合

Parsl+CWL: Towards Combining the Python and CWL Ecosystems

Nishchay Karle, Ben Clifford, Yadu Babuji, Ryan Chard, Daniel S. Katz, Kyle Chard

AI总结:

本研究将通用工作流语言CWL与Python并行编程库Parsl集成,提出CWL工具转Parsl应用的方法、开发直接执行CWL工具的Parsl运行器及内联Python扩展,并通过示例与性能对比验证了该集成的优势。

摘要:

通用工作流语言(Common Workflow Language, CWL)是一种被广泛采用的、用于定义和共享计算工作流的语言,其设计初衷是独立于工作流所运行的执行引擎。本文介绍了我们将CWL与Parsl(一种基于Python的并行编程库,用于管理工作流在各类计算环境中的执行)集成的实践经验。我们提出了一种将CWL CommandLineTool定义转换为Parsl应用的新方法,使得Parsl脚本可以轻松导入并使用以CWL表示的工具。我们还开发了一个可直接执行CWL CommandLineTool的Parsl运行器,并实现了一个概念验证扩展,支持在CWL工作流定义中嵌入内联Python代码,实现其在Parsl的Python生态系统中的无缝使用。我们通过展示可在Parsl中使用的CWL CommandLineTool示例定义,以及对比使用该Parsl集成方案与其他CWL运行器执行图像处理工作流的性能,证明了该集成方案的优势。

英文摘要:

The Common Workflow Language (CWL) is a widely adopted language for defining and sharing computational workflows. It is designed to be independent of the execution engine on which workflows are executed. In this paper, we describe our experiences integrating CWL with Parsl, a Python-based parallel programming library designed to manage execution of workflows across diverse computing environments. We propose a new method that converts CWL CommandLineTool definitions into Parsl apps, enabling Parsl scripts to easily import and use tools represented in CWL. We describe a Parsl runner that is capable of executing a CWL CommandLineTool directly. We also describe a proof-of-concept extension to support inline Python in a CWL workflow definition, enabling seamless use in the Python ecosystem of Parsl. We demonstrate the benefits of this integration by presenting example CWL CommandLineTool definitions that show how they can be used in Parsl, and comparing performance of executing an image processing workflow using the Parsl integration and other CWL runners.

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

↑