English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT

Released

Book Chapter

Gadget3 on GPUs with OpenACC

MPS-Authors
/persons/resource/persons16104

Dolag,  Klaus
Computational Structure Formation, MPI for Astrophysics, Max Planck Society;

External Resource
No external resources are shared
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)
There are no public fulltexts stored in PuRe
Supplementary Material (public)
There is no public supplementary material available
Citation

RAGAGNIN, A., Dolag, K., WAGNER, M., GHELLER, C., ROFFLER, C., GOZ, D., et al. (2020). Gadget3 on GPUs with OpenACC. In Parallel Computing: Technology Trends (pp. 209-218). Amsterdam: IOS Press.


Cite as: https://hdl.handle.net/21.11116/0000-0008-2B58-6
Abstract
We present preliminary results of a GPU porting of all main Gadget3 modules (gravity computation, SPH density computation, SPH hydrodynamic force, and thermal conduction) using OpenACC directives. Here we assign one GPU to each MPI rank and exploit both the host and accellerator capabilities by overlapping computations on the CPUs and GPUs: while GPUs asynchronously compute interactions between particles within their MPI ranks, CPUs perform tree-walks and MPI communications of neighbouring particles. We profile various portions of the code to understand the origin of our speedup, where we find that a peak speedup is not achieved because of time-steps with few active particles. We run a hydrodynamic cosmological simulation from the Magneticum project, with 2·107 particles, where we find a final total speedup of ≈2. We also present the results of an encouraging scaling test of a preliminary gravity-only OpenACC porting, run in the context of the EuroHack17 event, where the prototype of the porting proved to keep a constant speedup up to 1024 GPUs.