错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

SW-TRRM: Parallel Optimization Research of the Random Ray Method Based on Sunway Bluelight II Supercomputer

  • Zenghui Ren,
  • Tao Liu,
  • Zhaoyuan Liu,
  • Ying Guo,
  • Jingshan Pan,
  • Dawei Zhao,
  • Xiaoming Wu,
  • Meihong Yang

摘要

The Random Ray Method (TRRM) is a new approach to solving partial differential equations (PDEs) based on the method of characteristics (MOC). It employs stochastic rather than deterministic discretization of characteristic tracks and can be used for the numerical simulation of nuclear reactors. In this paper, we propose SW-TRRM, a parallel optimization program for TRRM based on the Sunway Bluelight II Supercomputer for the first time. We present a two-level parallelization scheme that consists of thread-level and process-level optimization. At the thread-level, we introduce three schemes for speeding up within a single core group, including direct parallelization, parallelization by energy groups, and loop structure optimization. At the process-level, we implement task parallelization among multiple processes using domain replication. Moreover, we devise an algorithm to optimize the MPI collective communication across super-nodes. Experimental results show that SW-TRRM achieves a 17.40 \(\times \) speedup within a single core group compared to the original TRRM program. When scaled up to 2,048 processes and 133,120 cores, SW-TRRM maintains good strong and weak scalability.