|
|
Computing Adjoints with the NAGWare Fortran 95 Compiler-
incollection
- | |
|
Author(s)
Uwe Naumann
, Jan Riehme
|
Published in Automatic Differentiation: Applications, Theory, and Implementations
|
Editor(s) H. M. Bücker, G. Corliss, P. Hovland, U. Naumann, B. Norris |
Year 2005 |
Publisher Springer |
Abstract We present a new experimental version of the differentiation-enabled NAGWare Fortran 95 compiler (from now on referred to as ``the ad compiler″) that provides support for the computation of adjoints in the reverse mode of automatic differentiation (ad). Our implementation uses split program reversal in conjunction with a stack of gradients of all assignments executed inside the active section. Two papers describe the modifications of the compiler infrastructure that were required to provide forward-mode ad capabilities. The reverse mode presented in this paper makes extensive use of these features. Special emphasis is put on the presentation of the new user interface that provides a very easy and intuitive way for initiating derivative computations as well as for addressing the results. Various language extensions are introduced for this purpose. The compiler front-end is modified to accept these new constructs syntactically and semantically. The use of the language extensions triggers the automatic generation of derivative codes of various kinds by the compiler. |
Cross-References Bucker2005ADA |
AD Tools NAGWare Fortran 95 |
AD Theory and Techniques Adjoint, Reverse Mode, Software Engineering, X-Country |
BibTeX
@INCOLLECTION{
Naumann2005CAw,
author = "Uwe Naumann and Jan Riehme",
title = "Computing Adjoints with the {NAGWare} {F}ortran~95 Compiler",
editor = "H. M. B{\"u}cker and G. Corliss and P. Hovland and U. Naumann and B.
Norris",
booktitle = "Automatic Differentiation: {A}pplications, Theory, and Implementations",
series = "Lecture Notes in Computational Science and Engineering",
publisher = "Springer",
year = "2005",
abstract = "We present a new experimental version of the differentiation-enabled NAGWare
Fortran~95 compiler (from now on referred to as ``the AD compiler'') that provides support
for the computation of adjoints in the reverse mode of automatic differentiation (AD). Our
implementation uses split program reversal in conjunction with a stack of gradients of all
assignments executed inside the active section. Two papers describe the modifications of the
compiler infrastructure that were required to provide forward-mode AD capabilities. The reverse mode
presented in this paper makes extensive use of these features. Special emphasis is put on the
presentation of the new user interface that provides a very easy and intuitive way for initiating
derivative computations as well as for addressing the results. Various language extensions are
introduced for this purpose. The compiler front-end is modified to accept these new constructs
syntactically and semantically. The use of the language extensions triggers the automatic generation
of derivative codes of various kinds by the compiler.",
crossref = "Bucker2005ADA",
ad_tools = "NAGWare Fortran 95",
ad_theotech = "Adjoint, Reverse Mode, Software Engineering, X-Country",
pages = "159--169",
doi = "10.1007/3-540-28438-9_14"
}
| |
back
|
|