Optimizing BIT1, a Particle-in-Cell Monte Carlo Code, with OpenMP/OpenACC and GPU Acceleration

被引:0
|
作者
Williams, Jeremy J. [1 ]
Liu, Felix [1 ]
Tskhakaya, David [2 ]
Costea, Stefan [3 ]
Podolnik, Ales [2 ]
Markidis, Stefano [1 ]
机构
[1] KTH Royal Inst Technol KTH, Stockholm, Sweden
[2] CAS IPP CAS, Inst Plasma Phys, Prague, Czech Republic
[3] Univ Ljubljana UL, LeCAD, Ljubljana, Slovenia
来源
关键词
OpenMP; Task-Based Parallelism; OpenACC; Hybrid Programming; GPU Offloading; Large-Scale PIC Simulations;
D O I
10.1007/978-3-031-63749-0_22
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
On the path toward developing the first fusion energy devices, plasma simulations have become indispensable tools for supporting the design and development of fusion machines. Among these critical simulation tools, BIT1 is an advanced Particle-in-Cell code with Monte Carlo collisions, specifically designed for modeling plasma-material interaction and, in particular, analyzing the power load distribution on tokamak divertors. The current implementation of BIT1 relies exclusively on MPI for parallel communication and lacks support for GPUs. In this work, we address these limitations by designing and implementing a hybrid, shared-memory version of BIT1 capable of utilizing GPUs. For shared-memory parallelization, we rely on OpenMP and OpenACC, using a task-based approach to mitigate load-imbalance issues in the particle mover. On an HPE Cray EX computing node, we observe an initial performance improvement of approximately 42%, with scalable performance showing an enhancement of about 38% when using 8 MPI ranks. Still relying on OpenMP and OpenACC, we introduce the first version of BIT1 capable of using GPUs. We investigate two different data movement strategies: unified memory and explicit data movement. Overall, we report BIT1 data transfer findings during each PIC cycle. Among BIT1 GPU implementations, we demonstrate performance improvement through concurrent GPU utilization, especially when MPI ranks are assigned to dedicated GPUs. Finally, we analyze the performance of the first BIT1 GPU porting with the NVIDIA Nsight tools to further our understanding of BIT1's computational efficiency for large-scale plasma simulations, capable of exploiting current supercomputer infrastructures.
引用
收藏
页码:316 / 330
页数:15
相关论文
共 50 条
  • [21] A particle-in-cell/Monte Carlo simulation of a capacitively coupled chlorine discharge
    Huang, Shuo
    Gudmundsson, J. T.
    PLASMA SOURCES SCIENCE & TECHNOLOGY, 2013, 22 (05):
  • [23] Kinetic properties of particle-in-cell simulations compromised by Monte Carlo collisions
    Turner, MM
    PHYSICS OF PLASMAS, 2006, 13 (03)
  • [24] Particle-in-cell Monte Carlo simulation of plasma for inner coating of a pipe
    Miyagawa, Y
    Nakadate, H
    Tanaka, M
    Ikeyama, M
    Miyagawa, S
    SURFACE & COATINGS TECHNOLOGY, 2005, 196 (1-3): : 155 - 161
  • [25] Comparison of collision rates in particle-in-cell, Monte Carlo, and Boltzmann codes
    Verboncoeur, JP
    Parker, GJ
    Penetrante, BM
    Morgan, WL
    JOURNAL OF APPLIED PHYSICS, 1996, 80 (03) : 1299 - 1303
  • [26] Particle-in-cell Monte Carlo modeling of Langmuir probes in an Ar plasma
    Cenian, A
    Chemukho, A
    Bogaerts, A
    Gijbels, R
    Leys, C
    JOURNAL OF APPLIED PHYSICS, 2005, 97 (12)
  • [27] Particle-in-Cell/Monte Carlo Simulation of Positive Streamers With Photoionization Model
    Li, Yongdong
    Wang, Ruopeng
    Zhang, Qiaogen
    Zhou, Yan
    Wang, Hongguang
    Liu, Chunliang
    IEEE TRANSACTIONS ON PLASMA SCIENCE, 2011, 39 (11) : 2226 - 2227
  • [28] Hybrid Monte Carlo particle-in-cell simulation of an ion thruster plume
    VanGilder, DB
    Font, GI
    Boyd, ID
    JOURNAL OF PROPULSION AND POWER, 1999, 15 (04) : 530 - 538
  • [29] Efficient GPU implementation of the Particle-in-Cell/Monte-Carlo collisions method for 1D simulation of low-pressure capacitively
    Juhasz, Zoltan
    Durian, Jan
    Derzsi, Aranka
    Matejcik, Stefan
    Donko, Zoltan
    Hartmann, Peter
    COMPUTER PHYSICS COMMUNICATIONS, 2021, 263
  • [30] The effects of particle recycling on the divertor plasma: A particle-in-cell with Monte Carlo collision simulation
    Chang, Mingyu
    Sang, Chaofeng
    Sun, Zhenyue
    Hu, Wanpeng
    Wang, Dezhen
    PHYSICS OF PLASMAS, 2018, 25 (05)