Hybrid parallel discrete adjoints in SU2

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Blühdorn, Johannes, Gomes, Pedro, Aehle, Max, Gauger, Nicolas R.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909587071827968
author Blühdorn, Johannes
Gomes, Pedro
Aehle, Max
Gauger, Nicolas R.
author_facet Blühdorn, Johannes
Gomes, Pedro
Aehle, Max
Gauger, Nicolas R.
contents The open-source multiphysics suite SU2 features discrete adjoints by means of operator overloading automatic differentiation (AD). While both primal and discrete adjoint solvers support MPI parallelism, hybrid parallelism using both MPI and OpenMP has only been introduced for the primal solvers so far. In this work, we enable hybrid parallel discrete adjoint solvers. Coupling SU2 with OpDiLib, an add-on for operator overloading AD tools that extends AD to OpenMP parallelism, marks a key step in this endeavour. We identify the affected parts of SU2's advanced AD workflow and discuss the required changes and their tradeoffs. Detailed performance studies compare MPI parallel and hybrid parallel discrete adjoints in terms of memory and runtime and unveil key performance characteristics. We showcase the effectiveness of performance optimizations and highlight perspectives for future improvements. At the same time, this study demonstrates the applicability of OpDiLib in a large code base and its scalability on large test cases, providing valuable insights for future applications both within and beyond SU2.
format Preprint
id arxiv_https___arxiv_org_abs_2405_06056
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hybrid parallel discrete adjoints in SU2
Blühdorn, Johannes
Gomes, Pedro
Aehle, Max
Gauger, Nicolas R.
Mathematical Software
D.1.3; G.1.4; G.4; J.2
The open-source multiphysics suite SU2 features discrete adjoints by means of operator overloading automatic differentiation (AD). While both primal and discrete adjoint solvers support MPI parallelism, hybrid parallelism using both MPI and OpenMP has only been introduced for the primal solvers so far. In this work, we enable hybrid parallel discrete adjoint solvers. Coupling SU2 with OpDiLib, an add-on for operator overloading AD tools that extends AD to OpenMP parallelism, marks a key step in this endeavour. We identify the affected parts of SU2's advanced AD workflow and discuss the required changes and their tradeoffs. Detailed performance studies compare MPI parallel and hybrid parallel discrete adjoints in terms of memory and runtime and unveil key performance characteristics. We showcase the effectiveness of performance optimizations and highlight perspectives for future improvements. At the same time, this study demonstrates the applicability of OpDiLib in a large code base and its scalability on large test cases, providing valuable insights for future applications both within and beyond SU2.
title Hybrid parallel discrete adjoints in SU2
topic Mathematical Software
D.1.3; G.1.4; G.4; J.2
url https://arxiv.org/abs/2405.06056