Lawrence Mitchell
High level implementation of geometric multigrid solvers for finite element problems: Applications in atmospheric modelling
Mitchell, Lawrence; Müller, Eike Hermann
Authors
Eike Hermann Müller
Abstract
The implementation of efficient multigrid preconditioners for elliptic partial differential equations (PDEs) is a challenge due to the complexity of the resulting algorithms and corresponding computer code. For sophisticated (mixed) finite element discretisations on unstructured grids an efficient implementation can be very time consuming and requires the programmer to have in-depth knowledge of the mathematical theory, parallel computing and optimisation techniques on manycore CPUs. In this paper we show how the development of bespoke multigrid preconditioners can be simplified significantly by using a framework which allows the expression of the each component of the algorithm at the correct abstraction level. Our approach (1) allows the expression of the finite element problem in a language which is close to the mathematical formulation of the problem, (2) guarantees the automatic generation and efficient execution of parallel optimised low-level computer code and (3) is flexible enough to support different abstraction levels and give the programmer control over details of the preconditioner. We use the composable abstractions of the Firedrake/PyOP2 package to demonstrate the efficiency of this approach for the solution of strongly anisotropic PDEs in atmospheric modelling. The weak formulation of the PDE is expressed in Unified Form Language (UFL) and the lower PyOP2 abstraction layer allows the manual design of computational kernels for a bespoke geometric multigrid preconditioner. We compare the performance of this preconditioner to a single-level method and hypre's BoomerAMG algorithm. The Firedrake/PyOP2 code is inherently parallel and we present a detailed performance analysis for a single node (24 cores) on the ARCHER supercomputer. Our implementation utilises a significant fraction of the available memory bandwidth and shows very good weak scaling on up to 6,144 compute cores.
Citation
Mitchell, L., & Müller, E. H. (2016). High level implementation of geometric multigrid solvers for finite element problems: Applications in atmospheric modelling. Journal of Computational Physics, 327, 1-18. https://doi.org/10.1016/j.jcp.2016.09.037
Journal Article Type | Article |
---|---|
Acceptance Date | Sep 16, 2016 |
Online Publication Date | Sep 22, 2016 |
Publication Date | Dec 15, 2016 |
Deposit Date | Aug 1, 2018 |
Publicly Available Date | Aug 2, 2018 |
Journal | Journal of Computational Physics |
Print ISSN | 0021-9991 |
Electronic ISSN | 1090-2716 |
Publisher | Elsevier |
Peer Reviewed | Peer Reviewed |
Volume | 327 |
Pages | 1-18 |
DOI | https://doi.org/10.1016/j.jcp.2016.09.037 |
Public URL | https://durham-repository.worktribe.com/output/1353120 |
Related Public URLs | https://researchportal.bath.ac.uk/en/publications/high-level-implementation-of-geometric-multigrid-solvers-for-fini; https://arxiv.org/pdf/1605.00492.pdf |
Files
Accepted Journal Article
(806 Kb)
PDF
Publisher Licence URL
http://creativecommons.org/licenses/by-nc-nd/4.0/
Copyright Statement
© 2016 This manuscript version is made available under the CC-BY-NC-ND 4.0 license http://creativecommons.org/licenses/by-nc-nd/4.0/
You might also like
Bringing trimmed Serendipity methods to computational practice in Firedrake
(2022)
Journal Article
PCPATCH: software for the topological construction of multigrid relaxation methods
(2021)
Journal Article
A study of vectorization for matrix-free finite element methods
(2020)
Journal Article
Downloadable Citations
About Durham Research Online (DRO)
Administrator e-mail: dro.admin@durham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search