Abstract
Efficient solution of the linear systems arising in large-scale reservoir simulation is critical to overall performance and often dominates runtime. The Constrained Pressure Residual (CPR) preconditioner with an algebraic multigrid (AMG) pressure stage is the de facto standard and is well established on CPUs. CPR-AMG applies an AMG-based pressure correction together with a fine-stage preconditioner on the full system; both are invoked repeatedly in Krylov iterations and consist largely of sparse linear-algebra kernels that map well to GPUs. Achieving robustness and performance on GPUs, however, requires careful implementation of both stages and the transfer operators between them. Although GPU CPR-AMG has been demonstrated previously (e.g. [1]), implementations are often tied to closed simulator stacks, and open, reproducible studies for complex cases across multiple AMG implementations remain limited. In this work, we present a GPU implementation of CPR-AMG in the open-source, industrial-grade reservoir simulator OPM Flow.
Our implementation follows the standard two-stage structure: an AMG-preconditioned pressure correction built from an approximate pressure system, followed by a fine-stage correction on the full system. It features GPU-native CPR transfer operators. The design is flexible and modular, allowing interchangeable components, including the GPU ILU(0)/DILU smoothers from [2], and supports swapping solver and preconditioner options through a common interface. The CPU and GPU implementations share the same infrastructure, enabling development and testing of new CPR variants and comparable solver configurations across architectures. For the AMG pressure stage, we support Dune-ISTL AMG on CPU, HYPRE BoomerAMG on CPU and GPU (NVIDIA and AMD), and NVIDIA AMGX on GPU.
We conduct a systematic configuration study of GPU CPR-AMG for robust and efficient convergence on complex, field-relevant cases. We compare AMG backends and evaluate sensitivity to key choices such as pressure weighting, coarsening/interpolation options, and fine-stage smoother selection. Results on open benchmarks and realistic asset models quantify robustness-performance trade-offs and provide practical guidance for configuring GPU CPR-AMG. The implementation is released in OPM Flow, and results on open models are fully reproducible, enabling follow-up studies and extensions.
[1] K. Esler et al. Realizing the potential of GPUs for reservoir simulation. ECMOR XIV, 2014.
[2] T. M. Andersen, J. Torben, K. O. Lye, A. F. Rasmussen, K.-A. Lie. A comparison of DILU and ILU(0) as GPU-accelerated preconditioners. SPE RSC, 2025.