FLUPS: a Fourier-based Library of Unbounded Poisson Solvers

Denis-Gabriel Caprace, Thomas Gillis, Philippe Chatelain
6/16/2020
physics.comp-ph

Official code: vortexlab-uclouvain/flups (21 stars, C++, last commit 2026-11-02).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

a Fourier-based Library of Unbounded Poisson Solvers

213C++, PythonOct 1, 20194 weeks agoNOASSERTION

Similar Papers

Cite this paper

@article{caprace2020flups,
  title  = {FLUPS: a Fourier-based Library of Unbounded Poisson Solvers},
  author = {Denis-Gabriel Caprace and Thomas Gillis and Philippe Chatelain},
  year   = {2020},
  eprint = {2006.09300},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.09300}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.09300.svg)](https://codeofpaper.com/paper/2006.09300)

Discussion