Search arXivSearch

arXiv · 2601.14301

GPU Acceleration and Portability of the TRIMEG Code for Gyrokinetic Plasma Simulations using OpenMP

Abstract

The field of plasma physics heavily relies on simulations to model various phenomena, such as instabilities, turbulence, and nonlinear behaviors that would otherwise be difficult to study from a purely theoretical approach. Simulations are fundamental in accurately setting up experiments, which can be extremely costly and complex. As high-fidelity tools, gyrokinetic simulations play a crucial role in discovering new physics, interpreting experimental results, and improving the design of next-generation devices. However, their high computational costs necessitate the use of acceleration platforms to reduce execution time. This work revolves around the TRIangular MEsh based Gyrokinetic (TRIMEG) code, which performs high-accuracy particle-in-cell plasma simulations in tokamak geometries, leveraging a novel finite element approach. The rise of graphical processing units (GPUs) constitutes an occasion to satisfy such computational needs, by offloading the most expensive portion of the code to the accelerators. The chosen approach features GPU offloading with the OpenMP API, which grants portability of the code to different architectures, namely AMD and NVIDIA. The particle pushing as well as the grid-to-particle operations have been ported to GPU platforms. Compiler limitations had to be overcome, and portions of the code were restructured to be suitable for GPU acceleration. Kernel performance was evaluated by carrying out GPU grid size exploration, as well as scalability studies. In addition, the efficiency of hybrid MPI-OpenMP offloading parallelization was assessed. The speedup of the GPU implementation was calculated by comparing it with the pure CPU version using different rationales. The Ion Temperature Gradient (ITG) mode was simulated using the GPU-accelerated version, and its correctness was verified in terms of the energy growth rate and the two-dimensional mode structures.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Giorgio Daneri. 2026-01-17. GPU Acceleration and Portability of the TRIMEG Code for Gyrokinetic Plasma Simulations using OpenMP. https://arxiv.org/abs/2601.14301

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Scalable Terbium-149 Production from Highly Enriched Gadolinium-150 Targets

We propose a two-stage production method to overcome existing supply-constraints for the alpha-emitter $^{149\mathrm{g}}$Tb, a promising candidate for Targeted Alpha Therapy (TAT) with no existing globally scalable production pathway. Although awaiting experimental measurement of the $^{150}$Gd(p,2n)$^{149\mathrm{g}}$Tb cross section, the proposed method could produce $^{149\mathrm{g}}$Tb at clinical scale and beyond on readily available proton cyclotrons, enabled by production of the extinct but long-lived isotope $^{150}$Gd, a pure alpha emitter with a 1.79 million year half-life. Stage one generates $^{150}$Gd feedstock by irradiating natural Eu or enriched $^{151}$Eu with $\gtrsim$10 MeV protons, neutrons or photons. Stage two produces $^{149\mathrm{g}}$Tb from fabricated $^{150}$Gd targets by driving the $^{150}$Gd(p,2n)$^{149\mathrm{g}}$Tb reaction with $\gtrsim$14 MeV protons, accessible on over 700 reported cyclotrons worldwide. Fast fusion neutrons appear to offer the most scalable pathway for $^{150}$Gd production: even with a large $^{149 \mathrm{g}}$Tb dose size of 1 GBq and 40 million administered doses/yr, we estimate this would require neutrons produced by only 6.8 megawatts of steady-state deuterium-tritium power to produce the required $^{150}$Gd, far below expected capacity in the next decade. The route described here, if validated, would enable $^{149\mathrm{g}}$Tb supply at the scale needed to support clinical development of $^{149\mathrm{g}}$Tb-based TAT.

physics.plasm-ph

Analytic toroidal 3D MHD equilibria and steady Euler flows with invariant surfaces

Families of explicit analytic solutions of the magnetohydrodynamic equilibrium equations are presented, equivalent to steady incompressible Euler flow. The solutions are non-axisymmetric and possess exact nested toroidal flux surfaces. No expansion is made in inverse aspect ratio or in the deviation from axisymmetry. The magnetic field and flux surfaces are given explicitly in Cartesian coordinates using elementary functions. The field, current density, and scalar pressure are smooth over the toroidal domain. The pressure gradient vanishes only on the magnetic axis. One family of solutions has uniform rotational transform $ι=2$, while another family has a sheared $ι$ profile. These counterexamples to Grad's conjecture are valuable for understanding the existence and regularity of 3D equilibria and for testing numerical codes.

physics.plasm-ph

Dynamics of an impulse dielectric barrier discharge in pure ammonia gas using electrical characteristics and imaging analysis

A glow nanosecond discharge from a plane-to-plane impulse dielectric barrier discharge (iDBD) with ammonia gas has been characterised by employing fast imaging and electrical diagnostics. More precisely, the aim of this study is to investigate the dynamics of the discharge establishment under various conditions of applied voltage, pressure, and gas gap. The comparison between the current measurements and the image analysis exposes a strong correlation between the fast excitation and ionization wave velocity and the rising current velocity. This correlation has been found only for diffuse mode discharge since a front wave could be clearly defined, denoted as the luminous propagation front (LPF). Furthermore, this correlation is supported by a proportionality factor of 1.5 10$^{-3}$ which is systematic over the studied conditions. Further investigations are considered to evaluate the relevance of such a value over more parameters.

physics.plasm-ph