SearcharxivSearch

arXiv subjects

Julien Derouillat

Publications and source records attributed to Julien Derouillat.

2 recordsLinked to original sources

A Task Programming Implementation for the Particle in Cell Code Smilei

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.

cs.DC

Single Domain Multiple Decompositions for Particle-in-Cell simulations

As a multi-purpose Particle-In-Cell (PIC) code, Smilei gathers many different features in a single software. Combining some of them is challenging. In particular, spectral solvers and patch based load balancing have a priori non compatible requirements. This paper introduces the Single Domain Multiple Decompositions (SDMD) method in order to address this issue. To do so, different domain decompositions are used for fields and particles operations. This approach allows to keep small domains for particles, necessary for a good load balancing, while having large domains for the fields. It proves beneficial in mitigating synchronization costs and gives the opportunity to introduce more paralellism in the PIC algorithm on top of providing structures compatible with spectral solvers.

physics.comp-ph