SPEL: Software tool for Porting E3SM Land Model with OpenACC in a Function Unit Test Framework

Peter Schwartz, Dali Wang, Fengming Yuan, Peter Thornton

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Scopus citations

Abstract

Most high-end computers adopt hybrid architecture, porting a large-scale scientific code onto accelerators is necessary. The paper presents a generic method for porting large-scale scientific code onto accelerators using compiler directives within a modularized function unit test platform. We have implemented the method and designed a software tool (SPEL) to port the E3SM Land Model (ELM) onto the GPUs in the Summit computer. SPEL automatically generates GPU-ready test modules for all ELM functions, such as CanopyFlux, SoilTemperature, and EcosystemDynamics. SPEL breaks the ELM into a collection of standalone unit test programs for easy code verification and further performance improvement. We further optimize several ELM test modules with advanced techniques, including memory reduction, reconstructed parallel loops, and asynchronous GPU kernel launch. We hope our study will inspire new toolkit developments that expedite large-scale scientific code porting with compiler directives.

Original languageEnglish
Title of host publicationProceedings of WACCPD 2022
Subtitle of host publication9th Workshop on Accelerator Programming Using Directives, Held in conjunction with SC 2022: The International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages43-51
Number of pages9
ISBN (Electronic)9781665490191
DOIs
StatePublished - 2022
Event9th Workshop on Accelerator Programming Using Directives, WACCPD 2022 - Dallas, United States
Duration: Nov 13 2022Nov 18 2022

Publication series

NameProceedings of WACCPD 2022: 9th Workshop on Accelerator Programming Using Directives, Held in conjunction with SC 2022: The International Conference for High Performance Computing, Networking, Storage and Analysis

Conference

Conference9th Workshop on Accelerator Programming Using Directives, WACCPD 2022
Country/TerritoryUnited States
CityDallas
Period11/13/2211/18/22

Funding

This research was supported as part of the Energy Exascale Earth System Model (E3SM) project, funded by the U.S. Department of Energy, Office of Science, Office of Biological and Environmental Research. This research used resources of the Oak Ridge Leadership Computing Facility at the Oak Ridge National Laboratory, which is supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC05-00OR22725. * These authors contributed equally. † Corresponding author

FundersFunder number
U.S. Department of Energy
Office of Science
Biological and Environmental ResearchDE-AC05-00OR22725

    Keywords

    • Compiler Directive
    • Earth System Model
    • Function Unit Testing
    • OpenACC

    Fingerprint

    Dive into the research topics of 'SPEL: Software tool for Porting E3SM Land Model with OpenACC in a Function Unit Test Framework'. Together they form a unique fingerprint.

    Cite this