Astrophysics on GPUs: introducing AGILE 1.0
Astrophysics on GPUs: introducing AGILE 1.0
Oliver Porth, Adrian Kelly, Olaf Willocx, Hao Wu, Jesse Vos, Yuhao Zhou, Héctor R. Olivares Sánchez, Leon Oostrum, Johan Hidding, Victor Azizi, Chun Xia, Rony Keppens, Jannis Teunissen
AbstractWe present AGILE, a GPU-enabled adaptive mesh refinement (AMR) framework for the solution of (near-) conservation laws which occur in astro- and solar-physical applications. AGILE is written in modern fortran 2003, inherits a part of its modules and mesh handling from MPI-AMRVAC, and achieves excellent GPU performance via OpenACC offloading. We here discuss the design decisions which enable AGILE to perform cost-efficient and scalable deeply nested AMR simulations with moderate block sizes of e.g. $16^3$ cells. AGILE currently implements several physics modules, ie. hydrodynamics, frozen-field hydrodynamics, magnetohydrodynamics and special-relativistic hydrodynamics and can easily be extended further through its modular design. Besides strong scaling tests to up to 2048 GPUs and standard benchmarks which show consistent performance across a large range of devices and problem sizes, we demonstrate AGILE's capabilities by means of state-of-the art science applications with all currently available physics modules.