## Title data

Faghih-Naini, Sara ; Aizinger, Vadym ; Kuckuk, Sebastian ; Angersbach, Richard ; Köstler, Harald:

**Hardware-optimized numerics for a discontinuous Galerkin shallow water model.**

2022

*Event:* 8th European Congress on Computational Methods in Applied Sciences and Engineering (ECCOMAS)
, 05.-09. June 2022
, Oslo, Norway.

(Conference item: Conference
,
Speech
)

## Related URLs

## Project information

Project financing: |
Deutsche Forschungsgemeinschaft |
---|

## Abstract in another language

Current trends in high performance computing require model codes which can be efficiently run on various hardware architectures. In this talk we focus on the discontinuous Galerkin (DG) discretization of the shallow water equations (SWE) based on the UTBEST model [1] and present a hybrid CPU-GPU algorithm which exploits the benefits of each hardware component.

Based on our quadrature-free formulation for the nonlinear SWE [2], which allows to elegantly separate discrete equations for different polynomial orders, we introduce a novel p-adaptive discretization method. The goal of this work is to achieve improved performance by separating the fixed (i.e. the constant or the linear) degrees of freedom of a DG solution from the adaptive (higher-order) ones. The respective computations can then be done in parallel either on the same architecture or on a heterogeneous one, e.g. the lower degrees of freedom on GPU and the higher-order correction terms on CPU. We present various configurations to investigate which model components and which algorithmic parts are best suited for which part of a heterogeneous CPU-GPU setup.

The method is implemented within the ExaStencils code generation framework which is based on the domain-specific language (DSL) ExaSlang and outputs an optimized C++ or CUDA code. Our work extends the framework using a Python frontend – called GHODDESS – which is responsible for the mapping of the DG scheme to ExaSlang.

REFERENCES

[1] V. Aizinger and C. Dawson, A discontinuous Galerkin method for two-dimensional flow and transport in shallow water. Advances in Water Resources 25.1 (2002), pp.67–84.

[2] S. Faghih-Naini, S. Kuckuk, V. Aizinger, D. Zint, R. Grosso, and H. Köstler, Quadrature-free discontinuous Galerkin method with code generation features for shallow water equations on automatically generated block-structured meshes. Advances in Water Resources 138 (2020), p. 103552.