摘要
随机数检验是考查随机数是否具有良好随机性的方法,针对MCNP中使用的并行随机数算法,结合MPI并行编程环境设计并实现了相应的并行检验算法。实验结果表明基于MPI的并行检验算法能有效提高随机数检验速度,进程数为8时,加速比最高达到7.98,并行效率为99%。
The inspection of Random number is judged whether random number has good randomicity standards,according to the parallel random number algorithm in MCNP code,we design and implement a parallel algorithm for the random number inspection under MPI parallel programming environment.The experimental results show that the parallel algorithm based on MPI can effectively improve the ran dom number inspection speed,the speedup is up to 7.98 and the parallel efficiency is 99% while 8 processors are used.
出处
《电脑知识与技术(过刊)》
2012年第3X期1838-1841,共4页
Computer Knowledge and Technology
基金
国家自然科学基金项目(60970033)资助
关键词
随机数
并行检验
MPI
random number
parallel inspection
MPI