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 条
  • [31] Cofactorization on Graphics Processing Units
    Miele, Andrea
    Bos, Joppe W.
    Kleinjung, Thorsten
    Lenstra, Arjen K.
    CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2014, 2014, 8731 : 335 - 352
  • [32] Efficient magnetohydrodynamic simulations on distributed multi-GPU systems using a novel GPU Direct-MPI hybrid approach
    Wong, Un-Hong
    Aoki, Takayuki
    Wong, Hon-Cheng
    COMPUTER PHYSICS COMMUNICATIONS, 2014, 185 (07) : 1901 - 1913
  • [33] Efficient parallel algorithm for multiple sequence alignments with regular expression constraints on graphics processing units
    Lin, Chun Yuan
    Lin, Yu Shiang
    INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2014, 9 (1-2) : 11 - 20
  • [34] Conjugate gradient method with graphics processing unit acceleration: CUDA vs OpenCL
    Ahamed, Abal-Kassim Cheik
    Magoules, Frederic
    ADVANCES IN ENGINEERING SOFTWARE, 2017, 111 : 32 - 42
  • [35] Application of Graphics Processing Units for Self-Consistent Modelling of Shallow Water Dynamics and Sediment Transport
    Khrapov, S. S.
    Khoperskov, A. V.
    LOBACHEVSKII JOURNAL OF MATHEMATICS, 2020, 41 (08) : 1475 - 1484
  • [36] Parallel Ant Colony Optimization on Graphics Processing Units
    Delevacq, Audrey
    Delisle, Pierre
    Gravel, Marc
    Krajecki, Michael
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2013, 73 (01) : 52 - 61
  • [37] GICUDA: A parallel program for 3D correlation imaging of large scale gravity and gravity gradiometry data on graphics processing units with CUDA
    Chen, Zhaoxi
    Meng, Xiaohong
    Guo, Lianghui
    Liu, Guofeng
    COMPUTERS & GEOSCIENCES, 2012, 46 : 119 - 128
  • [38] Analysing astronomy algorithms for graphics processing units and beyond
    Barsdell, B. R.
    Barnes, D. G.
    Fluke, C. J.
    MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2010, 408 (03) : 1936 - 1944
  • [39] Mapping Cohesive Fracture and Fragmentation Simulations to Graphics Processor Units
    Alhadeff, A.
    Celes, W.
    Paulino, G. H.
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2015, 103 (12) : 859 - 893
  • [40] Green computing on graphics processing units
    Magoules, Frederic
    Ahamed, Abal-Kassim Cheik
    Suzuki, Atsushi
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2016, 28 (16) : 4305 - 4325