arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16082cs.DCphysics.ao-phphysics.comp-phphysics.flu-dyn
收藏

一种高效的多GPU实现用于不连续伽辽金海洋模型SLIM

An efficient multi-GPU implementation for the Discontinuous Galerkin ocean model SLIM

UCLouvain(天主教鲁汶大学);Aarhus University(奥胡斯大学)

Miguel De Le Court, Vincent Legat, Ange P. Ishimwe, Colin Scherpereel, Emmanuel Hanert, Jonathan Lambrechts

AI总结:

本文提出一种优化的3D不连续伽辽金海洋模型,适用于单多GPU系统,通过内存布局优化、并行化和矩阵自由求解器提升性能,实验证明GPU在海洋模拟中的高效性。

摘要:

无结构网格海洋模型因能表示复杂几何和局部网格细化而被越来越多用于近岸应用。然而,其广泛应用受到高计算成本的阻碍,尤其是基于不连续伽辽金有限元(DG-FE)方法的模型,其自由度远高于传统有限体积或连续有限元方法。随着基于GPU的高性能计算架构的快速发展,DG-FE方法因其本质上适合大规模并行计算而成为解决这一限制的途径。本文提出一个完整的3D DG-FE海洋模型实现,优化了单GPU和多GPU系统,支持NVIDIA和AMD架构。我们详细描述了实现高性能的计算策略,包括内存布局优化、核级别并行化和关键垂直过程的矩阵自由求解器。基准测试结果表明,单个HPC级GPU(如NVIDIA A100)性能相当于约1500个CPU核心,用4个A100 GPU节点取代128核心CPU节点可实现约50倍的加速。弱扩展效率在1024个GPU上保持稳定。我们进一步在大堡礁的现实应用中展示了模型的能力,实现了比现有最精确模型五倍更精细的空间分辨率,同时保持物理到数值时间比为100。这些结果表明,GPU加速的DG-FE方法如何显著提升无结构网格海洋建模的能力,使超高分辨率近岸模拟成为可能。

英文摘要:

Unstructured-mesh ocean models are increasingly used for coastal applications due to their ability to represent complex geometries and apply local grid refinement where needed. However, their broader use has been hindered by their high computational cost, particularly for models based on the Discontinuous Galerkin finite element (DG-FE) method, which involves significantly more degrees of freedom than traditional finite volume or continuous finite element approaches. The rapid emergence of GPU-based high-performance computing architectures now offers a pathway to address this limitation, as DG-FE formulations are inherently well suited to massively parallel, element-wise computations. Here, we present a full 3D DG-FE ocean model implementation optimized for both single- and multi-GPU systems, with support for both NVIDIA and AMD architectures. We detail the computational strategies employed to achieve high performance, including memory layout optimization, kernel-level parallelization, and matrix-free solvers for key vertical processes. Benchmark results demonstrate that a single HPC-grade GPU (e.g. NVIDIA A100) delivers performance equivalent to approximately 1500 CPU cores, while replacing a 128-core CPU node with a 4xA100 GPU node yields a speedup of around 50x. Weak-scaling efficiency is maintained up to 1024 GPUs. We further demonstrate the model's capabilities on a real-world application in the Great Barrier Reef, achieving a spatial resolution five times finer than the most accurate existing model while maintaining a physical-to-numerical time ratio of 100. These results highlight how GPU-accelerated DG-FE methods can dramatically advance the capabilities of unstructured-mesh ocean modeling, enabling ultra-high-resolution coastal simulations that were previously infeasible.

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

↑