• DocumentCode
    1984924
  • Title

    Teaching Parallel Programming Models on a Shallow-Water Code

  • Author

    Breuer, Alexander ; Bader, Michael

  • Author_Institution
    Dept. of Inf., Tech. Univ. Munchen, Munich, Germany
  • fYear
    2012
  • fDate
    25-29 June 2012
  • Firstpage
    301
  • Lastpage
    308
  • Abstract
    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.
  • Keywords
    application program interfaces; computer aided instruction; computer science education; educational courses; finite volume methods; grid computing; parallel architectures; parallel programming; piecewise polynomial techniques; shallow water equations; software packages; teaching; tsunami; CUDA; Cartesian grid; Lax-Friedrichs method; MPI; OpenMP; Riemann solver approximation; educational course; finite volume method; ghost layer; grid cell; hybrid approach; mind; numerical model; parallel computing; parallel programming model teaching; piecewise constant approximation; shallow water code; shallow water equation; software package; tsunami simulation; Computational modeling; Education; Graphics processing unit; Kernel; Mathematical model; Numerical models; Parallel programming; CSE education; CUDA; MPI; OpenMP; parallel computing; parallel programming models; shallow water equations;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Computing (ISPDC), 2012 11th International Symposium on
  • Conference_Location
    Munich/Garching, Bavaria
  • Print_ISBN
    978-1-4673-2599-8
  • Type

    conf

  • DOI
    10.1109/ISPDC.2012.48
  • Filename
    6341526