摘要
研究了闪光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.
出处
《强激光与粒子束》
EI
CAS
CSCD
北大核心
2012年第12期2965-2969,共5页
High Power Laser and Particle Beams
基金
中国工程物理研究院发展基金项目(2010B0202021)
国家自然科学基金项目(61007065)
物理与生物医学交叉实验室孵化基金项目(WSS-2011-031
WSS-2011-051)
作者简介
黄娇凤(1973-),女,副研究员,从事并行计算研究;h_jiaofeng@163.com。