[petsc-users] KSPBuildSolution
Juha Jäykkä
juhaj at iki.fi
Wed Feb 16 10:04:05 CST 2011
Since I got two emails before I could reply to one, I am replying to both
simultaneously.
> It is a good idea to use -ksp_type preonly -pc_type lu to start until you
> understand the problem.
Matthew: Thanks, but I still get diverging line searches.
> Your Jacobian may be incorrect, try running with -snes_mf_operator -pc_type
> lu -ksp_monitor. The linear solves should converge in 1 iteration. You can
> also try -mat_mffd_type ds if the residual is ill-conditioned.
Jed: I am running with a FD Jacobian just to make sure my hand-written one is
not the culprit. Is there any reason to suspect this might be the reason?
-Juha
--
-----------------------------------------------
| Juha Jäykkä, juhaj at iki.fi |
| http://www.maths.leeds.ac.uk/~juhaj |
-----------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110216/2c70b490/attachment.pgp>
More information about the petsc-users
mailing list