Global magnetohydrodynamic simulations on multiple GPUs

Un Hong Wong, Hon Cheng Wong, Yonghui Ma

Research output: Contribution to journalArticlepeer-review

8 Citations (Scopus)


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.

Original languageEnglish
Pages (from-to)144-152
Number of pages9
JournalComputer Physics Communications
Issue number1
Publication statusPublished - Jan 2014
Externally publishedYes


  • CUDA
  • Global MHD simulations
  • Multiple GPUs
  • Parallel computing


Dive into the research topics of 'Global magnetohydrodynamic simulations on multiple GPUs'. Together they form a unique fingerprint.

Cite this