SPEL: Software tool for Porting E3SM Land Model with OpenACC in a Function Unit Test Framework
- ORNL
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.
- Research Organization:
- Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)
- Sponsoring Organization:
- USDOE; USDOE Office of Science (SC), Biological and Environmental Research (BER) (SC-23)
- DOE Contract Number:
- AC05-00OR22725
- OSTI ID:
- 1965230
- Country of Publication:
- United States
- Language:
- English
Similar Records
Developing Ultrahigh-Resolution E3SM Land Model for GPU Systems
Developing an ELM Ecosystem Dynamics Model on GPU with OpenACC
Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems
Conference
·
Sat Jul 01 00:00:00 EDT 2023
·
OSTI ID:1994610
Developing an ELM Ecosystem Dynamics Model on GPU with OpenACC
Conference
·
Wed Jun 01 00:00:00 EDT 2022
·
OSTI ID:1879940
Experiences in porting mini-applications to OpenACC and OpenMP on heterogeneous systems
Journal Article
·
Thu Apr 23 20:00:00 EDT 2020
· Concurrency and Computation. Practice and Experience
·
OSTI ID:1649533