Teaching Parallel Programming Models on a Shallow-Water Code
Alexander Breuer, Michael Bader · International Symposium on Parallel and Distributed Computing · 2012
We present a software package that supports teaching different parallel programming models in a computational science and engineering context. It implements a Finite Volume solver for the shallow water equations, with application to tsunami simulation in mind. The numerical model is kept simple, using patches of Cartesian grids as computational domain, which can be connected via ghost layers. The Finite Volume method is restricted to piecewise constant approximation in each grid cell, but the computation of fluxes between cells can be based on the simple Lax-Friedrichs method, as well as on versatile approximate Riemann solvers, which allows realistic simulations. We present how this code can be used to study parallelization with CUDA, MPI, OpenMP, and hybrid approaches - and is useful for both introductory lectures in parallel computing and more advanced courses.
Cited by 26 works. doi:10.1109/ispdc.2012.48
Authors
References
- Finite Volume Methods for Hyperbolic Problems
- Riemann Solvers and Numerical Methods for Fluid Dynamics: A Practical Introduction
- Programming Massively Parallel Processors: A Hands-on Approach
- Riemann Solvers and Numerical Methods for Fluid Dynamics
- Programming Massively Parallel Processors. A Hands-on Approach
- Wave Propagation Algorithms for Multidimensional Hyperbolic Systems
- Numerical Simulation in Fluid Dynamics: A Practical Introduction
- A Wave Propagation Method for Conservation Laws and Balance Laws with Spatially Varying Flux Functions
- Numerical Simulation in Fluid Dynamics
- Tsunami modelling with adaptively refined finite volume methods