Skip to main content
QUICK REVIEW

[Paper Review] PKDGRAV3: Beyond Trillion Particle Cosmological Simulations for the Next Era of Galaxy Surveys

Douglas M. Potter, Joachim Stadel|arXiv (Cornell University)|Sep 27, 2016
Scientific Research and DiscoveriesPhysics and Astronomy8 citations
TL;DR

PKDGRAV3 enables the first 2 trillion particle cosmological simulation in under 80 hours on Piz Daint using GPU-accelerated nodes, leveraging the Fast Multipole Method and adaptive time steps. It achieves peak performance of 10 Petaflops and demonstrates feasibility for 8 trillion particle simulations, setting a new benchmark for time-to-solution in large-scale N-body simulations critical for next-generation galaxy surveys.

ABSTRACT

We report on the successful completion of a 2 trillion particle cosmological simulation to z=0 run on the Piz Daint supercomputer (CSCS, Switzerland), using 4000+ GPU nodes for a little less than 80h of wall-clock time or 350,000 node hours. Using multiple benchmarks and performance measurements on the US Oak Ridge National Laboratory Titan supercomputer, we demonstrate that our code PKDGRAV3, delivers, to our knowledge, the fastest time-to-solution for large-scale cosmological N-body simulations. This was made possible by using the Fast Multipole Method in conjunction with individual and adaptive particle time steps, both deployed efficiently (and for the first time) on supercomputers with GPU-accelerated nodes. The very low memory footprint of PKDGRAV3 allowed us to run the first ever benchmark with 8 trillion particles on Titan, and to achieve perfect scaling up to 18000 nodes and a peak performance of 10 Pflops.

Motivation & Objective

  • To enable extreme-scale cosmological simulations with >2 trillion particles to meet the accuracy demands of upcoming galaxy surveys.
  • To reduce time-to-solution for large N-body simulations to make them viable for iterative cosmological analysis pipelines.
  • To demonstrate scalability and performance on modern GPU-accelerated supercomputers like Piz Daint and Titan.
  • To achieve sub-1% accuracy in matter power spectrum predictions across linear to highly non-linear scales.
  • To establish the feasibility of 8 trillion particle simulations for future theoretical modeling of dark energy and alternative gravity models.

Proposed method

  • Implementation of the Fast Multipole Method (FMM) for efficient O(N log N) gravity calculations in N-body simulations.
  • Adoption of individual and adaptive particle time steps to improve energy conservation and reduce computational load.
  • Optimization of the code for GPU-accelerated supercomputers, minimizing memory footprint per particle.
  • Use of on-the-fly analysis to reduce post-processing needs and streamline simulation output.
  • Benchmarking on Titan (ORNL) and Piz Daint (CSCS) to validate performance and scaling across 18,000 nodes.
  • Co-design of algorithms and hardware to maintain performance gains beyond Moore’s Law.

Experimental results

Research questions

  • RQ1Can cosmological N-body simulations with 2 trillion particles be completed in under 80 hours on a modern GPU-based supercomputer?
  • RQ2What performance and scaling characteristics does PKDGRAV3 achieve on 18,000 GPU nodes at Titan?
  • RQ3How does the combination of FMM and adaptive time steps improve accuracy and efficiency in extreme-scale simulations?
  • RQ4To what extent can memory footprint and time-to-solution be minimized to enable simulations beyond 8 trillion particles?
  • RQ5Can such simulations be integrated into data analysis pipelines for future galaxy surveys, replacing traditional post-processing?

Key findings

  • A 2 trillion particle cosmological simulation was successfully completed in 79.5 hours of wall-clock time on 4,000 GPU nodes of Piz Daint.
  • The simulation achieved a peak performance of 10 Petaflops on 18,000 nodes of the Titan supercomputer, demonstrating perfect scaling.
  • An 8 trillion particle benchmark was successfully run on Titan, confirming the feasibility of simulations beyond 2 trillion particles.
  • The code achieved excellent strong scaling up to 18,000 nodes, with performance matching theoretical predictions.
  • Time-to-solution was reduced to under 10 hours for a 1 trillion particle simulation on Titan, indicating potential for 8-hour runs within the decade.
  • Two transient hardware issues—node underperformance and GPU work-handling failure—were identified and mitigated, with minimal impact on total runtime.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.