Implementation of the CPU/GPU hybrid parallel method of characteristics neutron transport calculation using the heterogeneous cluster with dynamic workload assignment

计算机科学 并行计算 库达 GPU群集 多核处理器 中子输运 超级计算机 消息传递接口 加速 区域分解方法 中央处理器 对称多处理机系统 图形处理单元的通用计算 消息传递 绘图 操作系统 中子 有限元法 物理 热力学 量子力学
作者
Peitao Song,Zhijian Zhang,Qian Zhang,Liang Liang,Qiang Zhao
出处
期刊:Annals of Nuclear Energy [Elsevier]
卷期号:135: 106957-106957 被引量:9
标识
DOI:10.1016/j.anucene.2019.106957
摘要

• A heterogeneous parallel MOC algorithm is implemented with MPI + OpenMP/CUDA model. • A dynamic workload assignment scheme is applied to insure the workload balance. • A performance analysis model is applied to evaluate the parallel algorithm. In recent years, graphics processing units (GPUs) have been adopted in many High-Performance Computing (HPC) systems due to their massive computational power and superior energy efficiency. And accelerating CPU-version computational code on heterogeneous clusters with multi-core CPUs and GPUs has attracted a lot of attention. One of the focus on heterogeneous computing is to efficiently take advantage of all computational resources, including both CPU and GPU available on a cluster. In this paper, a heterogeneous MPI + OpenMP/CUDA parallel algorithm for solving the 2D neutron transport equation with the method of characteristic (MOC) is implemented. In this algorithm, the spatial domain decomposition technique provides the coarse-grained parallelism with the MPI protocol while the fine-grained parallelism is exploited through OpenMP (in CPU calculated domain) and CUDA (in GPU calculated domain) based on the ray parallelization. In order to efficiently leverage the computing power of heterogeneous clusters, a dynamic workload assignment scheme is proposed, which is to distribute the workload based on the runtime performance of CPUs and GPUs in the cluster. Moreover, the strong scaling performance of the MPI + CUDA parallelization is studied through a performance analysis model which provides the detailed impact of the degradation in iteration scheme, the load imbalance issue, the data copy between CPUs and GPUs, and the MPI communication in the MPI + CUDA parallel algorithm. And the corresponding conclusion is still tenable for the MPI + OpenMP/CUDA parallelization. The C5G7 2D benchmark and an extended 2D whole-core problem are calculated with MPI + CUDA parallelization, MPI + OpenMP/CUDA parallelization, and the MPI parallelization for comparison. Numerical results demonstrate that the heterogeneous parallel algorithm maintains the desired accuracy. And the dynamic workload assignment scheme can provide the optimal workload assignment which ideally matches the experimental results. In addition, over 11% improvement is observed in MPI + OpenMP/CUDA parallelization compared against the MPI + CUDA parallelization. Moreover, the CPUs/GPUs heterogeneous clusters significantly outperform the CPUs clusters and one heterogeneous node shows basically five times faster than a CPUs node.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
大模型应助xw1234采纳,获得10
刚刚
Legend_完成签到 ,获得积分10
刚刚
JamesPei应助xiao采纳,获得10
刚刚
刚刚
汉堡包应助OK啦采纳,获得10
刚刚
wxy完成签到,获得积分20
1秒前
小T儿完成签到,获得积分10
1秒前
qianqian完成签到,获得积分10
1秒前
Rwmqwq完成签到,获得积分10
1秒前
小瓜在吗完成签到 ,获得积分10
1秒前
现代山雁完成签到 ,获得积分10
1秒前
1秒前
orixero应助夏夏夏采纳,获得10
1秒前
炒蛋汉堡完成签到,获得积分10
1秒前
王泳茵完成签到,获得积分10
1秒前
雪白宛丝完成签到,获得积分10
1秒前
斯文败类应助挚友采纳,获得10
2秒前
2秒前
雍雍完成签到 ,获得积分10
2秒前
甜屁儿完成签到 ,获得积分10
2秒前
ligen发布了新的文献求助10
3秒前
sunshine完成签到,获得积分10
3秒前
dove00完成签到,获得积分10
3秒前
久久完成签到 ,获得积分10
3秒前
Rwmqwq发布了新的文献求助10
4秒前
shijiaoshou完成签到,获得积分10
4秒前
樟茶鸭发布了新的文献求助10
4秒前
Zw发布了新的文献求助10
4秒前
王梅发布了新的文献求助10
4秒前
传奇3应助xiuwenli采纳,获得10
5秒前
刘欢发布了新的文献求助10
5秒前
英姑应助ntrip采纳,获得10
5秒前
cc发布了新的文献求助10
5秒前
yuqi0903发布了新的文献求助10
6秒前
乔乔兔发布了新的文献求助10
6秒前
欣喜紫霜发布了新的文献求助30
6秒前
6秒前
wjzhan完成签到,获得积分10
7秒前
大模型应助文慧采纳,获得10
7秒前
渡边卯卯发布了新的文献求助30
7秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 3000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Principles of town planning : translating concepts to applications 500
Short-Wavelength Infrared Windows for Biomedical Applications 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6060454
求助须知:如何正确求助?哪些是违规求助? 7892926
关于积分的说明 16303638
捐赠科研通 5204511
什么是DOI,文献DOI怎么找? 2784428
邀请新用户注册赠送积分活动 1767022
关于科研通互助平台的介绍 1647334