首页 | 本学科首页   官方微博 | 高级检索  
     


Towards accelerating smoothed particle hydrodynamics simulations for free-surface flows on multi-GPU clusters
Authors:Daniel Valdez-Balderas  José M Domínguez  Benedict D Rogers  Alejandro JC Crespo
Affiliation:1. Modelling and Simulation Centre (MaSC), School of Mechanical, Aerospace & Civil Engineering, University of Manchester, Manchester, M13 9PL, UK;2. Environmental Physics Laboratory, Universidad de Vigo, Ourense, Spain
Abstract:Starting from the single graphics processing unit (GPU) version of the Smoothed Particle Hydrodynamics (SPH) code DualSPHysics, a multi-GPU SPH program is developed for free-surface flows. The approach is based on a spatial decomposition technique, whereby different portions (sub-domains) of the physical system under study are assigned to different GPUs. Communication between devices is achieved with the use of Message Passing Interface (MPI) application programming interface (API) routines. The use of the sorting algorithm radix sort for inter-GPU particle migration and sub-domain “halo” building (which enables interaction between SPH particles of different sub-domains) is described in detail. With the resulting scheme it is possible, on the one hand, to carry out simulations that could also be performed on a single GPU, but they can now be performed even faster than on one of these devices alone. On the other hand, accelerated simulations can be performed with up to 32 million particles on the current architecture, which is beyond the limitations of a single GPU due to memory constraints. A study of weak and strong scaling behaviour, speedups and efficiency of the resulting program is presented including an investigation to elucidate the computational bottlenecks. Last, possibilities for reduction of the effects of overhead on computational efficiency in future versions of our scheme are discussed.
Keywords:Smoothed particle hydrodynamics  SPH  CUDA  GPU  Multi-GPU  Graphics processing unit  Computational fluid dynamics  Molecular dynamics
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号