Efficient magnetohydrodynamic simulations on graphics processing units with CUDA

被引:21
|
作者
Wong, Hon-Cheng [1 ,2 ]
Wong, Un-Hong [2 ]
Feng, Xueshang [3 ]
Tang, Zesheng [2 ]
机构
[1] Macau Univ Sci & Technol, Fac Informat Technol, Taipa, Peoples R China
[2] Macau Univ Sci & Technol, Space Sci Inst, Taipa, Peoples R China
[3] Chinese Acad Sci, Ctr Space Sci & Appl Res, State Key Lab Space Weather, SIGMA Weather Grp, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
MHD simulations; GPUs; CUDA; Parallel computing; CONSERVATIVE DIFFERENCE SCHEME; UNSPLIT GODUNOV METHOD; IDEAL MAGNETOHYDRODYNAMICS; CONSTRAINED TRANSPORT; ASTROPHYSICAL MHD; PERFORMANCE; FLOWS; CODE; IMPLEMENTATION; VISUALIZATION;
D O I
10.1016/j.cpc.2011.05.011
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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.
引用
收藏
页码:2132 / 2160
页数:29
相关论文
共 50 条
  • [41] Computational Physics on Graphics Processing Units
    Harju, Ari
    Siro, Topi
    Canova, Filippo Federici
    Hakala, Samuli
    Rantalaiho, Teemu
    APPLIED PARALLEL AND SCIENTIFIC COMPUTING (PARA 2012), 2013, 7782 : 3 - 26
  • [42] Graphics Processing Units for Constraint Satisfaction
    Mouhouband, Malek
    Mobaraki, Ahmed
    ICAART: PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON AGENTS AND ARTIFICIAL INTELLIGENCE, VOL 2, 2017, : 653 - 657
  • [43] A middleware for efficient stream processing in CUDA
    Nakagawa, Shinta
    Ino, Fumihiko
    Hagihara, Kenichi
    COMPUTER SCIENCE-RESEARCH AND DEVELOPMENT, 2010, 25 (1-2): : 41 - 49
  • [44] The Metropolis Monte Carlo method with CUDA enabled Graphic Processing Units
    Hall, Clifford
    Ji, Weixiao
    Blaisten-Barojas, Estela
    JOURNAL OF COMPUTATIONAL PHYSICS, 2014, 258 : 871 - 879
  • [45] Particle, Dimension and Cooperation-Oriented PSO Parallelization Strategies for Efficient High-Dimension Problem Optimizations on Graphics Processing Units
    Nedjah, Nadia
    Calazan, Rogerio de Moraes
    Mourelle, Luiza de Macedo
    COMPUTER JOURNAL, 2016, 59 (06) : 810 - 835
  • [46] Accelerating Grid Kernels for Virtual Screening on Graphics Processing Units
    Sanchez-Linares, Irene
    Perez-Sanchez, Horacio
    Manuel Garcia, Jose
    APPLICATIONS, TOOLS AND TECHNIQUES ON THE ROAD TO EXASCALE COMPUTING, 2012, 22 : 413 - 420
  • [47] Simulations of co-axial jet flows on graphics processing units: the flow and noise analysis
    Markesteijn, A. P.
    Karabasov, S. A.
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2019, 377 (2159):
  • [48] Pseudo-random number generators for Monte Carlo simulations on ATI Graphics Processing Units
    Demchik, Vadim
    COMPUTER PHYSICS COMMUNICATIONS, 2011, 182 (03) : 692 - 705
  • [49] A new approach to the lattice Boltzmann method for graphics processing units
    Obrecht, Christian
    Kuznik, Frederic
    Tourancheau, Bernard
    Roux, Jean-Jacques
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2011, 61 (12) : 3628 - 3638
  • [50] Pipelined Iterative Solvers with Kernel Fusion for Graphics Processing Units
    Rupp, Karl
    Weinbub, Josef
    Juengel, Ansgar
    Grasser, Tibor
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2016, 43 (02):