[petsc-dev] Getting Richardson output

Matthew Knepley knepley at gmail.com
Mon Mar 11 21:04:33 CDT 2019


On Mon, Mar 11, 2019 at 9:59 PM Smith, Barry F. <bsmith at mcs.anl.gov> wrote:

>
>    Richardson has this "special case where it calls PCApplyRichardson()
> under certain circumstances (for efficiency) but KSPSolve_Richardson() has
> the check
>
>   if (exists && maxit > 0 && richardsonP->scale == 1.0 &&
> !ksp->numbermonitors && !ksp->transpose_solve && !nullsp) {
>
> so if monitoring is turned on it should run "the regular way" and call the
> monitor. I don't think there is any special code associated with its use in
> multigrid so I would expect it to work. I guess you need to check in the
> debugger why it is not following the appropriate route.
>

Hmm. I can't see inside this users code, but the output is not printing for
some reason. Take a look at the attached.

   Matt


>   Barry
>
>   Also check that it is not running with preonly which has its own special
> case.
>
>
> > On Mar 11, 2019, at 8:45 PM, Matthew Knepley via petsc-dev <
> petsc-dev at mcs.anl.gov> wrote:
> >
> > Does Richardson not respond to -mg_levels_ksp_monitor by default? If so,
> how do you turn it on?
> >
> >   Thanks,
> >
> >      Matt
> >
> > --
> > What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> > -- Norbert Wiener
> >
> > https://www.cse.buffalo.edu/~knepley/
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190311/ae1fa439/attachment-0001.html>
-------------- next part --------------
./main -ksp_type fgmres -pc_type gamg -mg_levels_ksp_type richardson -mg_levels_ksp_richardson_self_scale -mg_levels_pc_type sor -mg_levels_ksp_monitor_true_residual -mg_levels_ksp_max_it 5 -ksp_rtol 1e-15 -ksp_monitor_true_residual -ksp_view -ksp_converged_reason -ksp_monitor_true_residual
  0 KSP unpreconditioned resid norm 1.020274009726e-01 true resid norm 1.020274009726e-01 ||r(i)||/||b|| 1.000000000000e+00
  1 KSP unpreconditioned resid norm 4.943838807754e-04 true resid norm 4.943838807754e-04 ||r(i)||/||b|| 4.845599084783e-03
  2 KSP unpreconditioned resid norm 1.660879638583e-04 true resid norm 1.660879638583e-04 ||r(i)||/||b|| 1.627876063440e-03
  3 KSP unpreconditioned resid norm 8.426176872915e-05 true resid norm 8.426176872915e-05 ||r(i)||/||b|| 8.258739115760e-04
  4 KSP unpreconditioned resid norm 4.903656486878e-05 true resid norm 4.903656486879e-05 ||r(i)||/||b|| 4.806215232511e-04
  5 KSP unpreconditioned resid norm 4.403800813404e-05 true resid norm 4.403800813404e-05 ||r(i)||/||b|| 4.316292262103e-04
  6 KSP unpreconditioned resid norm 3.546616925423e-05 true resid norm 3.546616925425e-05 ||r(i)||/||b|| 3.476141596882e-04
  7 KSP unpreconditioned resid norm 3.337016614487e-05 true resid norm 3.337016614489e-05 ||r(i)||/||b|| 3.270706283487e-04
  8 KSP unpreconditioned resid norm 3.078098429671e-05 true resid norm 3.078098429675e-05 ||r(i)||/||b|| 3.016933098690e-04
  9 KSP unpreconditioned resid norm 2.183604507550e-05 true resid norm 2.183604507557e-05 ||r(i)||/||b|| 2.140213792317e-04
 10 KSP unpreconditioned resid norm 1.986807184233e-05 true resid norm 1.986807184239e-05 ||r(i)||/||b|| 1.947327056555e-04
 11 KSP unpreconditioned resid norm 1.849967124815e-05 true resid norm 1.849967124823e-05 ||r(i)||/||b|| 1.813206165391e-04
 12 KSP unpreconditioned resid norm 1.610520591090e-05 true resid norm 1.610520591107e-05 ||r(i)||/||b|| 1.578517707748e-04
 13 KSP unpreconditioned resid norm 1.482102475978e-05 true resid norm 1.482102476001e-05 ||r(i)||/||b|| 1.452651407242e-04
 14 KSP unpreconditioned resid norm 1.326258443082e-05 true resid norm 1.326258443107e-05 ||r(i)||/||b|| 1.299904173256e-04
 15 KSP unpreconditioned resid norm 1.152074942401e-05 true resid norm 1.152074942427e-05 ||r(i)||/||b|| 1.129181897652e-04
 16 KSP unpreconditioned resid norm 9.740634109985e-06 true resid norm 9.740634109703e-06 ||r(i)||/||b|| 9.547076586143e-05
 17 KSP unpreconditioned resid norm 6.933671350080e-06 true resid norm 6.933671349223e-06 ||r(i)||/||b|| 6.795891381264e-05
 18 KSP unpreconditioned resid norm 6.582547185048e-06 true resid norm 6.582547182442e-06 ||r(i)||/||b|| 6.451744452661e-05
 19 KSP unpreconditioned resid norm 6.325817791559e-06 true resid norm 6.325817786560e-06 ||r(i)||/||b|| 6.200116563060e-05
 20 KSP unpreconditioned resid norm 5.859706521362e-06 true resid norm 5.859706510049e-06 ||r(i)||/||b|| 5.743267449912e-05
 21 KSP unpreconditioned resid norm 4.560616966572e-06 true resid norm 4.560616943872e-06 ||r(i)||/||b|| 4.469992276975e-05
 22 KSP unpreconditioned resid norm 4.318814974444e-06 true resid norm 4.318814950867e-06 ||r(i)||/||b|| 4.232995165709e-05
 23 KSP unpreconditioned resid norm 3.087936007995e-06 true resid norm 3.087935980557e-06 ||r(i)||/||b|| 3.026575166202e-05
 24 KSP unpreconditioned resid norm 1.827803157403e-06 true resid norm 1.827803137096e-06 ||r(i)||/||b|| 1.791482601412e-05
 25 KSP unpreconditioned resid norm 1.827793082100e-06 true resid norm 1.827793062284e-06 ||r(i)||/||b|| 1.791472726798e-05
 26 KSP unpreconditioned resid norm 1.264290921666e-06 true resid norm 1.264290618105e-06 ||r(i)||/||b|| 1.239167719704e-05
 27 KSP unpreconditioned resid norm 3.778091553108e-07 true resid norm 3.778089815549e-07 ||r(i)||/||b|| 3.703014856338e-06
 28 KSP unpreconditioned resid norm 3.728719898160e-07 true resid norm 3.728718924497e-07 ||r(i)||/||b|| 3.654625021272e-06
 29 KSP unpreconditioned resid norm 3.698581577386e-07 true resid norm 3.698580079110e-07 ||r(i)||/||b|| 3.625085069161e-06
 30 KSP unpreconditioned resid norm 1.260096052401e-07 true resid norm 1.260096052401e-07 ||r(i)||/||b|| 1.235056504811e-06
 31 KSP unpreconditioned resid norm 1.254799886484e-07 true resid norm 1.254799886513e-07 ||r(i)||/||b|| 1.229865579787e-06
 32 KSP unpreconditioned resid norm 1.245637562479e-07 true resid norm 1.245637562449e-07 ||r(i)||/||b|| 1.220885321566e-06
 33 KSP unpreconditioned resid norm 1.235744117626e-07 true resid norm 1.235744117668e-07 ||r(i)||/||b|| 1.211188470831e-06
 34 KSP unpreconditioned resid norm 1.208174222677e-07 true resid norm 1.208174222781e-07 ||r(i)||/||b|| 1.184166421240e-06
 35 KSP unpreconditioned resid norm 1.055482948742e-07 true resid norm 1.055482948860e-07 ||r(i)||/||b|| 1.034509297306e-06
 36 KSP unpreconditioned resid norm 9.955066899607e-08 true resid norm 9.955066900047e-08 ||r(i)||/||b|| 9.757248352061e-07
 37 KSP unpreconditioned resid norm 7.762274402951e-08 true resid norm 7.762274402707e-08 ||r(i)||/||b|| 7.608029145811e-07
 38 KSP unpreconditioned resid norm 6.970935237491e-08 true resid norm 6.970935237040e-08 ||r(i)||/||b|| 6.832414793075e-07
 39 KSP unpreconditioned resid norm 5.787578277104e-08 true resid norm 5.787578277169e-08 ||r(i)||/||b|| 5.672572487390e-07
 40 KSP unpreconditioned resid norm 4.815940515889e-08 true resid norm 4.815940517238e-08 ||r(i)||/||b|| 4.720242279358e-07
 41 KSP unpreconditioned resid norm 3.737813371950e-08 true resid norm 3.737813371876e-08 ||r(i)||/||b|| 3.663538751596e-07
 42 KSP unpreconditioned resid norm 2.972893695170e-08 true resid norm 2.972893694491e-08 ||r(i)||/||b|| 2.913818901738e-07
 43 KSP unpreconditioned resid norm 2.548572106702e-08 true resid norm 2.548572107692e-08 ||r(i)||/||b|| 2.497929069444e-07
 44 KSP unpreconditioned resid norm 2.312104848049e-08 true resid norm 2.312104848590e-08 ||r(i)||/||b|| 2.266160684826e-07
 45 KSP unpreconditioned resid norm 2.301929091675e-08 true resid norm 2.301929090541e-08 ||r(i)||/||b|| 2.256187130710e-07
 46 KSP unpreconditioned resid norm 1.299693484004e-08 true resid norm 1.299693484568e-08 ||r(i)||/||b|| 1.273867090780e-07
 47 KSP unpreconditioned resid norm 1.114456823418e-08 true resid norm 1.114456824082e-08 ||r(i)||/||b|| 1.092311294278e-07
 48 KSP unpreconditioned resid norm 9.983143128481e-09 true resid norm 9.983143128423e-09 ||r(i)||/||b|| 9.784766673717e-08
 49 KSP unpreconditioned resid norm 9.322078600905e-09 true resid norm 9.322078612113e-09 ||r(i)||/||b|| 9.136838264281e-08
 50 KSP unpreconditioned resid norm 6.688881559851e-09 true resid norm 6.688881559841e-09 ||r(i)||/||b|| 6.555965844548e-08
 51 KSP unpreconditioned resid norm 3.615582387057e-09 true resid norm 3.615582393721e-09 ||r(i)||/||b|| 3.543736642564e-08
 52 KSP unpreconditioned resid norm 3.344202033131e-09 true resid norm 3.344202050065e-09 ||r(i)||/||b|| 3.277748936253e-08
 53 KSP unpreconditioned resid norm 3.336497661333e-09 true resid norm 3.336497665205e-09 ||r(i)||/||b|| 3.270197646319e-08
 54 KSP unpreconditioned resid norm 2.476053205196e-09 true resid norm 2.476053205023e-09 ||r(i)||/||b|| 2.426851200188e-08
 55 KSP unpreconditioned resid norm 1.674030721088e-09 true resid norm 1.674030725494e-09 ||r(i)||/||b|| 1.640765823236e-08
 56 KSP unpreconditioned resid norm 1.642365984799e-09 true resid norm 1.642366011279e-09 ||r(i)||/||b|| 1.609730323054e-08
 57 KSP unpreconditioned resid norm 9.418852580167e-10 true resid norm 9.418852038985e-10 ||r(i)||/||b|| 9.231688692646e-09
 58 KSP unpreconditioned resid norm 7.774913858842e-10 true resid norm 7.774913398861e-10 ||r(i)||/||b|| 7.620416990678e-09
 59 KSP unpreconditioned resid norm 7.046093581335e-10 true resid norm 7.046092713628e-10 ||r(i)||/||b|| 6.906078804774e-09
 60 KSP unpreconditioned resid norm 6.719239249488e-10 true resid norm 6.719239249488e-10 ||r(i)||/||b|| 6.585720292233e-09
 61 KSP unpreconditioned resid norm 6.678438754561e-10 true resid norm 6.678438870791e-10 ||r(i)||/||b|| 6.545730663654e-09
 62 KSP unpreconditioned resid norm 6.665637770391e-10 true resid norm 6.665637847911e-10 ||r(i)||/||b|| 6.533184011718e-09
 63 KSP unpreconditioned resid norm 6.664984210505e-10 true resid norm 6.664984174833e-10 ||r(i)||/||b|| 6.532543327870e-09
 64 KSP unpreconditioned resid norm 6.618004251614e-10 true resid norm 6.618004251623e-10 ||r(i)||/||b|| 6.486496949385e-09
 65 KSP unpreconditioned resid norm 6.382112783265e-10 true resid norm 6.382112799610e-10 ||r(i)||/||b|| 6.255292929912e-09
 66 KSP unpreconditioned resid norm 6.146542475834e-10 true resid norm 6.146542523127e-10 ||r(i)||/||b|| 6.024403703844e-09
 67 KSP unpreconditioned resid norm 6.111583521047e-10 true resid norm 6.111583687024e-10 ||r(i)||/||b|| 5.990139539737e-09
 68 KSP unpreconditioned resid norm 5.383638187870e-10 true resid norm 5.383638151207e-10 ||r(i)||/||b|| 5.276659113031e-09
 69 KSP unpreconditioned resid norm 5.279929614091e-10 true resid norm 5.279929618692e-10 ||r(i)||/||b|| 5.175011387492e-09
 70 KSP unpreconditioned resid norm 5.139555944166e-10 true resid norm 5.139555959548e-10 ||r(i)||/||b|| 5.037427113261e-09
 71 KSP unpreconditioned resid norm 4.798001500753e-10 true resid norm 4.798001494291e-10 ||r(i)||/||b|| 4.702659725284e-09
 72 KSP unpreconditioned resid norm 4.311254698635e-10 true resid norm 4.311254738089e-10 ||r(i)||/||b|| 4.225585182993e-09
 73 KSP unpreconditioned resid norm 4.145189754687e-10 true resid norm 4.145189833649e-10 ||r(i)||/||b|| 4.062820177849e-09
 74 KSP unpreconditioned resid norm 2.698309481242e-10 true resid norm 2.698309522740e-10 ||r(i)||/||b|| 2.644691031055e-09
 75 KSP unpreconditioned resid norm 2.238102238168e-10 true resid norm 2.238102189201e-10 ||r(i)||/||b|| 2.193628542790e-09
 76 KSP unpreconditioned resid norm 2.134571265185e-10 true resid norm 2.134571267709e-10 ||r(i)||/||b|| 2.092154898940e-09
 77 KSP unpreconditioned resid norm 1.070379952341e-10 true resid norm 1.070379952264e-10 ||r(i)||/||b|| 1.049110280239e-09
 78 KSP unpreconditioned resid norm 1.047834515739e-10 true resid norm 1.047834565165e-10 ||r(i)||/||b|| 1.027012895728e-09
 79 KSP unpreconditioned resid norm 1.043078856124e-10 true resid norm 1.043078886132e-10 ||r(i)||/||b|| 1.022351717469e-09
 80 KSP unpreconditioned resid norm 9.258900137410e-11 true resid norm 9.258899854697e-11 ||r(i)||/||b|| 9.074914940925e-10
 81 KSP unpreconditioned resid norm 8.156533427136e-11 true resid norm 8.156534264529e-11 ||r(i)||/||b|| 7.994454613935e-10
 82 KSP unpreconditioned resid norm 5.105646616396e-11 true resid norm 5.105646939668e-11 ||r(i)||/||b|| 5.004191904330e-10
 83 KSP unpreconditioned resid norm 5.067527818042e-11 true resid norm 5.067527689351e-11 ||r(i)||/||b|| 4.966830127049e-10
 84 KSP unpreconditioned resid norm 4.892127437113e-11 true resid norm 4.892127128429e-11 ||r(i)||/||b|| 4.794914975580e-10
 85 KSP unpreconditioned resid norm 4.376611011399e-11 true resid norm 4.376612249736e-11 ||r(i)||/||b|| 4.289643966245e-10
 86 KSP unpreconditioned resid norm 2.955034909616e-11 true resid norm 2.955033782103e-11 ||r(i)||/||b|| 2.896313886206e-10
 87 KSP unpreconditioned resid norm 1.995082874106e-11 true resid norm 1.995082093597e-11 ||r(i)||/||b|| 1.955437534015e-10
 88 KSP unpreconditioned resid norm 1.970375738998e-11 true resid norm 1.970373117413e-11 ||r(i)||/||b|| 1.931219553405e-10
 89 KSP unpreconditioned resid norm 1.970367664292e-11 true resid norm 1.970365325846e-11 ||r(i)||/||b|| 1.931211916665e-10
 90 KSP unpreconditioned resid norm 6.763385680862e-12 true resid norm 6.763385680862e-12 ||r(i)||/||b|| 6.628989483600e-11
 91 KSP unpreconditioned resid norm 6.405624779119e-12 true resid norm 6.405623040933e-12 ||r(i)||/||b|| 6.278335995891e-11
 92 KSP unpreconditioned resid norm 6.367557602164e-12 true resid norm 6.367554718066e-12 ||r(i)||/||b|| 6.241024134074e-11
 93 KSP unpreconditioned resid norm 6.150846746828e-12 true resid norm 6.150851410570e-12 ||r(i)||/||b|| 6.028626968773e-11
 94 KSP unpreconditioned resid norm 5.944814558041e-12 true resid norm 5.944809795967e-12 ||r(i)||/||b|| 5.826679636352e-11
 95 KSP unpreconditioned resid norm 4.780609408940e-12 true resid norm 4.780623748492e-12 ||r(i)||/||b|| 4.685627295139e-11
 96 KSP unpreconditioned resid norm 4.553298879606e-12 true resid norm 4.553302726032e-12 ||r(i)||/||b|| 4.462823400996e-11
 97 KSP unpreconditioned resid norm 3.779791888766e-12 true resid norm 3.779794772880e-12 ||r(i)||/||b|| 3.704685934219e-11
 98 KSP unpreconditioned resid norm 3.491419297017e-12 true resid norm 3.491404234090e-12 ||r(i)||/||b|| 3.422026044777e-11
 99 KSP unpreconditioned resid norm 2.942857706460e-12 true resid norm 2.942852999844e-12 ||r(i)||/||b|| 2.884375150001e-11
100 KSP unpreconditioned resid norm 2.187725092012e-12 true resid norm 2.187740733608e-12 ||r(i)||/||b|| 2.144267826832e-11
101 KSP unpreconditioned resid norm 1.923195735483e-12 true resid norm 1.923199216145e-12 ||r(i)||/||b|| 1.884983051428e-11
102 KSP unpreconditioned resid norm 1.853573871459e-12 true resid norm 1.853590622090e-12 ||r(i)||/||b|| 1.816757659629e-11
103 KSP unpreconditioned resid norm 1.496971557865e-12 true resid norm 1.496984869989e-12 ||r(i)||/||b|| 1.467238071066e-11
104 KSP unpreconditioned resid norm 1.429429203636e-12 true resid norm 1.429446694473e-12 ||r(i)||/||b|| 1.401041956226e-11
105 KSP unpreconditioned resid norm 8.950427912733e-13 true resid norm 8.950581244139e-13 ||r(i)||/||b|| 8.772722973259e-12
106 KSP unpreconditioned resid norm 7.437921000628e-13 true resid norm 7.438046602020e-13 ||r(i)||/||b|| 7.290244121792e-12
107 KSP unpreconditioned resid norm 7.277553303427e-13 true resid norm 7.277791135687e-13 ||r(i)||/||b|| 7.133173114587e-12
108 KSP unpreconditioned resid norm 5.896987880819e-13 true resid norm 5.897027654786e-13 ||r(i)||/||b|| 5.779846980882e-12
109 KSP unpreconditioned resid norm 5.109579826191e-13 true resid norm 5.109664831339e-13 ||r(i)||/||b|| 5.008129955905e-12
110 KSP unpreconditioned resid norm 4.038701256429e-13 true resid norm 4.038656360582e-13 ||r(i)||/||b|| 3.958403646554e-12
111 KSP unpreconditioned resid norm 2.719343044556e-13 true resid norm 2.719289030948e-13 ||r(i)||/||b|| 2.665253652477e-12
112 KSP unpreconditioned resid norm 2.319165853405e-13 true resid norm 2.319250573903e-13 ||r(i)||/||b|| 2.273164416416e-12
113 KSP unpreconditioned resid norm 1.922340314730e-13 true resid norm 1.922327050190e-13 ||r(i)||/||b|| 1.884128216406e-12
114 KSP unpreconditioned resid norm 1.583774438517e-13 true resid norm 1.583738935452e-13 ||r(i)||/||b|| 1.552268234175e-12
115 KSP unpreconditioned resid norm 1.098774615063e-13 true resid norm 1.098825867395e-13 ||r(i)||/||b|| 1.076990942552e-12
116 KSP unpreconditioned resid norm 1.025350050674e-13 true resid norm 1.025325820003e-13 ||r(i)||/||b|| 1.004951425038e-12
117 KSP unpreconditioned resid norm 8.298835022369e-14 true resid norm 8.298900140862e-14 ||r(i)||/||b|| 8.133991517723e-13
118 KSP unpreconditioned resid norm 6.626883615669e-14 true resid norm 6.625881464125e-14 ||r(i)||/||b|| 6.494217632680e-13
119 KSP unpreconditioned resid norm 6.573679988389e-14 true resid norm 6.574080955293e-14 ||r(i)||/||b|| 6.443446459114e-13
120 KSP unpreconditioned resid norm 5.486863993739e-14 true resid norm 5.486863993739e-14 ||r(i)||/||b|| 5.377833740187e-13
121 KSP unpreconditioned resid norm 5.324162607681e-14 true resid norm 5.325922443572e-14 ||r(i)||/||b|| 5.220090282418e-13
122 KSP unpreconditioned resid norm 5.284794484298e-14 true resid norm 5.284704330370e-14 ||r(i)||/||b|| 5.179691220196e-13
123 KSP unpreconditioned resid norm 5.225869294551e-14 true resid norm 5.226440403584e-14 ||r(i)||/||b|| 5.122585064172e-13
124 KSP unpreconditioned resid norm 5.115470547798e-14 true resid norm 5.115813891912e-14 ||r(i)||/||b|| 5.014156827623e-13
125 KSP unpreconditioned resid norm 4.093793211976e-14 true resid norm 4.095607251754e-14 ||r(i)||/||b|| 4.014222858480e-13
126 KSP unpreconditioned resid norm 3.900873079637e-14 true resid norm 3.902292865772e-14 ||r(i)||/||b|| 3.824749850113e-13
127 KSP unpreconditioned resid norm 3.896072005650e-14 true resid norm 3.896611360924e-14 ||r(i)||/||b|| 3.819181243254e-13
128 KSP unpreconditioned resid norm 3.355354163571e-14 true resid norm 3.356837786524e-14 ||r(i)||/||b|| 3.290133586198e-13
129 KSP unpreconditioned resid norm 3.021437733821e-14 true resid norm 3.022304416570e-14 ||r(i)||/||b|| 2.962247776343e-13
130 KSP unpreconditioned resid norm 2.644287697789e-14 true resid norm 2.644120070540e-14 ||r(i)||/||b|| 2.591578385155e-13
131 KSP unpreconditioned resid norm 2.142567882000e-14 true resid norm 2.142611075783e-14 ||r(i)||/||b|| 2.100034946847e-13
132 KSP unpreconditioned resid norm 2.081178329125e-14 true resid norm 2.082222509560e-14 ||r(i)||/||b|| 2.040846370398e-13
133 KSP unpreconditioned resid norm 1.987735945442e-14 true resid norm 1.987843386863e-14 ||r(i)||/||b|| 1.948342668650e-13
134 KSP unpreconditioned resid norm 1.707825687019e-14 true resid norm 1.708962166442e-14 ||r(i)||/||b|| 1.675003136561e-13
135 KSP unpreconditioned resid norm 1.696237774614e-14 true resid norm 1.696265668830e-14 ||r(i)||/||b|| 1.662558932856e-13
136 KSP unpreconditioned resid norm 1.550443600835e-14 true resid norm 1.550321580567e-14 ||r(i)||/||b|| 1.519514920295e-13
137 KSP unpreconditioned resid norm 1.166967911697e-14 true resid norm 1.167701207055e-14 ||r(i)||/||b|| 1.144497650556e-13
138 KSP unpreconditioned resid norm 9.122877966272e-15 true resid norm 9.114363433722e-15 ||r(i)||/||b|| 8.933250623695e-14
139 KSP unpreconditioned resid norm 6.417422512977e-15 true resid norm 6.408571303947e-15 ||r(i)||/||b|| 6.281225673552e-14
140 KSP unpreconditioned resid norm 5.726997418939e-15 true resid norm 5.726218429594e-15 ||r(i)||/||b|| 5.612431930060e-14
141 KSP unpreconditioned resid norm 3.982631570350e-15 true resid norm 3.978888776575e-15 ||r(i)||/||b|| 3.899823712696e-14
142 KSP unpreconditioned resid norm 2.845741960799e-15 true resid norm 2.854357878010e-15 ||r(i)||/||b|| 2.797638527299e-14
143 KSP unpreconditioned resid norm 1.808632685786e-15 true resid norm 1.793342735833e-15 ||r(i)||/||b|| 1.757706967675e-14
144 KSP unpreconditioned resid norm 1.542663069670e-15 true resid norm 1.537056053732e-15 ||r(i)||/||b|| 1.506512994627e-14
145 KSP unpreconditioned resid norm 1.082036941514e-15 true resid norm 1.080280603965e-15 ||r(i)||/||b|| 1.058814194684e-14
146 KSP unpreconditioned resid norm 4.680879950220e-16 true resid norm 4.653190772654e-16 ||r(i)||/||b|| 4.560726558059e-15
147 KSP unpreconditioned resid norm 4.536779614687e-16 true resid norm 4.583862433296e-16 ||r(i)||/||b|| 4.492775851978e-15
148 KSP unpreconditioned resid norm 3.002004266816e-16 true resid norm 3.044619620899e-16 ||r(i)||/||b|| 2.984119552077e-15
149 KSP unpreconditioned resid norm 5.413363595643e-17 true resid norm 1.096822184592e-16 ||r(i)||/||b|| 1.075027075214e-15
Linear solve converged due to CONVERGED_RTOL iterations 149
KSP Object: 1 MPI processes
  type: fgmres
    restart=30, using Classical (unmodified) Gram-Schmidt Orthogonalization with no iterative refinement
    happy breakdown tolerance 1e-30
  maximum iterations=10000, initial guess is zero
  tolerances:  relative=1e-15, absolute=1e-30, divergence=10000.
  right preconditioning
  using UNPRECONDITIONED norm type for convergence test
PC Object: 1 MPI processes
  type: gamg
    type is MULTIPLICATIVE, levels=2 cycles=v
      Cycles per PCApply=1
      Using externally compute Galerkin coarse grid matrices
      GAMG specific options
        Threshold for dropping small values in graph on each level =  
        Threshold scaling factor for each level not specified = 1.
        AGG specific options
          Symmetric graph false
          Number of levels to square graph 1
          Number smoothing steps 1
  Coarse grid solver -- level -------------------------------
    KSP Object: (mg_coarse_) 1 MPI processes
      type: preonly
      maximum iterations=10000, initial guess is zero
      tolerances:  relative=1e-05, absolute=1e-50, divergence=10000.
      left preconditioning
      using NONE norm type for convergence test
    PC Object: (mg_coarse_) 1 MPI processes
      type: bjacobi
        number of blocks = 1
        Local solve is same for all blocks, in the following KSP and PC objects:
        KSP Object: (mg_coarse_sub_) 1 MPI processes
          type: preonly
          maximum iterations=1, initial guess is zero
          tolerances:  relative=1e-05, absolute=1e-50, divergence=10000.
          left preconditioning
          using NONE norm type for convergence test
        PC Object: (mg_coarse_sub_) 1 MPI processes
          type: lu
            out-of-place factorization
            tolerance for zero pivot 2.22045e-14
            using diagonal shift on blocks to prevent zero pivot [INBLOCKS]
            matrix ordering: nd
            factor fill ratio given 5., needed 1.
              Factored matrix follows:
                Mat Object: 1 MPI processes
                  type: seqaij
                  rows=1, cols=1
                  package used to perform factorization: petsc
                  total: nonzeros=1, allocated nonzeros=1
                  total number of mallocs used during MatSetValues calls =0
                    not using I-node routines
          linear system matrix = precond matrix:
          Mat Object: 1 MPI processes
            type: seqaij
            rows=1, cols=1
            total: nonzeros=1, allocated nonzeros=1
            total number of mallocs used during MatSetValues calls =0
              not using I-node routines
      linear system matrix = precond matrix:
      Mat Object: 1 MPI processes
        type: mpiaij
        rows=1, cols=1
        total: nonzeros=1, allocated nonzeros=1
        total number of mallocs used during MatSetValues calls =0
          using nonscalable MatPtAP() implementation
          not using I-node (on process 0) routines
  Down solver (pre-smoother) on level 1 -------------------------------
    KSP Object: (mg_levels_1_) 1 MPI processes
      type: richardson
        using self-scale best computed damping factor
      maximum iterations=5, nonzero initial guess
      tolerances:  relative=1e-05, absolute=1e-50, divergence=10000.
      left preconditioning
      using NONE norm type for convergence test
    PC Object: (mg_levels_1_) 1 MPI processes
      type: sor
        type = local_symmetric, iterations = 1, local iterations = 1, omega = 1.
      linear system matrix = precond matrix:
      Mat Object: 1 MPI processes
        type: mpiaij
        rows=80, cols=80
        total: nonzeros=6400, allocated nonzeros=6400
        total number of mallocs used during MatSetValues calls =0
          using I-node (on process 0) routines: found 16 nodes, limit used is 5
  Up solver (post-smoother) same as down solver (pre-smoother)
  linear system matrix = precond matrix:
  Mat Object: 1 MPI processes
    type: mpiaij
    rows=80, cols=80
    total: nonzeros=6400, allocated nonzeros=6400
    total number of mallocs used during MatSetValues calls =0
      using I-node (on process 0) routines: found 16 nodes, limit used is 5
3.386283e-02


More information about the petsc-dev mailing list