FluidFFT: common API (C++ and Python) for Fast Fourier Transform HPC libraries

Ashwin Vishnu Mohanan, Cyrille Bonamy, Pierre Augier
Linne Flow Centre, Department of Mechanics, KTH, 10044 Stockholm, Sweden
arXiv:1807.01775 [cs.MS], (3 Jul 2018)


   title={FluidFFT: common API (C++ and Python) for Fast Fourier Transform HPC libraries},

   author={Mohanan, Ashwin Vishnu and Bonamy, Cyrille and Augier, Pierre},






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 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.
Rating: 3.5/5. From 4 votes.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: