PARVMEC: An Efficient, Scalable Implementation of the Variational Moments Equilibrium Code

The ability to sustain magnetically confined plasma in a state of stable equilibrium is crucial for optimal and cost-effective operations of fusion devices like tokamaks and stellarators. The Variational Moments Equilibrium Code (VMEC) is the de-facto serial application used by fusion scientists to compute magnetohydrodynamics (MHD) equilibria and study the physics of three dimensional plasmas in confined configurations. Modern fusion energy experiments have larger system scales with more interactive experimental workflows, both demanding faster analysis turnaround times on computational workloads that are stressing the capabilities of sequential VMEC. In this paper, we present PARVMEC, an efficient, parallel version of its sequential counterpart, capable of scaling to thousands of processors on distributed memory machines. PARVMEC is a non-linear code, with multiple numerical physics modules, each with its own computational complexity. A detailed speedup analysis supported by scaling results on 1,024 cores of a Cray XC30 supercomputer is presented. Depending on the mode of PARVMEC execution, speedup improvements of one to two orders of magnitude are reported. PARVMEC equips fusion scientists for the first time with a state-of-the-art capability for rapid, high fidelity analyses of magnetically confined plasmas at unprecedented scales.

[1]  J. L. Shohet,et al.  A helically symmetric stellarator (HSX) , 1999 .

[2]  L. Lao,et al.  Reconstruction of current profile parameters and plasma shapes in tokamaks , 1985 .

[3]  P. Merkel,et al.  Three-dimensional free boundary calculations using a spectral Green's function method , 1986 .

[4]  S. Hirshman,et al.  MOMCON: A spectral code for obtaining three-dimensional magnetohydrodynamic equilibria , 1986 .

[5]  Michel Howard Kevin,et al.  Development and application of HINT2 to helical system plasmas , 2006 .

[6]  F. Leighton,et al.  Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes , 1991 .

[7]  E. C. Crume,et al.  Overview of results from the ATF torsatron , 1990 .

[8]  J. Geiger,et al.  Optimization strategy for the VMEC stellarator equilibrium code , 2013 .

[9]  S. Hirshman,et al.  SIESTA: A scalable iterative equilibrium solver for toroidal applications , 2011 .

[10]  J. C. Whitson,et al.  Steepest‐descent moment method for three‐dimensional magnetohydrodynamic equilibria , 1983 .

[11]  E. A. Lazarus,et al.  V3FIT: a code for three-dimensional equilibrium reconstruction , 2009 .

[12]  George Karypis,et al.  Introduction to Parallel Computing Solution Manual , 2003 .

[13]  Steven Paul Hirshman,et al.  Optimized Fourier representations for three-dimensional magnetic surfaces , 1985 .

[14]  Octavio Betancourt,et al.  BETAS, a spectral code for three-dimensional magnetohydrodynamic equilibrium and nonlinear stability calculations , 1988 .

[15]  Henry S. Greenside,et al.  Calculation of three-dimensional MHD equilibria with islands and stochastic regions , 1986 .