arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.1017physics.comp-phastro-ph.IMcond-mat.otherphysics.flu-dyn
收藏

基于多GPU集群的光滑粒子流体动力学自由表面流模拟

Towards accelerating Smoothed Particle Hydrodynamics simulations for free-surface flows on multi-GPU clusters

Daniel Valdez-Balderas, José M. Domínguez, Benedict D. Rogers, Alejandro J. C. Crespo

摘要:

从单GPU版本的光滑粒子流体动力学(SPH)程序DualSPHysics出发,开发了一个多GPU的自由表面流动SPH程序。该方法是基于空间分解技术,从而在研究中的物理系统的不同部分(子域)被分配给不同的GPU。通过使用消息传递接口(MPI)应用程序编程接口(API)例程实现设备之间的通信。详细描述了使用排序算法基数排序进行GPU间粒子迁移和子域晕圈构建(其使得不同子域的SPH粒子之间能够相互作用)。通过所产生的方案,一方面,可以执行也可以在单个GPU上执行的模拟,但现在它们可以比单独在这些设备中的一个上执行得更快。另一方面,在目前的架构上,可以使用多达3200万个粒子进行加速模拟,这超出了单个GPU由于内存限制所带来的限制。弱和强的标度行为,加速比和效率的研究所产生的programis包括调查,以阐明计算瓶颈。最后,我们的计划在未来版本的计算效率上的开销的影响减少的可能性进行了讨论。

英文摘要:

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 subdomains) 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 programis 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑