Making Automatic Differentiation Truly Automatic: Coupling PETSc with ADIC
|Title||Making Automatic Differentiation Truly Automatic: Coupling PETSc with ADIC|
|Year of Publication||2002|
|Authors||Hovland, PD, Norris, B, Smith, BF|
Despite its name, automatic differentiation (AD) is often far from an automatic process. Often one must specify independent and dependent variables, indicate the derivative quantities to be computed, and perhaps even provide information about the structure of the Jacobians or Hessians being computed. However, when AD is used in conjunction with a toolkit with well-defined interfaces, many of these issues do not arise. We describe recent research into coupling the ADIC automatic differentiation tool with PETSc, a toolkit for the parallel numerical solution of PDEs. This research leverages the interfaces and objects of PETSc to make the AD process very nearly transparent.