原子能科学技术Issue(z2):654-659,6.DOI:10.7538/yzk.2013.47.S1.0654
蒙特卡罗中子输运程序的MPI/OpenMP 混合并行研究
Study on MPI/OpenMP Hybrid Parallelism for Monte Carlo Neutron Transport Code
摘要
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 .关键词
中子输运/蒙特卡罗/混合并行/MPI/OpenMP/内存Key words
neutron transport/Monte Carlo/hybrid parallel/MPI/OpenMP/memory分类
能源科技引用本文复制引用
梁金刚,刘诗文,徐琪,王侃..蒙特卡罗中子输运程序的MPI/OpenMP 混合并行研究[J].原子能科学技术,2013,(z2):654-659,6.基金项目
国家自然科学基金资助项目 ()