基于无矩阵$p$ -Multigrid的性能便携式固体力学
Performance Portable Solid Mechanics via Matrix-Free $p$-Multigrid
摘要:
固体力学的有限元分析是现代工程的基本工具,低阶有限元法和组合稀疏矩阵代表隐式分析的工业标准。我们使用性能模型和数值实验来证明,高阶方法大大降低了成本,达到工程公差,同时使GPU的有效使用,这些数据结构还提供了高达2倍的线性元素的好处。我们证明了无矩阵$p$ -多重网格方法的可靠性,效率和可扩展性与代数多重网格粗解器通过大变形超弹性模拟的多尺度结构。我们使用AMD MI250 X(OLCF Crusher)、NVIDIA A100(NERSC Perlmutter)和V100(LLNL Lassen和OLCF Summit),针对中大型模型(数百万到数十亿自由度),在多节点CPU和GPU系统上研究了精度、成本和执行时间,从而在各种模型属性和规模上实现了数量级的效率提升。我们讨论了雅可比矩阵的高效无矩阵表示,并演示了自动微分如何实现非线性材料模型的快速开发,而不会影响针对GPU的可调试性和工作流程。这些方法具有广泛的适用性,并且适用于常见的工作流程,这里通过开源库提供,这些库封装了所有GPU特定的方面,并且可以访问新代码和旧代码,从而允许应用程序代码不受GPU影响,而不会影响GPU上的端到端性能。
英文摘要:
Finite element analysis of solid mechanics is a foundational tool of modern engineering, with low-order finite element methods and assembled sparse matrices representing the industry standard for implicit analysis. We use performance models and numerical experiments to demonstrate that high-order methods greatly reduce the costs to reach engineering tolerances while enabling effective use of GPUs; these data structures also offer up to 2x benefit for linear elements. We demonstrate the reliability, efficiency, and scalability of matrix-free $p$-multigrid methods with algebraic multigrid coarse solvers through large deformation hyperelastic simulations of multiscale structures. We investigate accuracy, cost, and execution time on multi-node CPU and GPU systems for moderate to large models (millions to billions of degrees of freedom) using AMD MI250X (OLCF Crusher), NVIDIA A100 (NERSC Perlmutter), and V100 (LLNL Lassen and OLCF Summit), resulting in order of magnitude efficiency improvements over a broad range of model properties and scales. We discuss efficient matrix-free representation of Jacobians and demonstrate how automatic differentiation enables rapid development of nonlinear material models without impacting debuggability and workflows targeting GPUs. The methods are broadly applicable and amenable to common workflows, presented here via open source libraries that encapsulate all GPU-specific aspects and are accessible to both new and legacy code, allowing application code to be GPU-oblivious without compromising end-to-end performance on GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。