[petsc-dev] Line search

Mark Adams mfadams at lbl.gov
Wed Feb 15 08:39:25 CST 2017


I am getting a lot of time in line search. see below. This is what I see
with view:

  SNESLineSearch Object: 1 MPI processes
    type: basic
    maxstep=1.000000e+08, minlambda=1.000000e-12
    tolerances: relative=1.000000e-08, absolute=1.000000e-15,
lambda=1.000000e-08
    maximum iterations=1

Shouldn't my line search time be tiny?

SNESSolve              1 1.0 1.3222e-01 1.0 2.87e+08 1.0 2.7e+02 4.5e+03
0.0e+00 14 50  8  9  0  14 50  8  9  0 590811
SNESFunctionEval       2 1.0 1.2035e-01 1.0 2.87e+08 1.0 2.7e+02 4.5e+03
0.0e+00 13 50  8  9  0  13 50  8  9  0 648067
SNESJacobianEval       1 1.0 7.8297e-04 4.0 0.00e+00 0.0 0.0e+00 0.0e+00
0.0e+00  0  0  0  0  0   0  0  0  0  0     0
SNESLineSearch         1 1.0 1.2040e-01 1.0 2.87e+08 1.0 2.7e+02 4.5e+03
0.0e+00 13 50  8  9  0  13 50  8  9  0 647734
KSPGMRESOrthog         1 1.0 6.4087e-0413.4 2.24e+03 1.0 0.0e+00 0.0e+00
0.0e+00  0  0  0  0  0   0  0  0  0  0   952
KSPSetUp               1 1.0 3.5691e-04 1.8 0.00e+00 0.0 0.0e+00 0.0e+00
0.0e+00  0  0  0  0  0   0  0  0  0  0     0
KSPSolve               1 1.0 1.1965e-02 1.1 4.49e+05 1.0 0.0e+00 0.0e+00
0.0e+00  1  0  0  0  0   1  0  0  0  0 10199
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170215/a45b9c2d/attachment.html>


More information about the petsc-dev mailing list