Accelerating the numerical simulation of magnetic field lines in tokamaks using the GPU
► Tokamak magnetic field lines are simulated on a GPU. ► Numerical integration of a set of nonlinear differential equations is required. ► Using the GPU yields a significant reduction in processing time compared to the CPU. ► Computational runs that took days now take hours. ► These gains have been...
Saved in:
Published in: | Fusion engineering and design Vol. 86; no. 4; pp. 399 - 406 |
---|---|
Main Authors: | , , , , , , |
Format: | Journal Article |
Language: | English |
Published: |
Amsterdam
Elsevier B.V
01-06-2011
Elsevier |
Subjects: | |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | ► Tokamak magnetic field lines are simulated on a GPU. ► Numerical integration of a set of nonlinear differential equations is required. ► Using the GPU yields a significant reduction in processing time compared to the CPU. ► Computational runs that took days now take hours. ► These gains have been accomplished without significant hardware expense.
trip3d is a field line simulation code that numerically integrates a set of nonlinear magnetic field line differential equations. The code is used to study properties of magnetic islands and stochastic or chaotic field line topologies that are important for designing non-axisymmetric magnetic perturbation coils for controlling plasma instabilities in future machines. The code is very computationally intensive and for large runs can take on the order of days to complete on a traditional single CPU. This work describes how the code was converted from Fortran to C and then restructured to take advantage of GPU computing using NVIDIA's CUDA. The reduction in computing time has been dramatic where runs that previously took days now take hours allowing a scale of problem to be examined that would previously not have been attempted. These gains have been accomplished without significant hardware expense. Performance, correctness, code flexibility, and implementation time have been analyzed to gauge the success and applicability of these methods when compared to the traditional multi-CPU approach. |
---|---|
Bibliography: | ObjectType-Article-2 SourceType-Scholarly Journals-1 ObjectType-Feature-1 content type line 23 DE-AC05-00OR22725 USDOE Office of Science (SC) |
ISSN: | 0920-3796 1873-7196 |
DOI: | 10.1016/j.fusengdes.2011.03.064 |