• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

Application of OpenMP multicore technology
in granule hydrodynamics method

WEI Chao-lei1,YAN Min2,ZHAO Fang1   

  1. (1.College of Information,Beijing Forest University,Beijing 100083;
    2.College of Industry,Beijing Forest University,Beijing 100083,China)

     
  • Received:2015-12-16 Revised:2016-03-17 Online:2017-07-25 Published:2017-07-25

Abstract:

In order to improve the computational efficiency of the granule hydrodynamics method (GHM) model, we propose a multi-thread parallel computing model based on OpenMP for multi-core computers. We analyze the primary computational modules and extract the ones that can be paralleled. We then use the OpenMP compiler directive statements and runtime library to realize the parallel computation of the solving process in the GHM model to solve the granules motion equations by using the numerical integration method. Experimental results on Windows platform with 4 cores and 8 threads CPU show that the parallel program's speedup can reach 2.5, which proves that the OpenMP technology can improve the computational efficiency of the GHM significantly, and that it has advantages of easy programming and good portability as well.

Key words: