Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Barry Smith
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 wrote: > HI Xiangdong > > We have use the Tapenade AD package to compute sp

Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Gaetan Kenway
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 wro

Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Barry Smith
On Oct 1, 2014, at 3:16 PM, Jed Brown wrote: > Xiangdong 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 su

Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Jed Brown
Xiangdong 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 cleane

Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Xiangdong
Is there any reason that AD is not supported in PETSc? Is it because the ADIFOR/ADIC library itself? Thank you. Xiangdong On Wed, Oct 1, 2014 at 4:09 PM, Barry Smith wrote: > > > Sorry that functionality is no longer in PETSc. > > > On Oct 1, 2014, at 2:51 PM, Xiangdong wrote: > > > Hello e

Re: [petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Barry Smith
Sorry that functionality is no longer in PETSc. On Oct 1, 2014, at 2:51 PM, Xiangdong wrote: > Hello everyone, > > Could you please point me to examples of using automatic differentiation for > Jacobian calculation in PETSc? Chapter 9 of the manual briefly talked about > adifor, but seem

[petsc-users] examples of automatic differentiation with PETSc

2014-10-01 Thread Xiangdong
Hello everyone, Could you please point me to examples of using automatic differentiation for Jacobian calculation in PETSc? Chapter 9 of the manual briefly talked about adifor, but seems not quite complete. Thank you. Xiangdong