Skip to main content
QUICK REVIEW

[Paper Review] Modern Gyrokinetic Particle-In-Cell Simulation of Fusion Plasmas on Top Supercomputers

Bei Wang, S. Ethier|arXiv (Cornell University)|Oct 19, 2015
Magnetic confinement fusion researchPhysics and Astronomy26 references5 citations
TL;DR

This paper presents GTC-P, a highly scalable, modernized gyrokinetic particle-in-cell code optimized for exascale supercomputers, enabling unprecedented 5D simulations of ion-temperature-gradient turbulence in fusion plasmas. By introducing 2D domain decomposition, advanced thread-level optimizations, and heterogeneous accelerator support (GPU and Xeon Phi), GTC-P achieves extreme scalability and performance across diverse HPC architectures, enabling long-duration, high-resolution simulations of ITER-scale plasmas with reduced transport levels compared to prior codes.

ABSTRACT

The Gyrokinetic Toroidal Code at Princeton (GTC-P) is a highly scalable and portable particle-in-cell (PIC) code. It solves the 5D Vlasov-Poisson equation featuring efficient utilization of modern parallel computer architectures at the petascale and beyond. Motivated by the goal of developing a modern code capable of dealing with the physics challenge of increasing problem size with sufficient resolution, new thread-level optimizations have been introduced as well as a key additional domain decomposition. GTC-P's multiple levels of parallelism, including inter-node 2D domain decomposition and particle decomposition, as well as intra-node shared memory partition and vectorization have enabled pushing the scalability of the PIC method to extreme computational scales. In this paper, we describe the methods developed to build a highly parallelized PIC code across a broad range of supercomputer designs. This particularly includes implementations on heterogeneous systems using NVIDIA GPU accelerators and Intel Xeon Phi (MIC) co-processors and performance comparisons with state-of-the-art homogeneous HPC systems such as Blue Gene/Q. New discovery science capabilities in the magnetic fusion energy application domain are enabled, including investigations of Ion-Temperature-Gradient (ITG) driven turbulence simulations with unprecedented spatial resolution and long temporal duration. Performance studies with realistic fusion experimental parameters are carried out on multiple supercomputing systems spanning a wide range of cache capacities, cache-sharing configurations, memory bandwidth, interconnects and network topologies. These performance comparisons using a realistic discovery-science-capable domain application code provide valuable insights on optimization techniques across one of the broadest sets of current high-end computing platforms worldwide.

Motivation & Objective

  • To address the scalability and performance limitations of legacy gyrokinetic PIC codes when simulating large-scale fusion plasmas, such as ITER.
  • To overcome memory bottlenecks in existing 1D domain decomposition by introducing a new 2D domain decomposition in radial and toroidal directions.
  • To enable long-duration, high-resolution simulations of microturbulence in tokamaks using modern supercomputing architectures, including heterogeneous systems with GPUs and Xeon Phi accelerators.
  • To optimize performance across diverse HPC platforms by analyzing memory bandwidth, cache hierarchy, and interconnect effects on PIC workloads.
  • To support discovery science in magnetic fusion energy by enabling simulations with unprecedented spatial resolution and temporal duration.

Proposed method

  • Implementing 2D domain decomposition across radial and toroidal dimensions to reduce per-process memory footprint and improve load balancing.
  • Introducing particle decomposition within each domain to maintain load balance and enable strong scaling across thousands of compute nodes.
  • Leveraging shared memory parallelism via OpenMP and vectorization for intra-node optimization on CPU architectures.
  • Porting key kernels to NVIDIA GPUs and Intel Xeon Phi co-processors using CUDA and offload directives, respectively, to exploit data-level and thread-level parallelism.
  • Using two-sided MPI for distributed memory communication and planning migration to one-sided MPI (MPI-3.0) for improved scalability on large systems.
  • Applying numerical dissipation to stabilize long-time simulations, replacing the previous heat bath model to improve energy conservation and reduce artificial transport.

Experimental results

Research questions

  • RQ1How does 2D domain decomposition improve memory scalability and performance in 5D gyrokinetic PIC simulations compared to 1D decomposition?
  • RQ2What are the performance bottlenecks of PIC codes on modern heterogeneous supercomputers, particularly regarding memory bandwidth, data movement, and PCIe overhead?
  • RQ3How do system-level factors such as cache hierarchy, memory bandwidth, and interconnect topology affect the performance of gyrokinetic simulations on diverse HPC platforms?
  • RQ4To what extent can GTC-P achieve strong scaling on petascale and exascale-class systems while maintaining high resolution and long simulation duration?
  • RQ5How do different numerical stabilization methods (e.g., numerical dissipation vs. heat bath) affect transport levels and energy conservation in long-term microturbulence simulations?

Key findings

  • GTC-P successfully scales to up to 32,768 compute nodes on the Mira supercomputer, enabling simulations of plasma devices up to 1000 times the minor radius of standard configurations.
  • The 2D domain decomposition reduces per-process memory requirements significantly, allowing simulation of ITER-scale plasmas with high spatial resolution.
  • Performance on GPUs and Xeon Phi co-processors is substantially lower than STREAM bandwidth predictions due to data locality, synchronization, and PCIe transfer overhead.
  • Network performance emerges as a critical bottleneck for large-scale simulations, especially in long-duration runs, highlighting the importance of interconnect efficiency.
  • The time-averaged heat conductivity in GTC-P simulations shows a gradual 'rollover' in transport levels at large plasma sizes, with significantly lower magnitudes than previous low-resolution simulations, suggesting reduced transport in high-resolution regimes.
  • The use of numerical dissipation instead of a heat bath model leads to more accurate long-term energy conservation and lower artificial transport, though the exact cause of transport level differences remains under investigation.

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.