English

A Task Programming Implementation for the Particle in Cell Code Smilei

Distributed, Parallel, and Cluster Computing 2022-04-28 v1 Computational Physics Plasma Physics

Abstract

An implementation of the electromagnetic Particle in Cell loop in the code Smilei using task programming is presented. Through OpenMP, the macro-particles operations are formulated in terms of tasks. This formulation allows asynchronous execution respecting the data dependencies of the macro-particle operations, the most time-consuming part of the code in simulations of interest for plasma physics. Through some benchmarks it is shown that this formulation can help mitigating the load imbalance of these operations at the OpenMP thread level. The improvements in strong scaling for load-imbalanced physical cases are discussed.

Cite

@article{arxiv.2204.12837,
  title  = {A Task Programming Implementation for the Particle in Cell Code Smilei},
  author = {Francesco Massimo and Mathieu Lobet and Julien Derouillat and Arnaud Beck and Guillaume Bouchard and Mickael Grech and Frédéric Pérez and Tommaso Vinci},
  journal= {arXiv preprint arXiv:2204.12837},
  year   = {2022}
}

Comments

14 pages, 15 figures, conference: Platform for Advanced Scientific Computing 2022 (PASC22)

R2 v1 2026-06-24T11:00:05.326Z