Africanus IV. Stimela2框架:从本地到云端计算的可扩展、可复现工作流
Africanus IV. The Stimela2 framework: scalable and reproducible workflows, from local to cloud compute
AI总结:
Stimela2是一个用于射电天文数据处理的可扩展、可复现工作流框架,通过YAML配方和容器化实现模块化,并支持本地、集群及云端部署。
摘要:
Stimela2是新一代用于开发数据处理工作流的框架。它专为射电天文数据设计,但也可适用于其他数据处理应用。Stimela2旨在易开发性、人类可读性与实现稳健、可扩展和可复现工作流之间取得平衡。它通过线性、简洁且直观的YAML格式“配方”来表示工作流。原子级数据处理任务(二进制可执行文件、Python函数和代码以及CASA任务)由YAML格式的“cab定义”描述,其中详细说明了每个任务的“模式”(输入和输出)。Stimela2提供了丰富的语法用于将任务串联起来,并鼓励高度的模块化:配方可以嵌套到其他配方中,配置与配方逻辑清晰分离。任务可以在本机执行,也可以使用Apptainer等容器化技术在隔离环境中执行。容器镜像是开源的,并通过名为cult-cargo的配套包进行维护。这支持开发与系统无关且完全可复现的工作流。Stimela2通过接口与Slurm调度器和Kubernetes API交互,促进了可扩展、分布式工作流的部署。后者允许工作流轻松部署到云端。本系列之前的论文使用Stimela2作为底层技术在AWS云上运行工作流。本文概述了Stimela2的设计、架构及其在射电天文学背景下的应用。
英文摘要:
Stimela2 is a new-generation framework for developing data reduction workflows. It is designed for radio astronomy data but can be adapted for other data processing applications. Stimela2 aims at the middle ground between ease of development, human readability, and enabling robust, scalable and reproducible workflows. It represents workflows by linear, concise and intuitive YAML-format "recipes". Atomic data reduction tasks (binary executables, Python functions and code, and CASA tasks) are described by YAML-format "cab definitions" detailing each task's "schema" (inputs and outputs). Stimela2 provides a rich syntax for chaining tasks together, and encourages a high degree of modularity: recipes may be nested into other recipes, and configuration is cleanly separated from recipe logic. Tasks can be executed natively or in isolated environments using containerization technologies such as Apptainer. The container images are open-source and maintained through a companion package called cult-cargo. This enables the development of system-agnostic and fully reproducible workflows. Stimela2 facilitates the deployment of scalable, distributed workflows by interfacing with the Slurm scheduler and the Kubernetes API. The latter allows workflows to be readily deployed in the cloud. Previous papers in this series used Stimela2 as the underlying technology to run workflows on the AWS cloud. This paper presents an overview of Stimela2's design, architecture and use in the radio astronomy context.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。