We present extensions to the automatic differentiation tool tapenade to increase coverage of the Fortran 95 language. We show how the existing architecture of the tool, with a language independent kernel and separate front-ends and back-ends, made it easier to deal with new syntactic forms and new control structures. However, several new features of Fortran 95 required us to make important choices and improvements in tapenade. We present these features, sorted into four categories: about the top-level structure of nested modules, subprograms, and interfaces; about structured data types; about overloading capabilities; and about array features. For each category, we discuss the choices made, and we illustrate their impact on small Fortran 95 examples. Dealing with pointers and dynamic memory allocation is delayed until extension to c begins. We consider this extension to Fortran 95 as a first step towards object-oriented languages.
CITATION STYLE
Pascual, V., & Hascoët, L. (2006). Extension of TAPENADE toward Fortran 95. Lecture Notes in Computational Science and Engineering, 50, 171–179. https://doi.org/10.1007/3-540-28438-9_15
Mendeley helps you to discover research relevant for your work.