EN FR
EN FR


Section: New Results

AD of mixed-language codes

Participants : Valérie Pascual, Laurent Hascoët.

The tangent differentiated code of Calculix (Three-Dimensional Structural Finite Element code), has been built and validated. Adjoint Differentiation in in progress. Driven by this application to Calculix, Tapenade is now able to differentiate mixed-language source that uses either the old style conventions or the newer Fortran 2003 primitives for interoperability with C.

Unsurprisingly, an application to such a large code uncovered a few limitations of our AD tool. One was a faulty treatment of C translation units (i.e. files), which is now fixed. C translation units or Fortran modules are two instances of the more general notion of “package” for which we need to develop more generic support in Tapenade.