Journal of South China University of Technology(Natural Science Edition) ›› 2012, Vol. 40 ›› Issue (4): 71-78.

• Computer Science & Technology • Previous Articles     Next Articles

Parallel Optimization of Three-Dimension Particle Simulation Based on Mixed MPI /OPENMP Programming

Yan Xiao-yang  Zhang Wei-wen  Bu She-hui  Deng Hui-fang   

  1. School of Computer Science and Engineering,South China University of Technology,Guangzhou 510006,Guangdong,China
  • Received:2010-11-05 Revised:2012-02-22 Online:2012-04-25 Published:2012-03-01
  • Contact: 颜小洋(1966-) ,男,博士,副教授,主要从事高性能分布式计算、云计算、等离子体数值模拟、RFID 应用等的研究. E-mail:xiaoyyan@scut.edu.cn
  • About author:颜小洋(1966-) ,男,博士,副教授,主要从事高性能分布式计算、云计算、等离子体数值模拟、RFID 应用等的研究.
  • Supported by:

    国家自然科学基金资助项目( 40644023) ; 教育部留学回国人员基金资助项目( 7070240)

Abstract:

In order to remedy the shortcomings of the parallel MPI program and the parallel OPENMP program,a mixed parallel programming combining MPI and OPENMP is implemented. Then,the parallel processes of the MPI program,the OPENMP program and the mixed parallel MPI /OPENMP programming are respectively analyzed through experiments. The results show that the mixed parallel MPI /OPENMP programming greatly reduces the communication traffic,achieves an efficiency and a speedup rate higher than those of the parallel MPI program,and avoids the performance degradation of parallel MPI program due to the load imbalance caused by uneven particle distribution. Thus,more nodes in the cluster can be used to perform a computation and the communication delay can be successfully decreased. Moreover,the mixed parallel programming significantly enlarges the simulation scale because it overcomes the dependency of parallel OPENMP program on the processing capacity and the storage space of a single computer.

Key words: parallel MPI program, parallel OPENMP program, 3DEMPM, parallel computing