Preprints
https://doi.org/10.5194/egusphere-2023-1079
https://doi.org/10.5194/egusphere-2023-1079
31 Jul 2023
 | 31 Jul 2023
Status: this preprint has been withdrawn by the authors.

Parflow 3.9: development of lightweight embedded DSLs for geoscientific models

Zbigniew P. Piotrowski, Jaro Hokkanen, Daniel Caviedes-Voullieme, Olaf Stein, and Stefan Kollet

Abstract. Recognizing the leap in high-performance computing with accelerated co-processors, we propose a lightweight approach to adapt legacy codes to next generation hardware and achieve efficiently a high degree of performance portability. We focus on abstracting the computing kernels at the loop levels based on the lightweight, preprocessor-based embedded Domain Specific Language (eDSL) concept in conjunction with Unified Memory management. We outline a set of code pre-adaptations that facilitate the proposed abstraction. In two geophysical code applications programmed in C and Fortran, we demonstrate the efficiency of the eDSL approach in adaptation to NVIDIA GPUs with: native CUDA and Kokkos eDSL backends achieving up to 10–30 fold speedup. Our experience suggests that the proposed lightweight eDSL code adaptation is less expensive in terms of Full Time Equivalent of effort than adaptation based on complex DSL approaches, even if no earlier GPU competence exists.

This preprint has been withdrawn.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.
Zbigniew P. Piotrowski, Jaro Hokkanen, Daniel Caviedes-Voullieme, Olaf Stein, and Stefan Kollet

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2023-1079', Anonymous Referee #1, 22 Sep 2023
    • AC2: 'Reply on RC1', Zbigniew Piotrowski, 25 Oct 2023
  • RC2: 'Comment on egusphere-2023-1079', Anonymous Referee #2, 10 Oct 2023
    • AC1: 'Reply on RC2', Zbigniew Piotrowski, 25 Oct 2023
  • AC3: 'Comment on egusphere-2023-1079', Zbigniew Piotrowski, 03 Nov 2023

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2023-1079', Anonymous Referee #1, 22 Sep 2023
    • AC2: 'Reply on RC1', Zbigniew Piotrowski, 25 Oct 2023
  • RC2: 'Comment on egusphere-2023-1079', Anonymous Referee #2, 10 Oct 2023
    • AC1: 'Reply on RC2', Zbigniew Piotrowski, 25 Oct 2023
  • AC3: 'Comment on egusphere-2023-1079', Zbigniew Piotrowski, 03 Nov 2023
Zbigniew P. Piotrowski, Jaro Hokkanen, Daniel Caviedes-Voullieme, Olaf Stein, and Stefan Kollet
Zbigniew P. Piotrowski, Jaro Hokkanen, Daniel Caviedes-Voullieme, Olaf Stein, and Stefan Kollet

Viewed

Total article views: 577 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
385 153 39 577 31 24
  • HTML: 385
  • PDF: 153
  • XML: 39
  • Total: 577
  • BibTeX: 31
  • EndNote: 24
Views and downloads (calculated since 31 Jul 2023)
Cumulative views and downloads (calculated since 31 Jul 2023)

Viewed (geographical distribution)

Total article views: 559 (including HTML, PDF, and XML) Thereof 559 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 04 Nov 2024
Download

This preprint has been withdrawn.

Short summary
The computer programs capable of simulation of Earth system components evolve, adapting new fundamental science concepts and more observational data on more and more powerful computer hardware. Adaptation of a large scientific program to a new type of hardware is costly. In this work we propose cheap and simple but effective strategy that enable computation using graphic processing units, based on automated program code modification. This results in better resolution and/or longer predictions.