arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.05047math.NAcs.NA
收藏

一种利用GPU加速的自适应有限元多重网格求解器

An adaptive finite element multigrid solver using GPU acceleration

Institute of Analysis and Numerics, OVGU Magdeburg(马格德堡奥托·冯·格里克大学分析与数值学研究所);European Centre for Medium-Range Weather Forecasts(欧洲中期天气预报中心)

Manuel Liebchen, Robert Jendersie, Utku Kaya, Christian Lessig, Thomas Richter

AI总结:

本研究开发了一种利用GPU加速的自适应有限元多重网格求解器,通过线性代数操作实现高效计算,显著提升了求解非稳态纳维-斯托克斯方程等复杂问题的速度。

摘要:

自适应有限元结合几何多重网格求解器是求解如非稳态纳维-斯托克斯方程等问题最有效的数值方法之一。然而,尽管效率高,计算仍很昂贵,例如复杂流体问题的模拟可能需要数小时或数天。GPU提供了一个有趣的途径来加速计算,因为它们具有非常大的理论性能。然而,大规模并行性和非标准API使在科学计算中使用GPU具有挑战性。在本工作中,我们开发了用于自适应有限元库Gascoigne的GPU加速,并研究其在不同偏微分方程系统中的有效性。我们的目标是将GPU加速整合到现有代码中,即使这需要牺牲一些GPU加速的效率。通过将所有计算系统化地表述为线性代数操作,我们可以利用GPU加速的线性代数库,这简化了实现并确保了代码的可维护性,同时实现了非常高效的GPU利用率。我们对传输-扩散方程、线弹性方程和非稳态纳维-斯托克斯方程的结果显示,与多核CPU实现相比,加速效果高达20倍。

英文摘要:

Adaptive finite elements combined with geometric multigrid solvers are one of the most efficient numerical methods for problems such as the instationary Navier-Stokes equations. Yet despite their efficiency, computations remain expensive and the simulation of, for example, complex flow problems can take many hours or days. GPUs provide an interesting avenue to speed up the calculations due to their very large theoretical performance. However, the large degree of parallelism and non-standard API make the use of GPUs in scientific computing challenging. In this work, we develop a GPU acceleration for the adaptive finite element library Gascoigne and study its effectiveness for different systems of partial differential equations. Our goal is thereby to integrate the GPU acceleration into the existing code with minimal changes, even when this requires a penalty in the GPU acceleration. Through the systematic formulation of all computations as linear algebra operations, we can employ GPU-accelerated linear algebra libraries, which simplifies the implementation and ensures the maintainability of the code while achieving very efficient GPU utilizations. Our results for a transport-diffusion equation, linear elasticity, and the instationary Navier-Stokes equations show substantial speedups of up to 20X compared to multi-core CPU implementations.

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

↑