Repository logo
Log In(current)
  1. Home
  2. Colleges & Schools
  3. Tickle College of Engineering
  4. Engineering Publications and Other Works
  5. Civil & Environmental Engineering Publications and Other Works
  6. Computational Benefit of GPU Optimization for the Atmospheric Chemistry Modeling
Details

Computational Benefit of GPU Optimization for the Atmospheric Chemistry Modeling

Source Publication
Journal of Advances in Modeling Earth Systems
Date Issued
July 26, 2018
Author(s)
Sun, Jian
Fu, Joshua S.  
Drake, John B.
Zhu, Qingzhao
Haidar, Azzam
Gates, Mark
Tomov, Stanimire  
Dongarra, Jack
DOI
10.1029/2018MS001276
Permanent URI
https://trace.tennessee.edu/handle/20.500.14382/16254
Abstract

Global chemistry‐climate models are computationally burdened as the chemical mechanisms become more complex and realistic. Optimization for graphics processing units (GPU) may make longer global simulation with regional detail possible, but limited study has been done to explore the potential benefit for the atmospheric chemistry modeling. Hence, in this study, the second‐order Rosenbrock solver of the chemistry module of CAM4‐Chem is ported to the GPU to gauge potential speed‐up. We find that on the CPU, the fastest performance is achieved using the Intel compiler with a block interleaved memory layout. Different combinations of compiler and memory layout lead to ~11.02× difference in the computational time. In contrast, the GPU version performs the best when using a combination of fully interleaved memory layout with block size equal to the warp size, CUDA streams for independent kernels, and constant memory. Moreover, the most efficient data transfer between CPU and GPU is gained by allocating the memory contiguously during the data initialization on the GPU. Compared to one CPU core, the speed‐up of using one GPU alone reaches a factor of ~11.7× for the computation alone and ~3.82× when the data transfer between CPU and GPU is considered. Using one GPU alone is also generally faster than the multithreaded implementation for 16 CPU cores in a compute node and the single‐source solution (OpenACC). The best performance is achieved by the implementation of the hybrid CPU/GPU version, but rescheduling the workload among the CPU cores is required before the practical CAM4‐Chem simulation.

Subjects

GPU

CUDA

compiler

memory layout

data transfer

hybrid

Comments

This article was published openly thanks to the University of Tennessee Open Publishing Support Fund.


This work is licensed under a NonCommercial-NoDerivitatives 4.0 International License (CC BY-NC-ND 4.0).

Recommended Citation
Sun, J., Fu, J. S., Drake, J. B., Zhu, Q.,Haidar, A., Gates, M., et al. (2018). Computational benefit of GPUoptimization for the atmosphericchemistry modeling. Journal ofAdvances in Modeling Earth Systems,10,1952–1969. https://doi.org/10.1002/2018MS001276
Submission Type
Publisher's Version
File(s)
Thumbnail Image
Name

Sun_et_al_2018_Journal_of_Advances_in_Modeling_Earth_Systems.pdf

Size

3.43 MB

Format

Adobe PDF

Checksum (MD5)

a607672945612cdd8a611dce7e20a2cf


University Libraries

1015 Volunteer Boulevard
Knoxville, TN 37996
865-974-4351

Map & Directions
Donate to the Libraries
  • About
  • John C. Hodges Society
  • Speaking Volumes magazine
  • Outreach
  • Directory
  • Employment
  • Policies
  • Library Intranet
University of Tennessee power T logo

The University of Tennessee, Knoxville
Knoxville, Tennessee 37996
865-974-1000

Events
A-Z
Apply
Privacy
Map
Directory
Give to UT
Accessibility

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science