首页 | 本学科首页   官方微博 | 高级检索  
     检索      

MPI在蒙特卡罗程序GMT中的应用和发展
引用本文:许建亚,杨磊,张延师,张勋超,付芬,张雅玲,杨琼.MPI在蒙特卡罗程序GMT中的应用和发展[J].原子核物理评论,2017,34(2):204-210.
作者姓名:许建亚  杨磊  张延师  张勋超  付芬  张雅玲  杨琼
作者单位:1.中国科学技术大学, 合肥 230026;
基金项目:中国科学院战略性先导科技专项(XDA03030100)
摘    要:针对ADS颗粒靶概念的研究和设计,中国科学院近代物理研究所自主研发了蒙特卡罗模拟软件GMT。为了提高GMT程序的计算效率,研究了MPI在GMT中的应用和发展,实现了大规模随机数在进程中的随机分配,并采用快速读写文件的方式替代了MPI相关数据通信函数,极大地提高了计算效率。并研究了不同规模计算实例进程数、加速比、效率之间的关系,确定了最大加速进程数及并行效率最高时的进程数,为科研工作者在计算资源和计算效率之间选择最优计算方案提供了科学依据。MPI在GMT中的成功应用使计算资源得到了充分、高效的利用,极大地提高了计算效率,解决了蒙特卡罗方法中大规模事件模拟计算时间长、计算不稳定等问题,在散裂靶大规模扫描计算中发挥了重要的作用。For the research and design of the ADS granular-flow target concept, the Institute of Modern Physics, CAS has developed a Monte Carlo simulation software (GPU-accelerated Monte Carlo Transport program, GMT). In order to improve the computational efficiency of the GMT program, development and application of MPI in GMT were studied, to realize random distribution of the large-scale random number in the sub processes. Rapid reading and writing files were employed instead of the MPI data communication function, which greatly improves the computational efficiency. Different scale calculations were performed to study the relationship of process instance number, speedup to find the maximum acceleration process number and the number of processes when parallel efficiency is highest, which provides a scientific basis for researchers to optimize the computational program between computational resources and computation efficiency. The successful application of MPI in GMT, utilizes the computing resources fully and efficiently, improves the computational efficiency, solve the long time cost and unstable problem of Monte Carlo method in large-scale event simulations, plays an important role in the large-scale scanning calculation of the spallation target.

关 键 词:ADS颗粒靶    MPI    GMT    随机数    数据传输    加速比
收稿时间:2016-06-20

Application and Development of MPI in Monte Carlo Code GMT
XU Jianya,YANG Lei,ZHANG Yanshi,ZHANG Xunchao,FU Fen,ZHANG Yaling,YANG Qiong.Application and Development of MPI in Monte Carlo Code GMT[J].Nuclear Physics Review,2017,34(2):204-210.
Authors:XU Jianya  YANG Lei  ZHANG Yanshi  ZHANG Xunchao  FU Fen  ZHANG Yaling  YANG Qiong
Institution:1.University of Science and Technology of China, Hefei 230026, China;2.Institute of Modern Physics, Chinese Academy of Sciences, Lanzhou 730000, China
Abstract:For the research and design of the ADS granular-flow target concept, the Institute of Modern Physics, CAS has developed a Monte Carlo simulation software (GPU-accelerated Monte Carlo Transport program, GMT). In order to improve the computational efficiency of the GMT program, development and application of MPI in GMT were studied, to realize random distribution of the large-scale random number in the sub processes. Rapid reading and writing files were employed instead of the MPI data communication function, which greatly improves the computational efficiency. Different scale calculations were performed to study the relationship of process instance number, speedup to find the maximum acceleration process number and the number of processes when parallel efficiency is highest, which provides a scientific basis for researchers to optimize the computational program between computational resources and computation efficiency. The successful application of MPI in GMT, utilizes the computing resources fully and efficiently, improves the computational efficiency, solve the long time cost and unstable problem of Monte Carlo method in large-scale event simulations, plays an important role in the large-scale scanning calculation of the spallation target.
Keywords:ADS granular-flow target  MPI  GMT  random number  data transmission  speedup
本文献已被 CNKI 等数据库收录!
点击此处可从《原子核物理评论》浏览原始摘要信息
点击此处可从《原子核物理评论》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号