sputniPIC: an Implicit Particle-in-Cell Code for Multi-GPU Systems

Steven W. D. Chien, Jonas Nylund, Gabriel Bengtsson, Ivy B. Peng, Artur Podobas +1 more
8/10/2020
cs.DC

Official code: KTH-HPC/sputniPIC (3 stars, C++, BSD-2-Clause, last commit 2021-11-26).

Abstract

Large-scale simulations of plasmas are essential for advancing our understanding of fusion devices, space, and astrophysical systems. Particle-in-Cell (PIC) codes have demonstrated their success in simulating numerous plasma phenomena on HPC systems.

Show full abstract

Today, flagship supercomputers feature multiple GPUs per compute node to achieve unprecedented computing power at high power efficiency. PIC codes require new algorithm design and implementation for exploiting such accelerated platforms. In this work, we design and optimize a three-dimensional implicit PIC code, called sputniPIC, to run on a general multi-GPU compute node. We introduce a particle decomposition data layout, in contrast to domain decomposition on CPU-based implementations, to use particle batches for overlapping communication and computation on GPUs. sputniPIC also natively supports different precision representations to achieve speed up on hardware that supports reduced precision. We validate sputniPIC through the well-known GEM challenge and provide performance analysis. We test sputniPIC on three multi-GPU platforms and report a 200-800x performance improvement with respect to the sputniPIC CPU OpenMP version performance. We show that reduced precision could further improve performance by 45% to 80% on the three platforms. Because of these performance improvements, on a single node with multiple GPUs, sputniPIC enables large-scale three-dimensional PIC simulations that were only possible using clusters.

View on arXivView PDF

Code Implementations(1)

KTH-HPC/sputniPICOfficial100%
BSD-2-Clause
32C++, CudaJan 26, 20215 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{chien2020sputnipic,
  title  = {sputniPIC: an Implicit Particle-in-Cell Code for Multi-GPU Systems},
  author = {Steven W. D. Chien and Jonas Nylund and Gabriel Bengtsson and Ivy B. Peng and Artur Podobas and Stefano Markidis},
  year   = {2020},
  eprint = {2008.04397},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.04397}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.04397.svg)](https://codeofpaper.com/paper/2008.04397)

Discussion