一种广义大规模并行超高阶FFT Maxwell求解器
A generalized massively parallel ultra-high order FFT-based Maxwell solver
摘要:
无色散的超高阶基于FFT的Maxwell解算器最近被证明是至关重要的大范围的应用,包括高保真建模的高强度激光与物质的相互作用与粒子在细胞(PIC)的代码。为了实现这些求解器的大规模并行缩放,最近提出了一种新的并行化技术,该技术包括将模拟域分成几个处理器子域,在每个子域边界处附加保护区域。Maxwell方程在每个子域上使用本地共享存储器FFT(而不是单个分布式全局FFT)独立地推进。这意味着在子域边界处的小截断误差,其幅度取决于保护区域的大小和Maxwell求解器的阶数。对于中等数量的保护单元(<10),这种“本地”技术被证明在多达一百万个核心上具有高度可扩展性。然而,取决于目标应用,减轻截断误差所需的保护单元的数量可能非常大,这将严重限制该技术的并行效率,因为要在子域之间交换大量的保护单元。在这种情况下,我们提出了一种新的“混合”并行化技术,确保非常好的缩放基于FFT的求解器与任意高数量的保护单元。它包括在本地处理器组上执行分布式FFT,保护区域现在附加到每个处理器组的边界。在Maxwell求解器和PIC循环的其他部分使用对偶区域分解方法,以保持模拟负载平衡。这种“混合”技术在开源的exascale库PICSAR中实现。基准测试表明,对于大量的保护单元($>16$),“混合”技术提供了一个$\times 3$的速度和$\times 8$内存节省相比,“本地”的。
英文摘要:
Dispersion-free ultra-high order FFT-based Maxwell solvers have recently proven to be paramount to a large range of applications, including the high-fidelity modeling of high-intensity laser-matter interactions with Particle-In-Cell (PIC) codes. To enable a massively parallel scaling of these solvers, a novel parallelization technique was recently proposed, which consists in splitting the simulation domain into several processor sub-domains, with guard regions appended at each sub-domain boundaries. Maxwell's equations are advanced independently on each sub-domain using local shared-memory FFTs (instead of a single distributed global FFT). This implies small truncation errors at sub-domain boundaries, the amplitude of which depends on guard regions sizes and order of the Maxwell solver. For a moderate number of guard cells (<10) , this 'local' technique proved to be highly scalable on up to a million cores. Yet, depending on the targeted applications, the number of guard cells required to mitigate truncations errors might be very large, which would severely limit the parallel efficiency of this technique due to the large volume of guard cells to be exchanged between sub-domains. In this context, we propose a novel 'hybrid' parallelization technique that ensures very good scaling of FFT-based solvers with an arbitrarily high number of guard cells. It consists in performing distributed FFTs on local groups of processors with guard regions now appended to boundaries of each group of processors. A dual domain decomposition method is used for the Maxwell solver and other parts of the PIC cycle to keep the simulation load-balanced. This 'hybrid' technique was implemented in the open source exascale library PICSAR. Benchmarks show that for a large number of guard cells ($>16$), the 'hybrid' technique offers a $\times 3$ speed-up and $\times 8$ memory savings compared to the 'local' one.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。