skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: A case study of CUDA FORTRAN and OpenACC for an atmospheric climate kernel

Journal Article · · Journal of Computational Science

The porting of a key kernel in the tracer advection routines of the Community Atmosphere Model – Spectral Element (CAM-SE) to use Graphics Processing Units (GPUs) using OpenACC is considered in comparison to an existing CUDA FORTRAN port. The development of the OpenACC kernel for GPUs was substantially simpler than that of the CUDA port. Also, OpenACC performance was about 1.5× slower than the optimized CUDA version. Particular focus is given to compiler maturity regarding OpenACC implementation for modern FORTRAN, and it is found that the Cray implementation is currently more mature than the PGI implementation. Still, for the case that ran successfully on PGI, the PGI OpenACC runtime was slightly faster than Cray. The results show encouraging performance for OpenACC implementation compared to CUDA while also exposing some issues that may be necessary before the implementations are suitable for porting all of CAM-SE. Furthermore, most notable are that GPU shared memory should be used by future OpenACC implementations and that derived type support should be expanded.

Research Organization:
Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States). Oak Ridge Leadership Computing Facility (OLCF)
Sponsoring Organization:
USDOE Office of Science (SC)
Grant/Contract Number:
AC05-00OR22725
OSTI ID:
1462913
Alternate ID(s):
OSTI ID: 1251654
Journal Information:
Journal of Computational Science, Vol. 9, Issue C; ISSN 1877-7503
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English
Citation Metrics:
Cited by: 23 works
Citation information provided by
Web of Science

References (10)

Efficient estimation and ensemble generation in climate modelling
  • Annan, J. D.; Hargreaves, J. C.
  • Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, Vol. 365, Issue 1857 https://doi.org/10.1098/rsta.2007.2067
journal June 2007
Atmospheric blocking in a high resolution climate model: influences of mean state, orography and eddy forcing: Atmospheric blocking in a high resolution climate model journal January 2013
Simulated Climate and Climate Change in the GFDL CM2.5 High-Resolution Coupled Climate Model journal April 2012
CAM-SE: A scalable spectral element dynamical core for the Community Atmosphere Model journal November 2011
High-Resolution Global Climate Simulations with the ECMWF Model in Project Athena: Experimental Design, Model Climate, and Seasonal Forecast Skill journal May 2012
Simulations of the Atmospheric General Circulation Using a Cloud-Resolving Model as a Superparameterization of Physical Processes journal July 2005
Emulation to simulate low-resolution atmospheric data journal January 2014
Effects of vertical resolution and nonorographic gravity wave drag on the simulated climate in the Community Atmosphere Model, version 5 journal May 2014
Sensitivity of Simulated Climate to Horizontal and Vertical Resolution in the ECHAM5 Atmosphere Model journal August 2006
A mass and energy conserving spectral element atmospheric dynamical core on the cubed-sphere grid journal July 2007

Similar Records

Nekbone performance on GPUs with OpenACC and CUDA Fortran implementations
Journal Article · Mon Jul 18 00:00:00 EDT 2016 · Journal of Supercomputing · OSTI ID:1462913

Optimization and Portability of a Fusion OpenACC-based FORTRAN HPC Code from NVIDIA to AMD GPUs
Conference · Sat Jul 01 00:00:00 EDT 2023 · OSTI ID:1462913

A feasibility study on porting the community land model onto accelerators using OpenACC
Journal Article · Wed Jan 01 00:00:00 EST 2014 · International Journal of Advanced Computer Science and Applications · OSTI ID:1462913