English

Minimizing communication in the multidimensional FFT

Distributed, Parallel, and Cluster Computing 2023-12-12 v2 Numerical Analysis Numerical Analysis

Abstract

We present a parallel algorithm for the fast Fourier transform (FFT) in higher dimensions. This algorithm generalizes the cyclic-to-cyclic one-dimensional parallel algorithm to a cyclic-to-cyclic multidimensional parallel algorithm while retaining the property of needing only a single all-to-all communication step. This is under the constraint that we use at most N\sqrt{N} processors for an FFT on an array with a total of NN elements, irrespective of the dimension dd or the shape of the array. The only assumption we make is that NN is sufficiently composite. Our algorithm starts and ends in the same data distribution. We present our multidimensional implementation FFTU which utilizes the sequential FFTW program for its local FFTs, and which can handle any dimension dd. We obtain experimental results for d5d\leq 5 using MPI on up to 4096 cores of the supercomputer Snellius, comparing FFTU with the parallel FFTW program and with PFFT and heFFTe. These results show that FFTU is competitive with the state of the art and that it allows one to use a larger number of processors, while keeping communication limited to a single all-to-all operation. For arrays of size 102431024^3 and 64564^5, FFTU achieves a speedup of a factor 149 and 176, respectively, on 4096 processors.

Keywords

Cite

@article{arxiv.2203.11795,
  title  = {Minimizing communication in the multidimensional FFT},
  author = {Thomas Koopman and Rob H. Bisseling},
  journal= {arXiv preprint arXiv:2203.11795},
  year   = {2023}
}

Comments

23 pages, 3 figures. The new version has mainly added results in section 4.2 for the package heFFT, following referee comments. Furthermore, small linguistic changes have been made to render the arXiv version identical in text to the final published journal version

R2 v1 2026-06-24T10:22:08.913Z