论文标题

单元格代码中粒子的任务编程实现

A Task Programming Implementation for the Particle in Cell Code Smilei

论文作者

Massimo, Francesco, Lobet, Mathieu, Derouillat, Julien, Beck, Arnaud, Bouchard, Guillaume, Grech, Mickael, Pérez, Frédéric, Vinci, Tommaso

论文摘要

提出了使用任务编程在Code Smilei中电磁粒子在细胞环中的实现。通过OpenMP,宏观粒子的操作是根据任务制定的。该公式允许异步执行符合宏观粒子操作的数据依赖性,这是该代码中最耗时的部分,用于等离子物理学的仿真。通过某些基准测试表明,这种公式可以帮助减轻OpenMP线程级别的这些操作的负载不平衡。讨论了负载型物理病例的强缩放率的改进。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源