Incremental caffeination of a terrestrial hydrological modeling framework using Fortran 2018 teams

Damian Rouson, James L. McCreight, Alessandro Fanfarillo

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

Abstract

We present Fortran 2018 teams (grouped processes) running a parallel ensemble of simulations built from a pre-existing Message Passing Interface (MPI) application. A challenge arises around the Fortran standard's eschewing any direct reference to lower-level communication substrates, such as MPI, leaving any interoperability between Fortran's parallel programming model, Coarray Fortran (CAF), and the supporting substrate to the quality of the compiler implmentation. Our approach introduces CAF incrementally, a process we term “caffeination.” By letting CAF initiate execution and exposing the underlying MPI communicator to the original application code, we create a one-to-one correspondence between MPI group colors and Fortran teams. We apply our approach to the National Center for Atmospheric Research (NCAR)'s Weather Research and Forcecasting Hydrological Model (WRF-Hydro). The newly caffeinated main program replaces batch job submission scripts and forms teams that each execute one ensemble member. To support this work, we developed the first compiler front-end and parallel runtime library support for teams. This paper describes the required modifications to a public GNU Compiler Collection (GCC) fork, an OpenCoarrays [1] application binary interface (ABI) branch, and a WRF-Hydro branch.

Original languageEnglish
Title of host publicationProceedings of PAW 2017
Subtitle of host publication2nd Annual PGAS Applications Workshop - Held in conjunction with SC 2017: The International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherAssociation for Computing Machinery, Inc
ISBN (Electronic)9781450351232
DOIs
StatePublished - Nov 12 2017
Event2nd Annual PGAS Applications Workshop, PAW 2017 - Denver, United States
Duration: Nov 12 2017Nov 17 2017

Publication series

NameProceedings of PAW 2017: 2nd Annual PGAS Applications Workshop - Held in conjunction with SC 2017: The International Conference for High Performance Computing, Networking, Storage and Analysis
Volume2017-January

Conference

Conference2nd Annual PGAS Applications Workshop, PAW 2017
Country/TerritoryUnited States
CityDenver
Period11/12/1711/17/17

Keywords

  • Coarray Fortran
  • Computational hydrology
  • Parallel programming

Fingerprint

Dive into the research topics of 'Incremental caffeination of a terrestrial hydrological modeling framework using Fortran 2018 teams'. Together they form a unique fingerprint.

Cite this