首页> 中文期刊>强激光与粒子束 >闪光X射线照相蒙特卡罗程序的并行化

闪光X射线照相蒙特卡罗程序的并行化

     

摘要

研究了闪光X射线辐射照像蒙特卡罗程序(FXRMC)在MPI平台下的并行计算实现,给出了实现过程中并行随机数的产生方法.对并行程序的测试结果表明:并行程序与串行程序结果一致,加速比比较理想,呈线性增长,并行效率在16个处理器上可达80%以上.算例的结果说明了并行化可有效地解决程序计算散射技术性能时的耗时问题,从而有效化解FXRMC耗时和大规模计算的困难,提高了FXRMC程序的计算规模和计算速度,达到了研究要求.%MPI parallelization of Monte Carlo code FXRMC for flash X-ray radiography is investigated, and the method of generating parallel random numbers is presented. Test results show that the results of both parallel and sequential codes are identical. The acceleration ratio is linear to the number of processors, and the parallel efficiency exceeds 80% for 16 processors. Calculation examples indicate that parallelization has effectively solved the time-consuming problem of the code in the process of computing scattering, thus improving calculation scale and speed of FXRMC.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号