• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2020, Vol. 42 ›› Issue (11): 1922-1928.

Previous Articles     Next Articles

Heterogeneous cooperative computing of particle transport based on Monte Carlo method on the Tianhe 2A system

LI Biao1,LIU Jie1,2   

  1. (1.Science and Technology on Parallel and Distributed Processing Laboratory,
    National University of Defense Technology,Changsha 410073;
    (2.Hunan Key Laboratory of Software Engineering for Complex Systems,Changsha 410073,China)
  • Received:2020-06-10 Revised:2020-07-30 Accepted:2020-11-25 Online:2020-11-25 Published:2020-11-26

Abstract: Particle transport simulation plays an important role in the field of nuclear science and medical radiation therapy. Based on Monte Carlo method, this paper proposes a heterogeneous cooperative algorithm of particle transport on the Tianhe2A system. Based on the asynchronous communication modes (BCL and ACL) of the Tianhe 2A system, a simple and efficient symmetric communication mode between the CPU and the Matrix2000 accelerator is proposed. On the Matrix2000 accelerator, the threadlevel parallelism of the program is developed through OpenMP instructions. The original serial data collection communication mode is optimized, and a new communication mode based on binary tree structure is proposed, which greatly reduces the communication time. On the Tianhe2A system, the parallel program based on CPU/Matrix2000 heterogeneous collaborative computing can be scaled up to 450k cores, and the parallel efficiency compared to 50k cores is stabilized at 22.54%.

Key words: particle transport, heterogeneous collaborative computing, Monte Carlo method, OpenMP, domestic accelerator