引入新一代自适应光学模拟框架:从PASSATA到SPECULA
Introducing a new generation Adaptive Optics simulation framework: from PASSATA to SPECULA
AI总结:
本文介绍了一种基于Python的新型自适应光学模拟框架SPECULA,通过面向对象方法提升计算效率,并支持CPU/GPU和HPC环境下的分布式计算。
摘要:
自适应光学(AO)中的数值端到端模拟是开发复杂系统的关键工具,从初始设计到调试阶段。基于我们之前在PASSATA上的经验,我们决定用Python语言开发一个新的AO模拟框架,命名为SPECULA(缩写:Scalable Parallel Execution of Computations Upscaling Large Adaptive optics simulations)。采用面向对象的方法,物理实体被建模为相互连接的处理对象,以交换数据对象。通过提供其描述而不是编写和执行特定脚本来运行模拟。Python语言及其库的灵活性使我们能够编写一个可以运行在CPU和GPU平台上的单一代码。我们特别注重计算效率,依赖CuPy及其接口来访问CUDA流机制。此外,SPECULA能够在多个处理节点上执行分布式计算,使其适合在HPC环境中运行,已在意大利超级计算机Leonardo上进行了测试。SPECULA还可以在实验室环境中用于实现混合模拟,允许我们接口模拟和实际对象:这一功能已在Arcetri天文台的自适应光学实验室中得到演示。在本文中,我们描述了SPECULA的主要特性,展示了其一些相关应用示例,并最后阐述了我们的未来目标。
英文摘要:
Numerical end-to-end simulation in Adaptive Optics (AO) is a key tool in the development of complex systems, from the initial design to the commissioning phase. Based on our previous experience with PASSATA, we decided to develop a new AO simulation framework in Python language, naming it SPECULA (short for: Scalable Parallel Execution of Computations Upscaling Large Adaptive optics simulations). Following an object-oriented approach, the physical entities are modeled as processing objects connected to each other to exchange data objects. A simulation is run by providing its description instead of writing and executing a specific script. The Python language and its library flexibility allowed us to write one single code that can be run on CPU and GPU platforms. We put a strong focus on computational efficiency, relying on CuPy and its interface to access the CUDA-stream mechanism. Moreover, SPECULA is capable of distributed computations over multiple processing nodes, making it suitable to run in an HPC environment, as tested on the Italian supercomputer Leonardo. SPECULA can also be used in laboratory environment to implement a hybrid simulation, allowing us to interface simulated and concrete objects: this feature was demonstrated in the Adaptive Optics laboratories at Arcetri Observatory. In this paper, we describe the main characteristics of SPECULA, show some relevant examples of its use, and finally draw our goals for the future.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。