平面二维非均匀泥沙OpenMP并行计算模型  被引量:2

OpenMP parallel computing model for two-dimensional flow with non-uniform sediment

在线阅读下载全文

作  者:于守兵[1] 

机构地区:[1]黄河水利科学研究院,河南郑州450003

出  处:《水利水电科技进展》2012年第2期11-14,共4页Advances in Science and Technology of Water Resources

基  金:中央级公益性科研院所基本科研业务费专项(HKY-JBYW-2010-14)

摘  要:为实现平面二维非均匀泥沙模型并行计算,采用OpenMP指令对串行源程序进行改造。基于三角形-四边形混合网格的平面二维非均匀泥沙有限体积模型具有显式求解时网格单元相互独立性这种特性,Fortran串行源程序无需进行较大的修改,只要在循环计算和数组整体操作部分嵌入OpenMP循环并行指令和数组并行指令,即可实现并行计算。案例分析结果表明,在并行线程数目等于计算机固有线程数目时,并行加速比达到最大值1.55;OpenMP技术使用线程间共享内存的方式协调并行计算,很适合在多核计算机上运行,且编程简单灵活,将随着计算机硬件性能的提高得到更广泛的应用。In order to realize parallel computing for two-dimensional flow with non-uniform sediment,OpenMP is used to transform serial source program.Hence,a parallel computing model for two-dimensional flow with non-uniform sediment is estabished.The OpenMP parallel computing model based on triangle-quadrangle mixed grid has the characteristics of cell independence in the condition of explicit numerical solution.According to this advantage,by means of embedding the circular OpenMP parallel instructions and array parallel instructions in cycle calculation and the integrated array operation respectively,the parallel computing can be realized,without modification of Fortran serial source program.Case calculation results show that the parallel speed ratio can reach the maximum value of 1.55,when the parallel computing process number is equal to the computer intrinsic one.As OpenMP programming is simple and flexible and it is suitable to operate in multi-core computer,it will be more widely used with the improvement of performance of computer hardware.

关 键 词:OPENMP 并行计算 非均匀泥沙模型 有限体积法 

分 类 号:TV14[水利工程—水力学及河流动力学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象