Magnetohydrodynamic (MHD) simulations based on the ideal MHD equations have become a powerful tool for modeling phenomena in a wide range of applications including laboratory, astrophysical, and space plasmas. In general, high-resolution methods for solving the ideal MHD equations are computationally expensive and Beowulf clusters or even supercomputers are often used to run the codes that implemented these methods. With the advent of the Compute Unified Device Architecture (CUDA), modern graphics processing units (GPUs) provide an alternative approach to parallel computing for scientific simulations. In this paper we present, to the best of the author's knowledge, the first implementation of MHD simulations entirely on GPUs with CUDA, named GPU-MHD, to accelerate the simulation process. GPU-MHD supports both single and double precision computations. A series of numerical tests have been performed to validate the correctness of our code. Accuracy evaluation by comparing single and double precision computation results is also given. Performance measurements of both single and double precision are conducted on both the NVIDIA GeForce GTX 295 (GT200 architecture) and GTX 480 (Fermi architecture) graphics cards. These measurements show that our GPU-based implementation achieves between one and two orders of magnitude of improvement depending on the graphics card used, the problem size, and the precision when comparing to the original serial CPU MHD implementation. In addition, we extend GPU-MHD to support the visualization of the simulation results and thus the whole MHD simulation and visualization process can be performed entirely on GPUs. (C) 2011 Elsevier B.V. All rights reserved.
机构:
Univ Paris Saclay, Cent Supelec, F-92290 Chatenay Malabry, France
Univ Paris 13, Sorbonne Paris Cite, F-93430 Villetaneuse, FranceUniv Paris Saclay, Cent Supelec, F-92290 Chatenay Malabry, France
Ahamed, Abal-Kassim Cheik
Magoules, Frederic
论文数: 0引用数: 0
h-index: 0
机构:
Univ Paris Saclay, Cent Supelec, F-92290 Chatenay Malabry, FranceUniv Paris Saclay, Cent Supelec, F-92290 Chatenay Malabry, France
机构:
China Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
State Key Lab Geol Proc & Mineral Resources, Beijing 100083, Peoples R ChinaChina Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
Chen, Zhaoxi
Meng, Xiaohong
论文数: 0引用数: 0
h-index: 0
机构:
China Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
State Key Lab Geol Proc & Mineral Resources, Beijing 100083, Peoples R ChinaChina Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
Meng, Xiaohong
Guo, Lianghui
论文数: 0引用数: 0
h-index: 0
机构:
China Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
State Key Lab Geol Proc & Mineral Resources, Beijing 100083, Peoples R ChinaChina Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
Guo, Lianghui
Liu, Guofeng
论文数: 0引用数: 0
h-index: 0
机构:
China Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
State Key Lab Geol Proc & Mineral Resources, Beijing 100083, Peoples R ChinaChina Univ Geosci, Sch Geophys & Informat Technol, Beijing 100083, Peoples R China
机构:
Pontif Catholic Univ Rio de Janeiro, Tecgraf PUC Rio Comp Sci Dept, Rio De Janeiro, BrazilPontif Catholic Univ Rio de Janeiro, Tecgraf PUC Rio Comp Sci Dept, Rio De Janeiro, Brazil
Alhadeff, A.
Celes, W.
论文数: 0引用数: 0
h-index: 0
机构:
Pontif Catholic Univ Rio de Janeiro, Tecgraf PUC Rio Comp Sci Dept, Rio De Janeiro, BrazilPontif Catholic Univ Rio de Janeiro, Tecgraf PUC Rio Comp Sci Dept, Rio De Janeiro, Brazil