FLUPS:一个基于傅立叶的无界泊松解算器库
FLUPS: a Fourier-based Library of Unbounded Poisson Solvers
摘要:
提出了一种基于傅立叶变换的二维和三维均匀分布网格无界泊松求解器库(FLUPS)。它的目的是处理每一个可能的组合的周期,对称,半无界和完全无界的边界条件的泊松方程的矩形域上的统一分辨率。FLUPS利用3D傅立叶变换的专用实现,以快速和内存高效的方式使用格林函数求解泊松方程。几个格林函数是可用的,可选地与显式正则化,谱截断,或使用格点格林函数,并提供验证的收敛阶从2到类谱。该算法依赖于FFTW库来执行1D转换,而消息传递接口(MPI)通信则支持所需的内存中数据的重新映射。对于后一操作,第一可用实现诉诸于标准的全对全例程。第二个实现,具有非阻塞和持久的点对点通信,然而,被证明是更有效的,在大多数情况下,特别是在利用共享内存并行与OpenMP。该算法的可扩展性,针对大规模并行架构,被证明高达73 720个核心。在三台不同的超级计算机上的计算结果表明,对于典型问题,当核数乘以16时,弱效率保持在40%以上,强效率保持在30%以上。这些数据略好于第三方3D快速傅立叶变换(FFT)工具的预期数据,平均执行时间也延长了20%。
英文摘要:
A Fourier-based Library of Unbounded Poisson Solvers (FLUPS) for 2D and 3D homogeneous distributed grids is presented. It is designed to handle every possible combination of periodic, symmetric, semi-unbounded and fully unbounded boundary conditions for the Poisson equation on rectangular domains with uniform resolution. FLUPS leverages a dedicated implementation of 3D Fourier transforms to solve the Poisson equation using Green's functions, in a fast and memory-efficient way. Several Green's functions are available, optionally with explicit regularization, spectral truncation, or using lattice Green's functions, and provide verified convergence orders from 2 to spectral-like. The algorithm depends on the FFTW library to perform 1D transforms, while Message Passing Interface (MPI) communications enable the required remapping of data in memory. For the latter operation, a first available implementation resorts to the standard all-to-all routines. A second implementation, featuring non-blocking and persistent point-to-point communications, is however shown to be more efficient in a majority of cases and especially while taking advantage of the shared memory parallelism with OpenMP. The scalability of the algorithm, aimed at massively parallel architectures, is demonstrated up to 73 720 cores. The results obtained with three different supercomputers show that the weak efficiency remains above 40\% and the strong efficiency above 30% when the number of cores is multiplied by 16, for typical problems. These figures are slightly better than those expected from a third party 3D Fast Fourier Transform (FFT) tool, with which a 20% longer execution time was also measured on average.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。