Fine-sorting one-dimensional particle-in-cell algorithm with Monte-Carlo collisions on a graphics processing unit

被引:34
作者
Mertmann, Philipp [1 ]
Eremin, Denis [2 ]
Mussenbrock, Thomas [2 ]
Brinkmann, Ralf Peter [2 ]
Awakowicz, Peter [1 ]
机构
[1] Ruhr Univ Bochum, Inst Elect Engn & Plasma Technol, D-44801 Bochum, Germany
[2] Ruhr Univ Bochum, Inst Theoret Elect Engn, D-44801 Bochum, Germany
关键词
GPU; PIC; Particle-in-cell; Sorting algorithm; CUDA; CROSS-SECTIONS; SIMULATIONS; COEFFICIENTS; CODES; PLUS;
D O I
10.1016/j.cpc.2011.05.012
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Particle-in-cell (PIC) simulations with Monte-Carlo collisions are used in plasma science to explore a variety of kinetic effects. One major problem is the long run-time of such simulations. Even on modern computer systems, PIC codes take a considerable amount of time for convergence. Most of the computations can be massively parallelized, since particles behave independently of each other within one time step. Current graphics processing units (GPUs) offer an attractive means for execution of the parallelized code. In this contribution we show a one-dimensional PIC code running on NVIDIA (R) GPUs using the CUDA (TM) environment. A distinctive feature of the code is that size of the cells that the code uses to sort the particles with respect to their coordinates is comparable to size of the grid cells used for discretization of the electric field. Hence, we call the corresponding algorithm "fine-sorting". Implementation details and optimization of the code are discussed and the speed-up compared to classical CPU approaches is computed. (C) 2011 Elsevier By. All rights reserved.
引用
收藏
页码:2161 / 2167
页数:7
相关论文
共 23 条
[1]   Quantum Monte Carlo on graphical processing units [J].
Anderson, Amos G. ;
Goddard, William A., III ;
Schroeder, Peter .
COMPUTER PHYSICS COMMUNICATIONS, 2007, 177 (03) :298-306
[2]   General purpose molecular dynamics simulations fully implemented on graphics processing units [J].
Anderson, Joshua A. ;
Lorenz, Chris D. ;
Travesset, A. .
JOURNAL OF COMPUTATIONAL PHYSICS, 2008, 227 (10) :5342-5359
[3]   Uncontracted Rys Quadrature Implementation of up to G Functions on Graphical Processing Units [J].
Asadchev, Andrey ;
Allada, Veerendra ;
Felder, Jacob ;
Bode, Brett M. ;
Gordon, Mark S. ;
Windus, Theresa L. .
JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2010, 6 (03) :696-704
[4]   Accelerating Monte Carlo simulations of photon transport in a voxelized geometry using a massively parallel graphics processing unit [J].
Badal, Andreu ;
Badano, Aldo .
MEDICAL PHYSICS, 2009, 36 (11) :4878-4880
[5]  
BIRDSALL C. K., 2005, Plasma Physics via Computer Simulation
[6]   PARTICLE-IN-CELL CHARGED-PARTICLE SIMULATIONS, PLUS MONTE-CARLO COLLISIONS WITH NEUTRAL ATOMS, PIC-MCC [J].
BIRDSALL, CK .
IEEE TRANSACTIONS ON PLASMA SCIENCE, 1991, 19 (02) :65-85
[7]  
Conte S.D., 1972, ELEMENTARY NUMERICAL
[8]   An Implementation of the Smooth Particle Mesh Ewald Method on GPU Hardware [J].
Harvey, M. J. ;
De Fabritiis, G. .
JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2009, 5 (09) :2371-2377
[9]  
Hockney R., 1988, Computer simulation using particles
[10]   Introduction to MOLFLOW plus : New graphical processing unit-based Monte Carlo code for simulating molecular flows and for calculating angular coefficients in the compute unified device architecture environment [J].
Kersevan, R. ;
Pons, J. -L. .
JOURNAL OF VACUUM SCIENCE & TECHNOLOGY A, 2009, 27 (04) :1017-1023