Xian Zhang , Shu Li , Xin Wang , Danhua ShangGuan , Shichang Liu
{"title":"Optimization of heterogeneous parallel algorithm for Monte Carlo neutron transport simulation aiming at thread divergence Issues","authors":"Xian Zhang , Shu Li , Xin Wang , Danhua ShangGuan , Shichang Liu","doi":"10.1016/j.anucene.2025.111508","DOIUrl":null,"url":null,"abstract":"<div><div>The Monte Carlo simulation of large-scale neutron transport problems has always faced the problem of slow computation. In order to fully exploit the acceleration advantage of heterogeneous parallelism on the Monte Carlo neutron transport simulation, this paper carries out research around the history-based neutron tracking algorithm, deeply explores the adaptation of the Monte Carlo algorithm and heterogeneous parallelism. Aiming at the thread divergence problem, optimization strategies for particle tracking algorithm are proposed to ensure load balancing among parallel threads. In addition, to mitigate the impact of global memory access latency, the memory layout of the particle state data is reasonably arranged by comprehensively considering the random memory access of Monte Carlo algorithm and the hardware characteristics of GPU. The reliability and efficiency of heterogeneous parallel algorithm are validated in calculations of benchmarks, the computing performance on an NVIDIA A800 GPU is equivalent to the performance of 62–87 CPU cores.</div></div>","PeriodicalId":8006,"journal":{"name":"Annals of Nuclear Energy","volume":"219 ","pages":"Article 111508"},"PeriodicalIF":1.9000,"publicationDate":"2025-04-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annals of Nuclear Energy","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0306454925003251","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"NUCLEAR SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
The Monte Carlo simulation of large-scale neutron transport problems has always faced the problem of slow computation. In order to fully exploit the acceleration advantage of heterogeneous parallelism on the Monte Carlo neutron transport simulation, this paper carries out research around the history-based neutron tracking algorithm, deeply explores the adaptation of the Monte Carlo algorithm and heterogeneous parallelism. Aiming at the thread divergence problem, optimization strategies for particle tracking algorithm are proposed to ensure load balancing among parallel threads. In addition, to mitigate the impact of global memory access latency, the memory layout of the particle state data is reasonably arranged by comprehensively considering the random memory access of Monte Carlo algorithm and the hardware characteristics of GPU. The reliability and efficiency of heterogeneous parallel algorithm are validated in calculations of benchmarks, the computing performance on an NVIDIA A800 GPU is equivalent to the performance of 62–87 CPU cores.
期刊介绍:
Annals of Nuclear Energy provides an international medium for the communication of original research, ideas and developments in all areas of the field of nuclear energy science and technology. Its scope embraces nuclear fuel reserves, fuel cycles and cost, materials, processing, system and component technology (fission only), design and optimization, direct conversion of nuclear energy sources, environmental control, reactor physics, heat transfer and fluid dynamics, structural analysis, fuel management, future developments, nuclear fuel and safety, nuclear aerosol, neutron physics, computer technology (both software and hardware), risk assessment, radioactive waste disposal and reactor thermal hydraulics. Papers submitted to Annals need to demonstrate a clear link to nuclear power generation/nuclear engineering. Papers which deal with pure nuclear physics, pure health physics, imaging, or attenuation and shielding properties of concretes and various geological materials are not within the scope of the journal. Also, papers that deal with policy or economics are not within the scope of the journal.