NSSC OpenIR  > 空间科学部
Efficient magnetohydrodynamic simulations on graphics processing units with CUDA
Wong, Hon-Cheng; Wong, Un-Hong; Feng, Xueshang; Tang, Zesheng; Wong, HC (reprint author), Macau Univ Sci & Technol, Fac Informat Technol, Taipa, Peoples R China.
Department空间科学部
Source PublicationCOMPUTER PHYSICS COMMUNICATIONS
2011
Volume182Issue:10Pages:2132-2160
ISSN0010-4655
Language英语
KeywordMhd Simulations Gpus Cuda Parallel Computing
AbstractMagnetohydrodynamic (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.; 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.
Indexed BySCI ; EI
Funding Project中国科学院空间科学与应用研究中心
Document Type期刊论文
Identifierhttp://ir.nssc.ac.cn/handle/122/3126
Collection空间科学部
Corresponding AuthorWong, HC (reprint author), Macau Univ Sci & Technol, Fac Informat Technol, Taipa, Peoples R China.
Recommended Citation
GB/T 7714
Wong, Hon-Cheng,Wong, Un-Hong,Feng, Xueshang,et al. Efficient magnetohydrodynamic simulations on graphics processing units with CUDA[J]. COMPUTER PHYSICS COMMUNICATIONS,2011,182(10):2132-2160.
APA Wong, Hon-Cheng,Wong, Un-Hong,Feng, Xueshang,Tang, Zesheng,&Wong, HC .(2011).Efficient magnetohydrodynamic simulations on graphics processing units with CUDA.COMPUTER PHYSICS COMMUNICATIONS,182(10),2132-2160.
MLA Wong, Hon-Cheng,et al."Efficient magnetohydrodynamic simulations on graphics processing units with CUDA".COMPUTER PHYSICS COMMUNICATIONS 182.10(2011):2132-2160.
Files in This Item:
File Name/Size DocType Version Access License
2011182102132.pdf(2075KB) 开放获取CC BY-NC-SAApplication Full Text
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Wong, Hon-Cheng]'s Articles
[Wong, Un-Hong]'s Articles
[Feng, Xueshang]'s Articles
Baidu academic
Similar articles in Baidu academic
[Wong, Hon-Cheng]'s Articles
[Wong, Un-Hong]'s Articles
[Feng, Xueshang]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Wong, Hon-Cheng]'s Articles
[Wong, Un-Hong]'s Articles
[Feng, Xueshang]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.