Computational performance of a smoothed particle hydrodynamics simulation for shared-memory parallel computing

被引:28
作者
Nishiura, Daisuke [1 ]
Furuichi, Mikito [1 ]
Sakaguchi, Hide [1 ]
机构
[1] Japan Agcy Marine Earth Sci & Technol, Dept Math Sci & Adv Technol, Yokohama, Kanagawa 2360001, Japan
基金
日本科学技术振兴机构;
关键词
SPH; Particle simulation; OpenMP; CUDA; MIC; GPU; MOLECULAR-DYNAMICS; GPU; SPH;
D O I
10.1016/j.cpc.2015.04.006
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The computational performance of a smoothed particle hydrodynamics (SPH) simulation is investigated for three types of current shared-memory parallel computer devices: many integrated core (MIC) processors, graphics processing units (GPUs), and multi-core CPUs. We are especially interested in efficient shared-memory allocation methods for each chipset, because the efficient data access patterns differ between compute unified device architecture (CUDA) programming for GPUs and OpenMP programming for MIC processors and multi-core CPUs. We first introduce several parallel implementation techniques for the SPH code, and then examine these on our target computer architectures to determine the most effective algorithms for each processor unit. In addition, we evaluate the effective computing performance and power efficiency of the SPH simulation on each architecture, as these are critical metrics for overall performance in a multi-device environment. In our benchmark test, the GPU is found to produce the best arithmetic performance as a standalone device unit, and gives the most efficient power consumption. The multi-core CPU obtains the most effective computing performance. The computational speed of the MIC processor on Xeon Phi approached that of two Xeon CPUs. This indicates that using MICs is an attractive choice for existing SPH codes on multi-core CPUs parallelized by OpenMP, as it gains computational acceleration without the need for significant changes to the source code. (C) 2015 The Authors. Published by Elsevier B.V.
引用
收藏
页码:18 / 32
页数:15
相关论文
共 24 条
  • [1] General purpose molecular dynamics simulations fully implemented on graphics processing units
    Anderson, Joshua A.
    Lorenz, Chris D.
    Travesset, A.
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2008, 227 (10) : 5342 - 5359
  • [2] [Anonymous], 2013, STREAM BENCHMARK COM
  • [3] LARGE-SCALE LANDSLIDE SIMULATIONS - GLOBAL DEFORMATION, VELOCITIES AND BASAL FRICTION
    CAMPBELL, CS
    CLEARY, PW
    HOPKINS, M
    [J]. JOURNAL OF GEOPHYSICAL RESEARCH-SOLID EARTH, 1995, 100 (B5) : 8267 - 8283
  • [4] Cleary P. W., 1996, 8 SPH CSIRO DIV MATH
  • [5] Modelling of tsunami-like wave run-up, breaking and impact on a vertical wall by SPH method
    Dao, M. H.
    Xu, H.
    Chan, E. S.
    Tkalich, P.
    [J]. NATURAL HAZARDS AND EARTH SYSTEM SCIENCES, 2013, 13 (12) : 3457 - 3467
  • [6] Neighbour lists in smoothed particle hydrodynamics
    Dominguez, J. M.
    Crespo, A. J. C.
    Gomez-Gesteira, M.
    Marongiu, J. C.
    [J]. INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2011, 67 (12) : 2026 - 2042
  • [7] Optimization strategies for CPU and GPU implementations of a smoothed particle hydrodynamics method
    Dominguez, Jose M.
    Crespo, Alejandro J. C.
    Gomez-Gesteira, Moncho
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2013, 184 (03) : 617 - 627
  • [8] Robust coupled fluid-particle simulation scheme in Stokes-flow regime: Toward the geodynamic simulation including granular media
    Furuichi, Mikito
    Nishiura, Daisuke
    [J]. GEOCHEMISTRY GEOPHYSICS GEOSYSTEMS, 2014, 15 (07): : 2865 - 2882
  • [9] SPH on GPU with CUDA
    Herault, Alexis
    Bilotta, Giuseppe
    Dalrymple, Robert A.
    [J]. JOURNAL OF HYDRAULIC RESEARCH, 2010, 48 : 74 - 79
  • [10] DATA PARALLEL ALGORITHMS
    HILLIS, WD
    STEELE, GL
    [J]. COMMUNICATIONS OF THE ACM, 1986, 29 (12) : 1170 - 1183