[Paper Review] Performance Portable Solid Mechanics via Matrix-Free $p$-Multigrid
This paper presents a performance-portable, matrix-free $p$-multigrid method for high-order finite element solid mechanics that achieves up to 10x faster simulation times and orders of magnitude better efficiency per degree of freedom compared to traditional low-order methods. By leveraging matrix-free operators, automatic differentiation for material models, and algebraic multigrid coarse solvers, the approach enables robust, scalable, and GPU-optimized simulations across multi-node CPU and GPU systems without sacrificing accuracy or workflow compatibility.
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.
Motivation & Objective
- To overcome the inefficiencies of low-order finite element methods in solid mechanics, particularly their poor approximation accuracy and high memory/computation costs per degree of freedom.
- To demonstrate that high-order finite elements in a matrix-free framework can significantly reduce simulation cost while maintaining accuracy, even in the presence of stress singularities.
- To enable performance portability across modern HPC architectures (CPU and GPU) without requiring application code to be GPU-aware.
- To provide a practical, drop-in replacement for legacy finite element solvers that improves performance and scalability through efficient data structures and preconditioning.
- To validate the method on large-scale, real-world multiscale hyperelastic problems using diverse hardware platforms including AMD MI250X, NVIDIA A100, and V100 GPUs.
Proposed method
- The method employs matrix-free finite element assembly, where element matrices are computed on-the-fly during matrix-vector products, eliminating the need to store sparse matrices and reducing memory bandwidth usage.
- It uses $p$-multigrid preconditioning with Chebyshev or Jacobi smoothing on high-order finite elements, enabling robust convergence for unstructured meshes and high-order discretizations.
- Algebraic multigrid (AMG) is used as a coarse-grid solver, providing robustness and scalability across different problem types and mesh resolutions.
- Automatic differentiation is integrated to rapidly implement and debug nonlinear material models without performance or maintainability penalties.
- The framework is built on open-source libraries (PETSc, libCEED, hypre), abstracting GPU-specific code and enabling GPU-agnostic application development with high end-to-end performance.
- The approach supports arbitrary-order geometry and solution spaces, with support for Gmsh-generated high-order meshes and visualization tools.
Experimental results
Research questions
- RQ1Can matrix-free $p$-multigrid methods achieve superior performance and scalability compared to traditional low-order assembled sparse matrix solvers in solid mechanics simulations?
- RQ2How does the use of high-order finite elements in a matrix-free framework affect accuracy and computational cost when reaching engineering tolerances, especially in the presence of singularities?
- RQ3To what extent can matrix-free methods enable performance portability and high efficiency on modern GPU and CPU architectures without requiring application-level GPU porting?
- RQ4What is the impact of high-order elements on memory bandwidth saturation and arithmetic intensity, and how does matrix-free computation mitigate these bottlenecks?
- RQ5Can automatic differentiation be effectively used to implement complex nonlinear material models in a way that preserves performance and debuggability in high-performance computing environments?
Key findings
- The matrix-free $p$-multigrid approach achieves up to 10x improvement in simulation efficiency per degree of freedom compared to low-order methods, even with linear elements.
- For large deformation hyperelastic simulations, high-order methods reduce the cost to reach engineering tolerances by an order of magnitude, despite the presence of stress singularities.
- The method demonstrates strong scalability across multi-node CPU and GPU systems, including AMD MI250X, NVIDIA A100, and V100, with consistent performance gains.
- Matrix-free operators reduce memory bandwidth pressure, enabling the method to achieve high arithmetic intensity and sustain over 10 FLOPs per byte on modern hardware.
- Automatic differentiation enables rapid, correct, and maintainable implementation of nonlinear material models, with no runtime performance penalty and full compatibility with GPU execution.
- The approach supports drop-in replacement of low-order finite elements with quadratic and higher-order elements, reducing preprocessing and I/O costs while improving accuracy and performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.