摘要
本文采用有限元方法,在Win7操作系统下,基于Open MP并行编程模式实现了任意频点数的大地电磁二维正演并行化。验证并行程序的正确性后,又对一个模型进行了计算。结果表明,当开启4个线程时两者都达到了2.3-2.6倍的加速比。事实证明对于多核单机来说,Open MP是一种简单有效的并行方法,可以充分利用多核的处理能力。
In this paper,we carry out the magnetotelluric 2D forward parallelization of arbitrary frequency points based on Open MP parallel programming model under Win7 system with infinite element method. After the verification of parallel program correctness,another model calculation is carried out. The result shows the 2. 3-2. 6times the acceleration ratio of them is achieved when 4 threads are open. The fact confirms for the multi-core standalone,Open MP parallel method is simple and effective,which can full use the multi-core processing capacity.
引文
[1]蔡佳佳,李名世,郑锋.多核微机基于Open MP的并行计算[J].计算机技术与发展,2007,(10):87-91.
[2]冯云,周淑秋.MPI+Open MP混合并行编程模型应用研究[J].计算机系统应用,2006,(02):86-89.
[3]王杰.基于多核机群环境的并行程序设计方法研究[D]:中原工学院,2012.
[4]黄易,师学明,范建柯,et al.并行计算技术及其在勘探地球物理学中的现状与展望[J].地球物理学进展,2010,(02):642-649.
[5]RICHTER J.Windows核心编程[M].北京:清华大学出版社,2008
[6]NEW MAN G A A D L.Three-dimensional massively parallel electromagnetic inversion[J].Theory,Geophys,J.Int,1997,128∶345
[7]FABIO I Z J E,SANTOS.Parallel finite element algorithm with domain decomposition for three-dimentional magnetotelluric modeling[J].Appl.Geophys,2000,44∶337
[8]刘羽,王家映,孟永良,et al.基于机群的大地电磁Occam二维反演;proceedings of the第二届环境与工程地球物理国际会议,中国湖北武汉,F,2006[C].
[9]谭捍东,佟拓,林昌洪.大地电磁三维正演并行算法研究[J].Applied Geophysics,2006,(04):197-202+261.
[10]刘鹏茂,柳建新,童孝忠,et al.基于MPI大地电磁二维正则化反演并行计算研究[J].物探化探计算技术,2013,(01):99-106+107-108.
[11]白洪涛,李昂,欧阳丹彤,et al.基于多核的粗粒度2.5维电磁场正演并行算法[J].吉林大学学报(理学版),2014,(03):509-514.
[12]顾观文,吴文鹂,梁萌.大地电磁三维正、反演多核并行计算的设计与实现[J].物探与化探,2014,(03):601-606.