Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

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 Laboratory (ORNL), Oak Ridge, TN (United States). Oak Ridge Leadership Computing Facility (OLCF); Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
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, Journal Name: Journal of Computational Science Journal Issue: C Vol. 9; ISSN 1877-7503
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English

References (10)

Effects of vertical resolution and nonorographic gravity wave drag on the simulated climate in the Community Atmosphere Model, version 5 journal May 2014
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
Emulation to simulate low-resolution atmospheric data journal January 2014
A mass and energy conserving spectral element atmospheric dynamical core on the cubed-sphere grid journal July 2007
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
Simulations of the Atmospheric General Circulation Using a Cloud-Resolving Model as a Superparameterization of Physical Processes journal July 2005
High-Resolution Global Climate Simulations with the ECMWF Model in Project Athena: Experimental Design, Model Climate, and Seasonal Forecast Skill journal May 2012
Simulated Climate and Climate Change in the GFDL CM2.5 High-Resolution Coupled Climate Model journal April 2012
Sensitivity of Simulated Climate to Horizontal and Vertical Resolution in the ECHAM5 Atmosphere Model journal August 2006
CAM-SE: A scalable spectral element dynamical core for the Community Atmosphere Model journal November 2011

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:1565549

Nek5000 with OpenACC
Journal Article · · Lecture Notes in Computer Science · OSTI ID:1567377

Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems
Journal Article · Fri Apr 24 00:00:00 EDT 2020 · Concurrency and Computation. Practice and Experience · OSTI ID:1649533