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 条
  • [21] Efficient 3D Transpositions in Graphics Processing Units
    Jodra, Jose L.
    Gurrutxaga, Ibai
    Muguerza, Javier
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2015, 43 (05) : 876 - 891
  • [22] Efficient 3D Transpositions in Graphics Processing Units
    Jose L. Jodra
    Ibai Gurrutxaga
    Javier Muguerza
    International Journal of Parallel Programming, 2015, 43 : 876 - 891
  • [23] Efficient Regular Expression Pattern Matching on Graphics Processing Units
    Ponnemkunnath, Sudheer
    Joshi, R. C.
    CONTEMPORARY COMPUTING, 2011, 168 : 92 - 101
  • [24] Parallel data mining techniques on Graphics Processing Unit with Compute Unified Device Architecture (CUDA)
    Jian, Liheng
    Wang, Cheng
    Liu, Ying
    Liang, Shenshen
    Yi, Weidong
    Shi, Yong
    JOURNAL OF SUPERCOMPUTING, 2013, 64 (03) : 942 - 967
  • [25] Real-Time Geometric Calibration on graphics processing unit with CUDA
    Ding, Ying
    Li, Wen-hui
    Fan, Jing-tao
    Yang, Hua-min
    2009 IEEE INTERNATIONAL CONFERENCE ON MECHATRONICS AND AUTOMATION, VOLS 1-7, CONFERENCE PROCEEDINGS, 2009, : 3949 - +
  • [26] Systolic neighborhood search on graphics processing units
    Vidal, Pablo
    Luna, Francisco
    Alba, Enrique
    SOFT COMPUTING, 2014, 18 (01) : 125 - 142
  • [27] Systolic neighborhood search on graphics processing units
    Pablo Vidal
    Francisco Luna
    Enrique Alba
    Soft Computing, 2014, 18 : 125 - 142
  • [28] Accelerating Viterbi algorithm on graphics processing units
    Hanif, Muhammad Kashif
    Zimmermann, Karl-Heinz
    COMPUTING, 2017, 99 (11) : 1105 - 1123
  • [29] General purpose molecular dynamics simulations fully implemented on graphics processing units
    Anderson, Joshua A.
    Lorenz, Chris D.
    Travesset, A.
    JOURNAL OF COMPUTATIONAL PHYSICS, 2008, 227 (10) : 5342 - 5359
  • [30] Accelerating Petri-Net simulations using NVIDIA Graphics Processing Units
    Yianni, Panayioti C.
    Neves, Luis C.
    Rama, Dovile
    Andrews, John D.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2018, 265 (01) : 361 - 371