The PLUTO Code on GPUs: Offloading Lagrangian Particle Methods

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Suriano, Alessio, Truzzi, Stefano, Costa, Agnese, Rossazza, Marco, Shukla, Nitin, Mignone, Andrea, Berta, Vittoria, Zanni, Claudio
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908855222403072
author Suriano, Alessio
Truzzi, Stefano
Costa, Agnese
Rossazza, Marco
Shukla, Nitin
Mignone, Andrea
Berta, Vittoria
Zanni, Claudio
author_facet Suriano, Alessio
Truzzi, Stefano
Costa, Agnese
Rossazza, Marco
Shukla, Nitin
Mignone, Andrea
Berta, Vittoria
Zanni, Claudio
contents The Lagrangian Particles (LP) module of the PLUTO code offers a powerful simulation tool to predict the non-thermal emission produced by shock accelerated particles in large-scale relativistic magnetized astrophysics flows. The LPs represent ensembles of relativistic particles with a given energy distribution which is updated by solving the relativistic cosmic ray transport equation. The approach consistently includes the effects of adiabatic expansion, synchrotron and inverse Compton emission. The large scale nature of such systems creates boundless computational demand which can only be satisfied by targeting modern computing hardware such as Graphic Processing Units (GPUs). In this work we presents the GPU-compatible C++ re-design of the LP module, that, by means of the programming model OpenACC and the Message Passing Interface library, is capable of targeting both single commercial GPUs as well as multi-node (pre-)exascale computing facilities. The code has been benchmarked up to 28672 parallel CPUs cores and 1024 parallel GPUs demonstrating $\sim(80-90)\%$ weak scaling parallel efficiency and good strong scaling capabilities. Our results demonstrated a speedup of $6$ times when solving that same benchmark test with 128 full GPU nodes (4GPUs per node) against the same amount of full high-end CPU nodes (112 cores per node). Furthermore, we conducted a code verification by comparing its prediction to corresponding analytical solutions for two test cases. We note that this work is part of broader project that aims at developing gPLUTO, the novel and revised GPU-ready implementation of its legacy.
format Preprint
id arxiv_https___arxiv_org_abs_2602_23434
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle The PLUTO Code on GPUs: Offloading Lagrangian Particle Methods
Suriano, Alessio
Truzzi, Stefano
Costa, Agnese
Rossazza, Marco
Shukla, Nitin
Mignone, Andrea
Berta, Vittoria
Zanni, Claudio
High Energy Astrophysical Phenomena
Instrumentation and Methods for Astrophysics
Distributed, Parallel, and Cluster Computing
The Lagrangian Particles (LP) module of the PLUTO code offers a powerful simulation tool to predict the non-thermal emission produced by shock accelerated particles in large-scale relativistic magnetized astrophysics flows. The LPs represent ensembles of relativistic particles with a given energy distribution which is updated by solving the relativistic cosmic ray transport equation. The approach consistently includes the effects of adiabatic expansion, synchrotron and inverse Compton emission. The large scale nature of such systems creates boundless computational demand which can only be satisfied by targeting modern computing hardware such as Graphic Processing Units (GPUs). In this work we presents the GPU-compatible C++ re-design of the LP module, that, by means of the programming model OpenACC and the Message Passing Interface library, is capable of targeting both single commercial GPUs as well as multi-node (pre-)exascale computing facilities. The code has been benchmarked up to 28672 parallel CPUs cores and 1024 parallel GPUs demonstrating $\sim(80-90)\%$ weak scaling parallel efficiency and good strong scaling capabilities. Our results demonstrated a speedup of $6$ times when solving that same benchmark test with 128 full GPU nodes (4GPUs per node) against the same amount of full high-end CPU nodes (112 cores per node). Furthermore, we conducted a code verification by comparing its prediction to corresponding analytical solutions for two test cases. We note that this work is part of broader project that aims at developing gPLUTO, the novel and revised GPU-ready implementation of its legacy.
title The PLUTO Code on GPUs: Offloading Lagrangian Particle Methods
topic High Energy Astrophysical Phenomena
Instrumentation and Methods for Astrophysics
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2602.23434