摘要
针对高性能平面二维水流数学模型,分别开展了基于单机多核处理器(CPU)和显卡(GPU)的并行化研究,旨在提高模型计算效率。以长江下游福姜沙水道为例,对并行后模型的可靠性和计算效率进行评估,结果表明:采用两种并行模式后,模型计算结果与串行结果一致,可靠性好,且计算效率有所提高,特别是采用GPU并行模式后,模型计算效率提高6.7倍以上,大大缩短了模型计算周期。
A shallow water flow model is parallelized with OpenMP and OpenACC to improve the computational efficiency. The Fujiangsha reach is used to validate the validity of the present model. Results of the numerical simulation indicate that the calculated results are in good agreement with the measured ones and there's no obvious differences compared with the results of sequential program. The two modes of parallel processing can reduce largely the calculating time without losing aecuracy. Moreover, the speed-up ratio of GPU parallel program reaches more than 6. 7 times.
出处
《水运工程》
北大核心
2015年第11期115-120,共6页
Port & Waterway Engineering