使用异步任务的Particle-In-Cell仿真
Particle-In-Cell Simulation using Asynchronous Tasking
摘要:
最近,基于任务的编程模型已经成为一个突出的替代共享内存并行编程范式。这些模型本质上是异步的,它们为动态负载均衡提供了本机支持,并结合了数据流概念来选择性地同步任务。然而,任务模型尚未被广泛采用的HPC社区和有效的优势时,应用于非平凡的,现实世界的HPC应用程序仍然没有得到很好的理解。在本文中,我们研究了并行化的生产电磁粒子在细胞(EM-PIC)代码的动力学等离子体模拟探索不同的策略,使用异步的基于任务的模型。我们的完全异步实现不仅显著优于传统的同步方法,而且还实现了接近完美的48核扩展。
英文摘要:
Recently, task-based programming models have emerged as a prominent alternative among shared-memory parallel programming paradigms. Inherently asynchronous, these models provide native support for dynamic load balancing and incorporate data flow concepts to selectively synchronize the tasks. However, tasking models are yet to be widely adopted by the HPC community and their effective advantages when applied to non-trivial, real-world HPC applications are still not well comprehended. In this paper, we study the parallelization of a production electromagnetic particle-in-cell (EM-PIC) code for kinetic plasma simulations exploring different strategies using asynchronous task-based models. Our fully asynchronous implementation not only significantly outperforms a conventional, synchronous approach but also achieves near perfect scaling for 48 cores.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。