LIANG Jin-gang, LIU Shi-wen, XU Qi, WANG Kan. Study on MPI/OpenMP Hybrid Parallelism for Monte Carlo Neutron Transport Code[J]. Atomic Energy Science and Technology, 2013, 47(增刊2): 654-659. DOI: 10.7538/yzk.2013.47.S1.0654
Citation: LIANG Jin-gang, LIU Shi-wen, XU Qi, WANG Kan. Study on MPI/OpenMP Hybrid Parallelism for Monte Carlo Neutron Transport Code[J]. Atomic Energy Science and Technology, 2013, 47(增刊2): 654-659. DOI: 10.7538/yzk.2013.47.S1.0654

Study on MPI/OpenMP Hybrid Parallelism for Monte Carlo Neutron Transport Code

  • 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.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return