Skip to main content
SHARE
Publication

Balancing Particle and Mesh Computation in a Particle-In-Cell Code...

Publication Type
Conference Paper
Publication Date
Conference Name
CUG 2016
Conference Location
London, United Kingdom
Conference Sponsor
Cray User Group
Conference Date
-

The XGC1 plasma microturbulence particle-in-cell simulation code has both particle-based and mesh-based computational kernels that dominate performance. Both of these are subject to load imbalances that can degrade performance and that evolve during a simulation. Each separately can be addressed adequately, but optimizing just for one can introduce significant load imbalances in the other, degrading overall performance. A technique has been developed based on Golden Section Search that minimizes wallclock time given prior information on wallclock time, and on current particle distribution and mesh cost per cell, and also adapts to evolution in load imbalance in both particle and mesh work. In problems of interest this doubled the performance on full system runs on the XK7 at the Oak Ridge Leadership Computing Facility compared to load balancing only one of the kernels.