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

使用 libEnsemble 实现可扩展的便携式、异构集成工作流

Portable, heterogeneous ensemble workflows at scale using libEnsemble

Stephen Hudson, Jeffrey Larson, John-Luke Navarro, Stefan M. Wild

AI总结:

libEnsemble是基于Python的动态集成工具包,采用生成器-模拟器-分配器范式,支持动态资源检测与异构任务分配,并通过高斯过程代理训练验证了其百亿亿次级扩展能力。

摘要:

libEnsemble 是一个基于 Python 的工具包,用于运行动态集成,作为 DOE 百亿亿次级计算项目的一部分开发。该工具包采用独特的生成器-模拟器-分配器范式,其中生成器为模拟器生成输入,模拟器评估这些输入,分配器决定是否以及何时调用模拟器或生成器。生成器根据模拟结果引导集成。例如,生成器可以应用数值优化、机器学习或统计校准方法。libEnsemble 通过管理器和工作器之间进行通信。我们概述了 libEnsemble 的独特特性,以及与工作流生态系统中其他软件包的当前和潜在互操作性。我们重点介绍了 libEnsemble 的动态资源特性:libEnsemble 可以检测系统资源,如可用节点、核心和 GPU,并以可移植的方式分配它们。这些特性允许用户指定每次模拟所需的处理器和 GPU 数量;资源将在包括 Frontier、Aurora 和 Perlmutter 在内的广泛系统上自动分配。这样的集成可以包括多种模拟类型,一些使用 GPU,另一些仅使用 CPU,共享节点以实现最大效率。我们还描述了 libEnsemble 的生成器-模拟器耦合的优势,它轻松向用户暴露了基于中间模拟输出更新的模型来取消和可移植地终止正在运行的模拟的能力。我们通过等离子体加速器级出口处纵向密度剖面的高斯过程代理训练问题,展示了 libEnsemble 的能力、可扩展性和科学影响力。该研究使用 gpCAM 作为代理模型,并采用 Wake-T 或 WarpX 模拟,突出了可以轻松扩展到百亿亿次级的高效资源利用。

英文摘要:

libEnsemble is a Python-based toolkit for running dynamic ensembles, developed as part of the DOE Exascale Computing Project. The toolkit utilizes a unique generator--simulator--allocator paradigm, where generators produce input for simulators, simulators evaluate those inputs, and allocators decide whether and when a simulator or generator should be called. The generator steers the ensemble based on simulation results. Generators may, for example, apply methods for numerical optimization, machine learning, or statistical calibration. libEnsemble communicates between a manager and workers. We overview the unique characteristics of libEnsemble as well as current and potential interoperability with other packages in the workflow ecosystem. We highlight libEnsemble's dynamic resource features: libEnsemble can detect system resources, such as available nodes, cores, and GPUs, and assign these in a portable way. These features allow users to specify the number of processors and GPUs required for each simulation; and resources will be automatically assigned on a wide range of systems, including Frontier, Aurora, and Perlmutter. Such ensembles can include multiple simulation types, some using GPUs and others using only CPUs, sharing nodes for maximum efficiency. We also describe the benefits of libEnsemble's generator--simulator coupling, which easily exposes to the user the ability to cancel, and portably kill, running simulations based on models that are updated with intermediate simulation output. We demonstrate libEnsemble's capabilities, scalability, and scientific impact via a Gaussian process surrogate training problem for the longitudinal density profile at the exit of a plasma accelerator stage. The study uses gpCAM for the surrogate model and employs either Wake-T or WarpX simulations, highlighting efficient use of resources that can easily extend to exascale.

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

↑