Software Metapapers
FluidFFT: Common API (C++ and Python) for Fast Fourier Transform HPC Libraries
Authors:
- Ashwin Vishnu Mohanan
- Cyrille Bonamy
- Pierre AugierEmail Pierre Augier
Abstract
The Python package fluidfft provides a common Python API for performing Fast Fourier Transforms (FFT) in sequential, in parallel and on GPU with different FFT libraries (FFTW, P3DFFT, PFFT, cuFFT). fluidfft is a comprehensive FFT framework which allows Python users to easily and efficiently perform FFT and the associated tasks, such as computing linear operators and energy spectra. We describe the architecture of the package composed of C++ and Cython FFT classes, Python “operator” classes and Pythran functions. The package supplies utilities to easily test itself and benchmark the different FFT solutions for a particular case and on a particular machine. We present a performance scaling analysis on three different computing clusters and a microbenchmark showing that fluidfft is an interesting solution to write efficient Python applications using FFT.
Funding statement: This project has indirectly benefited from funding from the foundation Simone et Cino Del Duca de l’Institut de France, the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (grant agreement No 647018-WATU and Euhit consortium) and the Swedish Research Council (Vetenskapsrådet): 2013–5191. We have also been able to use supercomputers of CIMENT/GRICAD, CINES/GENCI (grant 2018-A0040107567) and the Swedish National Infrastructure for Computing (SNIC).
Keywords:
- Year: 2019
- Volume: 7 Issue: 1
- Page/Article: 10
- DOI: 10.5334/jors.238
- Submitted on 2 Jul 2018
- Accepted on 18 Feb 2019
- Published on 1 Apr 2019
- Peer Reviewed