Study on MPI/OpenMP hybrid parallelism for Monte Carlo neutron transport code
Jingang Liang,Shiwen Liu,Qi Xu,Kan Wang
DOI: https://doi.org/10.7538/yzk.2013.47.S1.0654
2013-01-01
Abstract:Parallel programming with mixed mode of messages-passing and shared-memory has several advantages when used in Monte Carlo neutron transport code, such as fitting hardware of distributed-shared clusters, economizing memory demand of Monte Carlo transport, improving parallel performance, and so on. MPI/OpenMP hybrid parallelism was implemented based on a one dimension Monte Carlo neutron transport code. Some critical factors affecting the parallel performance were analyzed and solutions were proposed for several problems such as contention access, lock contention and false sharing. After optimization the code was tested finally. It is shown that the hybrid parallel code can reach good performance just as pure MPI parallel program, while it saves a lot of memory usage at the same time. Therefore hybrid parallel is efficient for achieving large-scale parallel of Monte Carlo neutron transport.
What problem does this paper attempt to address?