OATAO - Open Archive Toulouse Archive Ouverte Open Access Week

Adjoint computations by algorithmic differentiation of a parallel solver for time-dependent PDEs

Cardesa, José I. and Hascoët, Laurent and Airiau, Christophe Adjoint computations by algorithmic differentiation of a parallel solver for time-dependent PDEs. (2020) Journal of Computational Science, 45. 101155. ISSN 1877-7503

(Document in English)

PDF (Author's version) - Requires a PDF viewer such as GSview, Xpdf or Adobe Acrobat Reader

Official URL: https://doi.org/10.1016/j.jocs.2020.101155


A computational fluid dynamics code is differentiated using algorithmic differentiation (AD) in both tangent and adjoint modes. The two novelties of the present approach are (1) the adjoint code is obtained by letting the AD tool Tapenade invert the complete layer of message passing interface (MPI) communications, and (2) the adjoint code integrates time-dependent, non-linear and dissipative (hence physically irreversible) PDEs with an explicit time integration loop running for ca. 106 time steps. The approach relies on using the Adjoinable MPI library to reverse the non-blocking communication patterns in the original code, and by controlling the memory overhead induced by the time-stepping loop with binomial checkpointing. A description of the necessary code modifications is provided along with the validation of the computed derivatives and a performance comparison of the tangent and adjoint codes.

Item Type:Article
HAL Id:hal-03033123
Audience (journal):International peer-reviewed journal
Uncontrolled Keywords:
Institution:French research institutions > Centre National de la Recherche Scientifique - CNRS (FRANCE)
Université de Toulouse > Institut National Polytechnique de Toulouse - Toulouse INP (FRANCE)
French research institutions > Institut National de la Recherche en Informatique et en Automatique - INRIA (FRANCE)
Université de Toulouse > Université Toulouse III - Paul Sabatier - UT3 (FRANCE)
Laboratory name:
RTRA STAE, Toulouse
Deposited On:21 Sep 2020 12:32

Repository Staff Only: item control page