Computer Physics Communications· 2026Q1
foap4: Adaptive mesh refinement with OpenACC/OpenMP, MPI, and p4est
- 1citations
- Q1SCImago
- 2026year
Short summary
A new adaptive mesh refinement (AMR) framework, foap4, implemented in Fortran with OpenACC/OpenMP and MPI, demonstrates efficient GPU acceleration for solving Euler's gas dynamics equations on static and adaptive meshes.
AI-generated from the title and abstract; the full text is not read.
Key points
- Developed foap4, an AMR framework in Fortran using OpenACC/OpenMP and MPI for GPU acceleration.
- Demonstrated efficient AMR simulations on GPUs for solving Euler's gas dynamics equations.
- Achieved efficient performance with small grid blocks (8^3 or 16^3 cells).
- Showed comparable performance between OpenACC and OpenMP offloading with NVIDIA's nvfortran compiler.
- Highlighted the portability of foap4 with initial gfortran compiler results.
AI-generated from the title and abstract; the full text is not read.
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 8 3 or 16 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.
The authors' abstract, as published at the source. Computer Physics Communications, 2026 · DOI ↗
Continue with a free account
Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. A new account opens the takeaways for its first 3 days.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Hardware and Architecture
Hardware and ArchitectureComputer Science