arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.14040cs.MScs.NAmath.NAphysics.geo-ph
收藏

Pyroclast:一个模块化高性能Python求解器用于地质动力学

Pyroclast: A Modular High-Performance Python Solver for Geodynamics

Marcel Ferrari

AI总结:

Pyroclast是一个模块化高性能Python框架,用于大规模地质动力学模拟,通过结合现代数值方法、硬件加速执行和灵活的对象导向架构,解决传统地质动力学求解器的局限性。

摘要:

Pyroclast是一部专著,阐述了Pyroclast模块化高性能Python框架的设计、实现与评估,用于大规模地质动力学模拟。Pyroclast通过结合现代数值方法、硬件加速执行和灵活的对象导向架构,解决了传统地质动力学求解器的局限性,这些传统求解器通常以单体Fortran、C++或C代码库实现,具有有限的GPU支持和可扩展性。Pyroclast专为分布式和GPU加速环境设计,提供了一个易于使用的高效平台,利用标记-在单元法和无矩阵有限差分离散化方法模拟地幔对流和地壳变形。该工作专注于一个可扩展的二维粘性力学求解器,为未来粘性弹塑性模型提供计算核心。该求解器包括对不可压缩斯托克斯方程的应力守恒 staggered 网格离散化、无矩阵几何多重网格求解器、克罗内克和拟牛顿方法以及基于MPI的域分解用于分布式执行。基准测试评估性能和可扩展性。共享内存测试显示斯托克斯求解器的强标度性,并在NVIDIA A100 GPU上相比多核CPU基线显示5-10倍的速度提升。分布式输运基准测试显示在七个计算节点上896个CPU核心的近理想弱标度性。这些结果表明,Pyroclast在保持通过高级Python接口的易用性的同时实现了高性能。该框架还为现代化传统地质动力学代码提供了蓝图。其模块化架构和Python原生实现降低了入门门槛,同时使能够与现代机器学习库互操作,实现混合物理基础和数据驱动的工作流。

英文摘要:

This monograph presents the design, implementation, and evaluation of Pyroclast, a modular high-performance Python framework for large-scale geodynamic simulations. Pyroclast addresses limitations of legacy geodynamics solvers, often implemented in monolithic Fortran, C++, or C codebases with limited GPU support and extensibility, by combining modern numerical methods, hardware-accelerated execution, and a flexible object-oriented architecture. Designed for distributed and GPU-accelerated environments, Pyroclast provides an accessible and efficient platform for simulating mantle convection and lithospheric deformation using the marker-in-cell method and a matrix-free finite difference discretization. The work focuses on a scalable two-dimensional viscous mechanical solver that forms the computational core for future visco-elasto-plastic models. The solver includes a stress-conservative staggered grid discretization of the incompressible Stokes equations, a matrix-free geometric multigrid solver, Krylov and quasi-Newton methods, and MPI-based domain decomposition for distributed execution. Benchmarks evaluate performance and scalability. Shared-memory tests show strong scaling of the Stokes solver and demonstrate a 5-10x speedup on NVIDIA A100 GPUs compared to a multi-core CPU baseline. Distributed advection benchmarks show near-ideal weak scaling up to 896 CPU cores across seven compute nodes. These results demonstrate that Pyroclast achieves high performance while remaining accessible through a high-level Python interface. The framework also provides a blueprint for modernizing legacy geodynamics codes. Its modular architecture and Python-native implementation lower the barrier to entry while enabling interoperability with modern machine learning libraries, enabling hybrid physics-based and data-driven workflows.

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

↑