[Paper Review] Acceleration of the Implicit-Explicit Non-hydrostatic Unified Model of the Atmosphere (NUMA) on Manycore Processors
This paper accelerates the IMEX non-hydrostatic atmospheric model (NUMA) on manycore processors like GPUs and Intel KNL by employing advanced numerical techniques, including Schur complement reduction, HEVI 1D-IMEX formulation, high-order preconditioners, and direct solvers. It achieves up to 100X speedup over explicit methods at high Courant numbers, demonstrating superior scalability and performance on exascale-ready architectures.
We present the acceleration of an IMplicit-EXplicit (IMEX) non-hydrostatic atmospheric model on manycore processors such as GPUs and Intel's MIC architecture. IMEX time integration methods sidestep the constraint imposed by the Courant-Friedrichs-Lewy condition on explicit methods through corrective implicit solves within each time step. In this work, we implement and evaluate the performance of IMEX on manycore processors relative to explicit methods. Using 3D-IMEX at Courant number C=15 , we obtained a speedup of about 4X relative to an explicit time stepping method run with the maximum allowable C=1. In addition, we demonstrate a much larger speedup of 100X at C=150 using 1D-IMEX due to the unconditional stability of the method in the vertical direction. Several improvements on the IMEX procedure were necessary in order to outperform our results with explicit methods: a) reducing the number of degrees of freedom of the IMEX formulation by forming the Schur complement; b) formulating a horizontally-explicit vertically-implicit (HEVI) 1D-IMEX scheme that has a lower workload and potentially better scalability than 3D-IMEX; c) using high-order polynomial preconditioners to reduce the condition number of the resulting system; d) using a direct solver for the 1D-IMEX method by performing and storing LU factorizations once to obtain a constant cost for any Courant number. Without all of these improvements, explicit time integration methods turned out to be difficult to beat. We discuss in detail the IMEX infrastructure required for formulating and implementing efficient methods on manycore processors. Finally, we validate our results with standard benchmark problems in NWP and evaluate the performance and scalability of the IMEX method using up to 4192 GPUs and 16 Knights Landing processors.
Motivation & Objective
- Address the severe time-step restriction in explicit methods due to fast acoustic and gravity waves in non-hydrostatic atmospheric models.
- Overcome the performance bottleneck of implicit methods on manycore architectures through algorithmic and implementation optimizations.
- Achieve significant speedup over explicit time integration by enabling large Courant numbers while maintaining solution accuracy.
- Ensure high scalability and performance on modern manycore systems like GPUs and Intel KNL for operational numerical weather prediction.
- Validate the IMEX approach using standard NWP benchmarks and demonstrate its robustness across diverse hardware platforms.
Proposed method
- Implement IMEX time integration using ARK schemes, treating fast waves (acoustic/gravity) implicitly and slow waves (Rossby) explicitly.
- Reduce degrees of freedom in 3D-IMEX via Schur complement formulation to improve computational efficiency.
- Develop a horizontally-explicit, vertically-implicit (HEVI) 1D-IMEX scheme to reduce workload and enhance scalability.
- Apply high-order polynomial preconditioners to reduce the condition number of the implicit system, accelerating iterative solves.
- Use direct solvers with precomputed LU factorizations for 1D-IMEX to achieve constant-cost implicit solves independent of Courant number.
- Implement all kernels using the unified OCCA language for portable, high-performance execution on GPUs and KNL processors.
Experimental results
Research questions
- RQ1Can IMEX methods on manycore processors achieve significant speedup over explicit methods in non-hydrostatic atmospheric modeling?
- RQ2How do algorithmic improvements like Schur complement and HEVI formulation affect performance and scalability of IMEX on GPUs and KNL?
- RQ3What is the maximum achievable speedup of IMEX relative to explicit methods as the Courant number increases?
- RQ4How does the performance of IMEX scale across thousands of GPUs and KNL nodes in weak and strong scaling regimes?
- RQ5To what extent do high-order preconditioners and direct solvers improve the efficiency of implicit solves in IMEX schemes?
Key findings
- At Courant number C = 15, 3D-IMEX on GPUs achieves a 4X speedup over explicit methods with C = 1.
- Using 1D-IMEX with a direct solver, the paper demonstrates a 100X speedup at C = 150, highlighting the potential of high-Courant IMEX methods.
- The 1D-IMEX scheme with direct solves shows superior scalability compared to 3D-IMEX due to reduced inter-processor communication during implicit solves.
- Strong scaling on up to 4096 GPUs shows linear scalability on a log-log plot, with a 5X relative speedup over explicit methods.
- On 16 KNL nodes, IMEX achieves 90% strong scaling efficiency, indicating excellent performance on Intel’s manycore architecture.
- Validation on a global acoustic wave benchmark confirms that IMEX results match those of explicit methods in accuracy while significantly outperforming them in speed.
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.