Computer Science and Information Systems
The international journal published by ComSIS Consortium 

On Syntax-Directed Adjoint Fortran Code

 

UDC 004.421



 

Uwe Naumann1,2 and Jan Riehme2

1LuFG Informatik , Department of Computer Science, RWTH Aachen University
52056 Aachen, Germany

2 Department of Computer Science, University of Hertfordshire
Hatfield, AL10 9AB, United Kingdom
[naumann|riehme]@stce.rwth-aachen.de,
Website: http://www.stce.rwth-aachen.de/


 

 

Abstract. Gradients of high-dimensional functions can be computed efficiently and with machine accuracy by so-called adjoint codes. We present an L-attributed grammar for the single-pass generation of intraprocedural adjoint code for a subset of Fortran. Our aim is to integrate the syntax-directed approach into the front-end of the NAGWare Fortran compiler. Research prototypes of this compiler that build adjoint code based on an abstract intermediate representation have been developed for several years. We consider the syntax-directed generation of adjoint code as a low development cost alternative to more sophisticated algorithms. The price to pay comes in form of a very limited set of code optimizations that can be performed in a single-pass setting.
 


Volume 04 , Issue 02 (December 2007)
Year of Publication: 2007
ISSN: 1820-0214
Publisher ComSIS Consortium
Full text available: Pdf
 
Home 
ComSIS Consortium
Aims and Scope 
Editorial Board
Editorial Council
Managing Board
Information for Contributors
Copyright Transfer Form
Current Issue
Archive
Forthcoming Articles
Subscription
Contact Info