Comparison of Three Different Parallel Computation Methods for a Two-Dimensional Dam-Break Model

被引:53
作者
Zhang, Shanghong [1 ]
Li, Wenda [1 ]
Jing, Zhu [1 ]
Yi, Yujun [2 ]
Zhao, Yong [3 ]
机构
[1] North China Elect Power Univ, Renewable Energy Sch, Beijing 102206, Peoples R China
[2] Beijing Normal Univ, Sch Environm, Beijing 100875, Peoples R China
[3] China Inst Water Resources & Hydropower Res, Beijing 100038, Peoples R China
基金
中国国家自然科学基金;
关键词
OPENACC; OPENMP; FLUID;
D O I
10.1155/2017/1970628
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Three parallel methods (OpenMP, MPI, and OpenACC) are evaluated for the computation of a two-dimensional dam-break model using the explicit finite volume method. A dam-break event in the Pangtoupao flood storage area in China is selected as a case study to demonstrate the key technologies for implementing parallel computation. The subsequent acceleration of the methods is also evaluated. The simulation results show that the OpenMP and MPI parallel methods achieve a speedup factor of 9.8x and 5.1x, respectively, on a 32-core computer, whereas the OpenACC parallel method achieves a speedup factor of 20.7x on NVIDIA Tesla K20c graphics card. The results show that if the memory required by the dam-break simulation does not exceed the memory capacity of a single computer, the OpenMP parallel method is a good choice. Moreover, if GPU acceleration is used, the acceleration of the OpenACC parallel method is the best. Finally, the MPI parallel method is suitable for a model that requires little data exchange and large-scale calculation. This study compares the efficiency and methodology of accelerating algorithms for a dam-break model and can also be used as a reference for selecting the best acceleration method for a similar hydrodynamic model.
引用
收藏
页数:12
相关论文
共 34 条
[1]   OpenMP parallelism for fluid and fluid-particulate systems [J].
Amritkar, Amit ;
Tafti, Danesh ;
Liu, Rui ;
Kufrin, Rick ;
Chapman, Barbara .
PARALLEL COMPUTING, 2012, 38 (09) :501-517
[2]   A simple raster-based model for flood inundation simulation [J].
Bates, PD ;
De Roo, APJ .
JOURNAL OF HYDROLOGY, 2000, 236 (1-2) :54-77
[3]  
Bradbrook K., 2004, Int. J. River Basin Manag., V2, P211, DOI DOI 10.1080/15715124.2004.9635233
[4]   Efficient shallow water simulations on GPUs: Implementation, visualization, verification and validation (vol 55, pg 1, 2012) [J].
Brodtkorb, Andre R. ;
Saetra, Martin L. ;
Altinakar, Mustafa .
COMPUTERS & FLUIDS, 2012, 59 :125-125
[5]   Simulation of one-layer shallow water systems on multicore and CUDA architectures [J].
de la Asuncion, Marc ;
Mantas, Jose M. ;
Castro, Manuel J. .
JOURNAL OF SUPERCOMPUTING, 2011, 58 (02) :206-214
[6]   Formulation of a fast 2D urban pluvial flood model using a cellular automata approach [J].
Ghimire, Bidur ;
Chen, Albert S. ;
Guidolin, Michele ;
Keedwell, Edward C. ;
Djordjevic, Slobodan ;
Savic, Dragan A. .
JOURNAL OF HYDROINFORMATICS, 2013, 15 (03) :676-686
[7]   Programming for GPUs: the Directive-Based Approach [J].
Grillo, Lucas ;
de Sande, Francisco ;
Fumero, Juan J. ;
Reyes, Ruyman .
2013 EIGHTH INTERNATIONAL CONFERENCE ON P2P, PARALLEL, GRID, CLOUD AND INTERNET COMPUTING (3PGCIC 2013), 2013, :612-617
[8]   Porting and scaling OpenACC applications on massively-parallel, GPU-accelerated supercomputers [J].
Hart, A. ;
Ansaloni, R. ;
Gray, A. .
EUROPEAN PHYSICAL JOURNAL-SPECIAL TOPICS, 2012, 210 (01) :5-16
[9]   CUDA vs OpenACC: Performance Case Studies with Kernel Benchmarks and a Memory-Bound CFD Application11 [J].
Hoshino, Tetsuya ;
Maruyama, Naoya ;
Matsuoka, Satoshi ;
Takaki, Ryoji .
PROCEEDINGS OF THE 2013 13TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND GRID COMPUTING (CCGRID 2013), 2013, :136-143
[10]   Numerical solution of the two-phase incompressible Navier-Stokes equations using a GPU-accelerated meshless method [J].
Kelly, Jesse M. ;
Divo, Eduardo A. ;
Kassab, Alain J. .
ENGINEERING ANALYSIS WITH BOUNDARY ELEMENTS, 2014, 40 :36-49