Global magnetohydrodynamic simulations on multiple GPUs

Global magnetohydrodynamic simulations on multiple GPUs
复制标题

DOI:
10.1016/j.cpc.2013.08.027
复制
发表时间:
2014
期刊:
Comput. Phys. Commun.
影响因子:
--
通讯作者:
U. Wong;H. Wong;Yonghui Ma
U. Wong;H. Wong;Yonghui Ma
中科院分区:
其他
文献类型:
--
作者:
U. Wong;H. Wong;Yonghui Ma

文献摘要

被引文献

相似文献

全球磁流体动力学(MHD)模型在研究太阳风-磁层相互作用中起着重要作用。然而,全球MHD模拟的巨大计算需求也是需要解决的主要问题。随着现代图形处理单元(GPU)和计算统一设备架构(CUDA)的最新发展,可以以更有效的方式执行全局MHD模拟。在本文中,我们提出了一个全球磁流体动力学(MHD)的模拟器上使用CUDA 4.0与GPUDirect 2.0的多个GPU。我们的实现是基于修改的蛙跳方案,这是一个组合的蛙跳方案和两步Lax-Wendroff计划。在我们的实现中使用GPUDirect 2.0来驱动多个GPU。所有的数据传输和内核处理都使用CUDA 4.0 API来管理,而不是使用MPI或OpenMP。性能测量是在一个多GPU系统上进行的,该系统具有八个NVIDIA Tesla M2050(费米架构)图形卡。这些测量结果表明,我们的多GPU实现在双精度下达到了97.36 GFLOPS的峰值性能。
Global magnetohydrodynamic (MHD) models play the major role in investigating the solar wind–magnetosphere interaction. However, the huge computation requirement in global MHD simulations is also the main problem that needs to be solved. With the recent development of modern graphics processing units (GPUs) and the Compute Unified Device Architecture (CUDA), it is possible to perform global MHD simulations in a more efficient manner. In this paper, we present a global magnetohydrodynamic (MHD) simulator on multiple GPUs using CUDA 4.0 with GPUDirect 2.0. Our implementation is based on the modified leapfrog scheme, which is a combination of the leapfrog scheme and the two-step Lax–Wendroff scheme. GPUDirect 2.0 is used in our implementation to drive multiple GPUs. All data transferring and kernel processing are managed with CUDA 4.0 API instead of using MPI or OpenMP. Performance measurements are made on a multi-GPU system with eight NVIDIA Tesla M2050 (Fermi architecture) graphics cards. These measurements show that our multi-GPU implementation achieves a peak performance of 97.36 GFLOPS in double precision.