期刊文献+

蒙特卡罗中子输运程序的MPI/OpenMP混合并行研究 被引量:3

Study on MPI/OpenMP Hybrid Parallelism for Monte Carlo Neutron Transport Code
下载PDF
导出
摘要 消息传递/共享内存混合并行方法具有适应分布共享式集群计算机的发展趋势、有助于解决蒙特卡罗计算内存问题、改善并行性能等优势。本文基于一维中子蒙特卡罗输运程序,实现MPI/OpenMP混合并行,研究影响混合并行性能的因素,提出针对共享内存访问竞争、锁竞争、伪共享等问题的解决方法。测试结果表明,混合并行程序和纯粹MPI并行程序有相近的加速效果,同时大量节省了程序的内存使用,对于实现中子蒙特卡罗输运程序的大规模并行有重要意义。 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.
出处 《原子能科学技术》 EI CAS CSCD 北大核心 2013年第B12期654-659,共6页 Atomic Energy Science and Technology
基金 国家自然科学基金资助项目(91126017)
关键词 中子输运 蒙特卡罗 混合并行 MPI OPENMP 内存 neutron transport Monte Carlo hybrid parallel MPI/OpenMP memory
  • 相关文献

参考文献11

  • 1GROPP W D, LUSK E L, SKJELLUM A.Using MPI: Portable parallel programming with the message-passing interface [M]. Massachu- setts, USA: MIT Press, 1999.
  • 2DAGUM L, MENON R. OpenMP: An industry standard API for shared-memory programming [J]. Computational Science & Engineering, IEEE, 1998, 5(1): 46-55.
  • 3SMITH L A. Mixed mode MPI/OpenMP pro- gramming[R]. Edinburgh, UK: University of Edinburgh, 2000.
  • 4奎因.MPI与OpenMP并行程序设计C语言版[M].陈文光,武永卫.北京:清华大学出版社,2004.
  • 5MARTIN W. Challenges and prospects for whole-core Monte Carlo analysis [J]. Nuclear Engineering and Technology, 2012, 44(2): 151- 160.
  • 6SMITH L, BULL M. Development of mixed mode MPI/OpenMP applications [J]. Scientific Programming, 2001, 9(2): 83-98.
  • 7SMITH L. Development and performance of a mixed OpenMP/MPI quantum Monte Carlo code [J]. Concurrency Practice and Experience,2000, 12(12): 1 121-1 129.
  • 8MAJUMDAR A. Parallel performance study of Monte Carlo photon transport code on shared-, distributed-, and distributed-shared-memory ar- chitectures [ C]//Parallel and Distributed Pro- cessing Symposium, 2000. Cancun, Mexico: IEEE Computer Society, 2000: 93-99.
  • 9BROWN F B, BARRETT R F, BOOTH T E, et al. MCNP version 5 [J]. Trans Am Nucl Soc, 2002. 87(1). 273-276.
  • 10BRANTLEY P S, DAWSON S A, McKINLEY M S, et al. Recent advances in the mercury Monte Carlo particle transport code[C]// Inter- national Conference on Mathematics and Compu- tational Methods Applied to Nuclear Science Engineering (M&C 2013). Sun Valley, Idaho, USA: IEEE Computer Society, 2013: 5-9.

二级参考文献11

共引文献3

同被引文献16

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部