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 条
  • [1] AN APPROACH TO EFFICIENT FEM SIMULATIONS ON GRAPHICS PROCESSING UNITS USING CUDA
    Nutti, Bjorn
    Marinkovic, Dragan
    FACTA UNIVERSITATIS-SERIES MECHANICAL ENGINEERING, 2014, 12 (01) : 15 - 25
  • [2] Accelerating molecular dynamics simulations using Graphics Processing Units with CUDA
    Liu, Weiguo
    Schmidt, Bertil
    Voss, Gerrit
    Mueller-Wittig, Wolfgang
    COMPUTER PHYSICS COMMUNICATIONS, 2008, 179 (09) : 634 - 641
  • [3] Massively parallel simulations of relativistic fluid dynamics on graphics processing units with CUDA
    Bazow, Dennis
    Heinz, Ulrich
    Strickland, Michael
    COMPUTER PHYSICS COMMUNICATIONS, 2018, 225 : 92 - 113
  • [4] MSA-CUDA: Multiple Sequence Alignment on Graphics Processing Units with CUDA
    Liu, Yongchao
    Schmidt, Bertil
    Maskell, Douglas L.
    2009 20TH IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2009, : 121 - 128
  • [5] Parallel UPGMA Algorithm on Graphics Processing Units Using CUDA
    Chen, Yu-Rong
    Hung, Che Lun
    Lin, Yu-Shiang
    Lin, Chun-Yuan
    Lee, Tien-Lin
    Lee, Kual-Zheng
    2012 IEEE 14TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2012 IEEE 9TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (HPCC-ICESS), 2012, : 849 - 854
  • [6] Micromagnetic simulations using Graphics Processing Units
    Lopez-Diaz, L.
    Aurelio, D.
    Torres, L.
    Martinez, E.
    Hernandez-Lopez, M. A.
    Gomez, J.
    Alejos, O.
    Carpentieri, M.
    Finocchio, G.
    Consolo, G.
    JOURNAL OF PHYSICS D-APPLIED PHYSICS, 2012, 45 (32)
  • [7] High performance direct gravitational N-body simulations on graphics processing units II:: An implementation in CUDA
    Belleman, Robert G.
    Bedorf, Jeroen
    Portegies Zwart, Simon
    NEW ASTRONOMY, 2008, 13 (02) : 103 - 112
  • [8] Gravitational tree-code on graphics processing units: implementation in CUDA
    Gaburov, Evghenii
    Bedorf, Jeroen
    Zwart, Simon Portegies
    ICCS 2010 - INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, PROCEEDINGS, 2010, 1 (01): : 1113 - 1121
  • [9] Data Remanence and Digital Forensic Investigation for CUDA Graphics Processing Units
    Bellekens, Xavier
    Paul, Greig
    Irvine, James M.
    Tachtatzis, Christos
    Atkinson, Robert C.
    Kirkham, Tony
    Renfrew, Craig
    PROCEEDINGS OF THE 2015 IFIP/IEEE INTERNATIONAL SYMPOSIUM ON INTEGRATED NETWORK MANAGEMENT (IM), 2015, : 1345 - 1350
  • [10] Efficient molecular dynamics simulations with many-body potentials on graphics processing units
    Fan, Zheyong
    Chen, Wei
    Vierimaa, Ville
    Harju, Ari
    COMPUTER PHYSICS COMMUNICATIONS, 2017, 218 : 10 - 16