[petsc-users] examples of automatic differentiation with PETSc

Gaetan Kenway gaetank at gmail.com
Wed Oct 1 16:09:40 CDT 2014


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.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141001/f2a509ad/attachment.html>


More information about the petsc-users mailing list