Saved in:
Bibliographic Details
Main Authors: Teunissen, Jannis, Sánchez, Héctor R. Olivares, Vos, Jesse, Oostrum, Leon, Hidding, Johan, Azizi, Victor, Zhou, Yuhao, Wu, Hao, Kelly, Adrian, Willocx, Olaf, Xia, Chun, Keppens, Rony, Porth, Oliver
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.07612
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909026006073344
author Teunissen, Jannis
Sánchez, Héctor R. Olivares
Vos, Jesse
Oostrum, Leon
Hidding, Johan
Azizi, Victor
Zhou, Yuhao
Wu, Hao
Kelly, Adrian
Willocx, Olaf
Xia, Chun
Keppens, Rony
Porth, Oliver
author_facet Teunissen, Jannis
Sánchez, Héctor R. Olivares
Vos, Jesse
Oostrum, Leon
Hidding, Johan
Azizi, Victor
Zhou, Yuhao
Wu, Hao
Kelly, Adrian
Willocx, Olaf
Xia, Chun
Keppens, Rony
Porth, Oliver
contents GPUs and other accelerators are increasingly used for scientific computing. In the future, we want to add GPU support to 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, 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 with OpenACC and MPI, even when using relatively small grid blocks of $8^3$ or $16^3$ cells.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07612
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle foap4: Adaptive mesh refinement with OpenACC, MPI, and p4est
Teunissen, Jannis
Sánchez, Héctor R. Olivares
Vos, Jesse
Oostrum, Leon
Hidding, Johan
Azizi, Victor
Zhou, Yuhao
Wu, Hao
Kelly, Adrian
Willocx, Olaf
Xia, Chun
Keppens, Rony
Porth, Oliver
Computational Physics
GPUs and other accelerators are increasingly used for scientific computing. In the future, we want to add GPU support to 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, 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 with OpenACC and MPI, even when using relatively small grid blocks of $8^3$ or $16^3$ cells.
title foap4: Adaptive mesh refinement with OpenACC, MPI, and p4est
topic Computational Physics
url https://arxiv.org/abs/2605.07612