Many problems in geophysical and atmospheric modelling require the fast solution of elliptic partial differential equations (PDEs) in "flat" three dimensional geometries. In particular, an anisotropic elliptic PDE for the pressure correction has to be solved at every time step in the dynamical core of many numerical weather prediction models, and equations of a very similar structure arise in global ocean models, subsurface flow simulations and gas and oil reservoir modelling. The elliptic solve is often the bottleneck of the forecast, and an algorithmically optimal method has to be used and implemented efficiently. Graphics Processing Units have been shown to be highly efficient for a wide range of applications in scientific computing, and recently iterative solvers have been parallelised on these architectures. We describe the GPU implementation and optimisation of a Preconditioned Conjugate Gradient (PCG) algorithm for the solution of a three dimensional anisotropic elliptic PDE for the pressure correction in NWP. Our implementation exploits the strong vertical anisotropy of the elliptic operator in the construction of a suitable preconditioner. As the algorithm is memory bound, performance can be improved significantly by reducing the amount of global memory access. We achieve this by using a matrix-free implementation which does not require explicit storage of the matrix and instead recalculates the local stencil. Global memory access can also be reduced by rewriting the algorithm using loop fusion and we show that this further reduces the runtime on the GPU. We demonstrate the performance of our matrix-free GPU code by comparing it to a sequential CPU implementation and to a matrix-explicit GPU code which uses existing libraries. The absolute performance of the algorithm for different problem sizes is quantified in terms of floating point throughput and global memory bandwidth.
Volume-Preserving Parameterizations via Preconditioned Nonlinear Conjugate Gradient Method
National Taiwan Normal University(台湾师范大学);Nanjing Center for Applied Mathematics(南京应用数学中心);Shanghai Institute for Mathematics and Interdisciplinary Sciences(上海数学与交叉学科研究院);National Yang Ming Chiao Tung University(国立阳明交通大学)
Superiorization of Preconditioned Conjugate Gradient Algorithms for Tomographic Image Reconstruction
Institute of Mathematical Science and Computation, University of São Paulo(圣保罗大学数学科学与计算研究所);Department of Computer Science, The Graduate Center, City University of New York(纽约市立大学研究生院计算机科学系);School of Electrical Engineering, Southwest Jiaotong University(西南交通大学电气工程学院);Program in Electrical and Computer Engineering, Federal University of Technology(联邦技术大学电气与计算机工程项目)
Efficient spectral computation of the stationary states of rotating Bose-Einstein condensates by the preconditioned nonlinear conjugate gradient method
Université de Lorraine(洛林大学);Inria Nancy-Grand Est(法国国家信息与自动化研究院南锡-大东部中心);Inria Paris(法国国家信息与自动化研究院巴黎中心);Université Paris-Est, CERMICS (ENPC)(巴黎东大学,CERMICS(国立路桥学校));Laboratoire de Mathématiques Raphaël Salem, Université de Rouen(鲁昂大学拉斐尔·萨莱姆数学实验室)
Leveraging Operator Learning to Accelerate Convergence of the Preconditioned Conjugate Gradient Method
Toulouse-INP (ENSEEIHT)/IRIT(图卢兹INP(ENSEEIHT)/IRIT);Artificial and Natural Intelligence Toulouse Institute (ANITI)(人工智能与自然智能图卢兹研究所(ANITI));Division of Applied Mathematics, Brown University(应用数学系,布朗大学)
Generalized preconditioned conjugate gradients for adaptive FEM with optimal complexity
Sorbonne Université, Université Paris Cité, CNRS, Laboratoire Jacques-Louis Lions(索邦大学,巴黎 Cité 大学,法国国家科学研究中心,雅克-路易·利翁斯实验室);TU Wien, Institute of Analysis and Scientific Computing(维也纳工业大学,分析与科学计算研究所)
Primal-dual interior-point multigrid method for topology optimization
University of Birmingham(伯明翰大学);Institute of Information Theory and Automation, Academy of Sciences of the Czech Republic(捷克科学院信息论与自动化研究所);University of Kirkuk(基尔库克大学)
Solving Convolution-type Integral Equations using Preconditioned Neural Operators
Lingnan University(岭南大学);Hong Kong Centre for Cerebro-Cardiovascular Health Engineering(香港脑心血管健康工程中心);Hetao Institute of Mathematics and Interdisciplinary Sciences (Shenzhen)(河套数学与交叉科学研究院(深圳))
Adaptive finite element methods with optimally preconditioned GMRES guarantee optimal complexity
Pontificia Universidad Católica de Chile(智利天主教 Pontificia 大学);Sorbonne Université, Université Paris Cité, CNRS, Laboratoire Jacques-Louis Lions, LJLL(索邦大学,巴黎西岱大学,法国国家科学研究中心,雅克-路易·利翁斯实验室);TU Wien, Institute of Analysis and Scientific Computing(维也纳工业大学,分析与科学计算研究所)
Robust and efficient solvers for nonlinear partial differential equations based on random feature method
University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州高等研究院);Suzhou Big Data & AI Research and Engineering Center(苏州大数据与人工智能研究与工程中心);East China Normal University(华东师范大学)