[petsc-users] examples of automatic differentiation with PETSc

Barry Smith bsmith at mcs.anl.gov
Wed Oct 1 16:17:05 CDT 2014


  Thanks.

   Note that us removing the “simple minded” AD stuff from PETSc doesn’t mean we think AD is a bad idea. It can be an effective way to generate Jacobians.

   Barry

On Oct 1, 2014, at 4:09 PM, Gaetan Kenway <gaetank at gmail.com> wrote:

> HI Xiangdong
> 
> We have use the Tapenade AD package to compute sparse matrix jacobians for CFD problems. We use the result from the AD to populate a PETSc sparse matrix and then use PETSc to solve the resulting linear system. 
> 
> Hope that helps.
> 
> Gaetan
> 
> On Wed, Oct 1, 2014 at 4:23 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
> On Oct 1, 2014, at 3:16 PM, Jed Brown <jed at jedbrown.org> wrote:
> 
> > Xiangdong <epscodes at gmail.com> writes:
> >
> >> Is there any reason that AD is not supported in PETSc? Is it because the
> >> ADIFOR/ADIC library itself?
> >
> > Those libraries are not maintained and have license problems.  You're
> > welcome to use an AD tool yourself.  The support in PETSc was mostly
> > just making simple examples cleaner; it wasn't widely used in real
> > applications.
> 
>    Wasn’t used at all in anything but trivial codes.
> 
> 
> 
> 



More information about the petsc-users mailing list