30.01.2014 Views

Annual Report 2010 - Fachgruppe Informatik an der RWTH Aachen ...

Annual Report 2010 - Fachgruppe Informatik an der RWTH Aachen ...

Annual Report 2010 - Fachgruppe Informatik an der RWTH Aachen ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

compute the gradient of the cost function using forward <strong>an</strong>d reverse mode AD. Further effort<br />

has been taken to parallelize the AD solutions using MPI parallel concept.<br />

Hybrid Approach to the generation of adjoint C++-Code<br />

J. Lotz, U. Naum<strong>an</strong>n<br />

Collaborators: ICG-1, Forschungszentrum Jülich, Max Pl<strong>an</strong>ck Institute for Meteorology,<br />

Hamburg<br />

Funded by: DFG<br />

In scientific computing a major challenge are <strong>der</strong>ivative computations of implemented<br />

mathematical models. For example in (large-scale) Inverse Problems the <strong>der</strong>ivative of the<br />

forward model is to be evaluated. AD is a powerful concept for doing this efficiently when<br />

the possibility of a reverse (adjoint) execution is provided. This execution reversal c<strong>an</strong> be<br />

accomplished by building a computational graph by operator overloading at runtime<br />

representing the implemented function. Thereby the <strong>der</strong>ivative is obtained by operations on<br />

the created data-structure. Apart from that source code tr<strong>an</strong>sformation c<strong>an</strong> be used to create<br />

C++-Code computing the adjoint. The first approach is robust <strong>an</strong>d suitable for almost <strong>an</strong>y<br />

C++-Code but is in comparison relatively slow. Source code tr<strong>an</strong>sformation on the other h<strong>an</strong>d<br />

is applicable only to syntactically simpler code but yields a high efficiency. The aim is to<br />

merge both approaches to a hybrid treatment of <strong>der</strong>ivative calculations to combine the<br />

adv<strong>an</strong>tages, i.e., syntactically complex parts are h<strong>an</strong>dled by operator overloading while<br />

compact computationally expensive parts are covered by source code tr<strong>an</strong>sformation. Target<br />

application is the JUelich RApid Spectral SImulation Code (mentioned above) <strong>an</strong>d we aim to<br />

consi<strong>der</strong> a C-version of a new atmospheric <strong>an</strong>d oce<strong>an</strong>ic general circulation model (ICON)<br />

developed by the Max-Pl<strong>an</strong>ck-Institut für Meteorologie <strong>an</strong>d the Germ<strong>an</strong> Weather Service.<br />

CompAD-III<br />

U. Naum<strong>an</strong>n, J. Riehme, D. Gendler<br />

Collaborators: The Numerical Algorithms Group Ltd., University of Hertfordshire, UK<br />

Funded by: EPSRC<br />

The development of the differentiation-enabled NAG Fortr<strong>an</strong> Compiler is a joint effort of the<br />

University of Hertfordshire, UK, <strong>an</strong>d the <strong>RWTH</strong> <strong>Aachen</strong> University, Germ<strong>an</strong>y. The target is<br />

the integration of current (or new) Automatic Differentiation technology into the industrial<br />

strength Fortr<strong>an</strong> compiler of the Numerical Algorithm Group (NAG), Oxford, UK. The<br />

project is currently in the third period of funding by EPSRC.<br />

The AD-enabled NAG Fortr<strong>an</strong> Compiler utilizes a hybrid approach combining automatic<br />

datatype ch<strong>an</strong>ges (source tr<strong>an</strong>sformation) with overloading techniques. The compiler provides<br />

397

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!