4.6 Article

FFT, FMM, OR MULTIGRID? A COMPARATIVE STUDY OF STATE-OF-THE-ART POISSON SOLVERS FOR UNIFORM AND NONUNIFORM GRIDS IN THE UNIT CUBE

Journal

SIAM JOURNAL ON SCIENTIFIC COMPUTING
Volume 38, Issue 3, Pages C280-C306

Publisher

SIAM PUBLICATIONS
DOI: 10.1137/15M1010798

Keywords

Poisson solvers; fast Fourier transform; fast multipole method; multigrid; parallel computing; exascale algorithms; co-design

Funding

  1. AFOSR [FA9550-12-10484]
  2. NSF [CCF-1337393]
  3. U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Applied Mathematics program [DE-SC0010518, DE-SC0009286]
  4. NIH [10042242]
  5. DARPA [W911NF-115-2-0121]
  6. Technische Universitat Munchen-Institute for Advanced Study - German Excellence Initiative (European Union Seventh Framework Programme) [291763]
  7. Direct For Computer & Info Scie & Enginr [1337393] Funding Source: National Science Foundation

Ask authors/readers for more resources

From molecular dynamics and quantum chemistry, to plasma physics and computational astrophysics, Poisson solvers in the unit cube are used in many applications in computational science and engineering. In this work, we benchmark and discuss the performance of the scalable methods for the Poisson problem which are used widely in practice: the fast Fourier transform (FFT), the fast multipole method (FMM), the geometric multigrid (GMG), and algebraic multigrid (AMG). Our focus is on solvers supporting high-order, highly nonuniform discretizations. To allow comparisons with standard libraries we also compare adaptive solvers with solvers specialized for problems on regular grids, that is, FFT and regular-stencil multigrid, since both are very popular algorithms for several practical applications. For the multigrid, we use the finite element variant of a high-performance geometric multigrid (HPGMG) benchmark. In total we compare five different codes, three of which are developed in our group. Our FFT, GMG, and FMM are parallel solvers that use high-order approximation schemes for Poisson problems with continuous forcing functions (the source or right-hand side). Our FFT code is based on the FFTW for single node parallelism. The AMG code is from the Trilinos library from the Sandia National Laboratory. Our GMG and FMM support octree based mesh refinement and variable coefficients and enable highly nonuniform discretizations. The GMG actually also supports complex (noncubic) geometries using a forest of octrees. We examine and report results for weak scaling, strong scaling, and time to solution for uniform and highly refined grids. We present results on the Stampede system at the Texas Advanced Computing Center and on the Titan system at the Oak Ridge National Laboratory. In our largest test case, we solved a problem with 600 billion unknowns on 229,379 cores of Titan. Overall, all methods scale quite well to these problem sizes. We have tested all of the methods with different source functions (the right-hand side in the Poisson problem). Our results indicate that FFT is the method of choice for smooth source functions that require uniform resolution. However, FFT loses its performance advantage when the source function has highly localized features like internal sharp layers. FMM and GMG considerably outperform FFT for those cases. The distinction between FMM and GMG is less pronounced and is sensitive to the quality (from a performance point of view) of the underlying implementations. The high-order accurate versions of GMG and FMM significantly outperform their low-order accurate counterparts.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available