arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.01775cs.MSphysics.flu-dyn
收藏

FluidFFT:快速傅立叶变换HPC库的通用API(C++和Python)

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

Ashwin Vishnu Mohanan, Cyrille Bonamy, Pierre Augier

摘要:

Python软件包fluidfft提供了一个通用的Python API,用于顺序、并行和在GPU上使用不同的FFT库(FFTW、P3DFFT、PFFT、cuFFT)执行快速傅立叶变换(FFT)。fluidfft是一个全面的FFT框架,允许Python用户轻松有效地执行FFT和相关任务,例如计算线性算子和能量谱。我们描述了由C++和Cython FFT类,Python“运算符”类和Pythran函数组成的软件包的体系结构。该软件包提供了实用程序,可以轻松地测试自己,并针对特定情况和特定机器对不同的FFT解决方案进行基准测试。我们在三个不同的计算集群和一个微基准上进行了性能扩展分析,表明fluidfft是使用FFT编写高效Python应用程序的一个有趣的解决方案。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑