计算物理
計算物理
계산물리
CHINESE JOURNAL OF COMPUTATIONAL PHYSICS
2001年
2期
177-180
,共4页
邓力%谢仲生%黄正丰%许海燕
鄧力%謝仲生%黃正豐%許海燕
산력%사중생%황정봉%허해연
MPI%PVM%并行加速比%Monte Carlo
MPI%PVM%併行加速比%Monte Carlo
MPI%PVM%병행가속비%Monte Carlo
MC程序的并行设计涉及算法及模块划分,它直接关系到并行加速效率的高低.中子-γ耦合输运蒙特卡罗程序MCNP经过并行改造,实现了PVM和MPI两种系统下的并行化.由于作了模块化设计,并行加速效率极佳.PVM版和MPI版并行程序在多个处理器下的加速比均呈线性增长.相比PVM,MPI的适应性更强,多数情况下其效率高于PVM,并行MCNP程序的计算结果可靠.MPI并行程序在16、32和64个处理器上的并行效率分别达到了99%、97%和89%.
MC程序的併行設計涉及算法及模塊劃分,它直接關繫到併行加速效率的高低.中子-γ耦閤輸運矇特卡囉程序MCNP經過併行改造,實現瞭PVM和MPI兩種繫統下的併行化.由于作瞭模塊化設計,併行加速效率極佳.PVM版和MPI版併行程序在多箇處理器下的加速比均呈線性增長.相比PVM,MPI的適應性更彊,多數情況下其效率高于PVM,併行MCNP程序的計算結果可靠.MPI併行程序在16、32和64箇處理器上的併行效率分彆達到瞭99%、97%和89%.
MC정서적병행설계섭급산법급모괴화분,타직접관계도병행가속효솔적고저.중자-γ우합수운몽특잡라정서MCNP경과병행개조,실현료PVM화MPI량충계통하적병행화.유우작료모괴화설계,병행가속효솔겁가.PVM판화MPI판병행정서재다개처리기하적가속비균정선성증장.상비PVM,MPI적괄응성경강,다수정황하기효솔고우PVM,병행MCNP정서적계산결과가고.MPI병행정서재16、32화64개처리기상적병행효솔분별체도료99%、97%화89%.
The parallel design of Monte Carlo code involves computationalmethod and module designs,which is crucial to the parallel efficiency.The coupled of neutron and photon transport Monte Carlo code MCNP has been realized the parallelization in PVM and MPI by modifying the serial code.Due to the form having module being optimized, the parallel efficiency is good where the efficiency of MPI code is stronger than that of PVM code and the speedup of MPI code is higher than that of PVM in most cases.The calculated results of parallel code are reasonable.Both the speedups of PVM code and MPI code have been the linear increasing with the processors.The parallel efficiencies are up to 99% in 16-processors,97% in 32-processors and 89% in 64-processors respectively.