[petsc-users] MSVC debug runs in a different branch.
Jed Brown
jed at 59A2.org
Mon Jun 20 16:48:22 CDT 2011
On Mon, Jun 20, 2011 at 23:40, Tian(ICT) <rongtian at ncic.ac.cn> wrote:
> Using MSVC with Petsc, when debuging the code, the FormJacobian was never
> called, instead calling "MatMFFDComputeJacobian(SNES snes,Vec x,Mat *jac,Mat
> *B,MatStructure *flag,void *dummy)", though I donot use matrix free option.
Is there something in the environment, in a ".petscrc" in the directory MSVC
is running it in, or in an extra command-line parameter that MSVC is
implicitly passing?
If you can you use a command-line debugger like gdb, then you can set a
breakpoint in SNESSetJacobian() and see where it's getting changed from.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110620/a250a48c/attachment.htm>
More information about the petsc-users
mailing list