Cell Code Smilei中粒子的任务编程实现
A Task Programming Implementation for the Particle in Cell Code Smilei
摘要:
提出了一种利用任务编程在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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。