betaFeedback

WorksPhysics and Astronomy

foap4: Adaptive mesh refinement with OpenACC/OpenMP, MPI, and p4est

Abstract

GPUs and other accelerators are increasingly used for scientific computing. We want to add GPU support to existing parallel adaptive mesh refinement (AMR) codes written in Fortran. To understand which changes are necessary to obtain good performance we have developed foap4, an AMR framework implemented in Fortran that uses OpenACC/OpenMP, MPI, and the p4est library. We discuss the design and implementation of the framework. Several benchmark problems are considered, in which Euler's equations of gas dynamics are solved using explicit time integration. These benchmarks are performed in both 2D and 3D, using static and adaptive meshes, for varying problem sizes on different hardware. Our results show that AMR simulations can be carried out efficiently on GPUs, even when using relatively small grid blocks of 838^3 or 16316^3 cells. With NVIDIA's nvfortran compiler similar performance is obtained with OpenACC and OpenMP offloading. Initial results with the gfortran compiler and OpenACC demonstrate the portability of foap4.

Paper details

vlnc:W_gce3mv52
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…