Getting started with ADIFOR

ADIFOR is a source translator that, given a collection of subroutines to compute a function f, generates Fortran 77 code for computing the derivatives of this function. This paper describes step by step how to use ADIFOR to generate derivative code. It also describes common misunderstandings as well as workarounds for current shortcomings. Familiarity with UNIX{trademark} and Fortran 77 is assumed. Also desirable is a basic understanding of automatic differentiation. ADIFOR is a research project, and thus likely to be subject to many changes. This document will change to reflect the ADIFOR changes. New users are advised to make sure that the manual version in hand is the current up-to-date one.