[petsc-users] Why use MATMPIBAIJ?

Hoang Giang Bui hgbk2008 at gmail.com
Fri Jan 22 03:40:06 CST 2016


Hi Matt
I would rather like to set the block size for block P2 too. Why?

Because in one of my test (for problem involves only [u_x u_y u_z]), the
gmres + Hypre AMG converges in 50 steps with block size 3, whereby it
increases to 140 if block size is 1 (see attached files).

This gives me the impression that AMG will give better inversion for "P2"
block if I can set its block size to 3. Of course it's still an hypothesis
but worth to try.

Another question: In one of the Petsc presentation, you said the Hypre AMG
does not scale well, because set up cost amortize the iterations. How is it
quantified? and what is the memory overhead?


Giang

On Mon, Jan 18, 2016 at 5:25 PM, Jed Brown <jed at jedbrown.org> wrote:

> Hoang Giang Bui <hgbk2008 at gmail.com> writes:
>
> > Why P2/P2 is not for co-located discretization?
>
> Matt typed "P2/P2" when me meant "P2/P1".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160122/7f953405/attachment-0001.html>
-------------- next part --------------
Mat BlockSize: 1
  0 KSP preconditioned resid norm 1.911887586816e+01 true resid norm 1.379276869721e+08 ||r(i)||/||b|| 1.000000000000e+00
  1 KSP preconditioned resid norm 2.766603264917e+00 true resid norm 3.321478370642e+08 ||r(i)||/||b|| 2.408130262718e+00
  2 KSP preconditioned resid norm 1.341257182306e+00 true resid norm 2.284905925636e+08 ||r(i)||/||b|| 1.656597000788e+00
  3 KSP preconditioned resid norm 8.396573229986e-01 true resid norm 2.270539153896e+08 ||r(i)||/||b|| 1.646180838482e+00
  4 KSP preconditioned resid norm 7.000469584372e-01 true resid norm 8.924328074922e+07 ||r(i)||/||b|| 6.470294884832e-01
  5 KSP preconditioned resid norm 5.856685616746e-01 true resid norm 1.504438024413e+08 ||r(i)||/||b|| 1.090744039460e+00
  6 KSP preconditioned resid norm 5.206871112424e-01 true resid norm 7.058092385951e+07 ||r(i)||/||b|| 5.117241172455e-01
  7 KSP preconditioned resid norm 4.410181993512e-01 true resid norm 1.051980263461e+08 ||r(i)||/||b|| 7.627042014222e-01
  8 KSP preconditioned resid norm 3.881051205583e-01 true resid norm 4.982159043203e+07 ||r(i)||/||b|| 3.612152971297e-01
  9 KSP preconditioned resid norm 3.512930248959e-01 true resid norm 6.067212598629e+07 ||r(i)||/||b|| 4.398835891344e-01
 10 KSP preconditioned resid norm 3.271448340295e-01 true resid norm 3.424131685069e+07 ||r(i)||/||b|| 2.482555721943e-01
 11 KSP preconditioned resid norm 3.011320838979e-01 true resid norm 5.174670019159e+07 ||r(i)||/||b|| 3.751726816246e-01
 12 KSP preconditioned resid norm 2.805100118127e-01 true resid norm 2.781535129664e+07 ||r(i)||/||b|| 2.016661912286e-01
 13 KSP preconditioned resid norm 2.614209581950e-01 true resid norm 3.994710222180e+07 ||r(i)||/||b|| 2.896235201123e-01
 14 KSP preconditioned resid norm 2.453473435748e-01 true resid norm 2.418477634219e+07 ||r(i)||/||b|| 1.753438839809e-01
 15 KSP preconditioned resid norm 2.289681095906e-01 true resid norm 3.486085091310e+07 ||r(i)||/||b|| 2.527473031586e-01
 16 KSP preconditioned resid norm 2.144691019898e-01 true resid norm 2.104834554929e+07 ||r(i)||/||b|| 1.526042088530e-01
 17 KSP preconditioned resid norm 1.966530290799e-01 true resid norm 3.221759403482e+07 ||r(i)||/||b|| 2.335832256894e-01
 18 KSP preconditioned resid norm 1.787680477497e-01 true resid norm 1.985608018861e+07 ||r(i)||/||b|| 1.439600751996e-01
 19 KSP preconditioned resid norm 1.616287717763e-01 true resid norm 2.594110090381e+07 ||r(i)||/||b|| 1.880775460917e-01
 20 KSP preconditioned resid norm 1.459692725095e-01 true resid norm 1.632446483812e+07 ||r(i)||/||b|| 1.183552424933e-01
 21 KSP preconditioned resid norm 1.285628249652e-01 true resid norm 2.243797730991e+07 ||r(i)||/||b|| 1.626792836339e-01
 22 KSP preconditioned resid norm 1.108907310481e-01 true resid norm 1.478710121511e+07 ||r(i)||/||b|| 1.072090857154e-01
 23 KSP preconditioned resid norm 9.615779693990e-02 true resid norm 1.714570075368e+07 ||r(i)||/||b|| 1.243093473839e-01
 24 KSP preconditioned resid norm 8.502624437458e-02 true resid norm 1.099906702424e+07 ||r(i)||/||b|| 7.974517129734e-02
 25 KSP preconditioned resid norm 7.485831599300e-02 true resid norm 1.273774482167e+07 ||r(i)||/||b|| 9.235089126263e-02
 26 KSP preconditioned resid norm 6.498795881661e-02 true resid norm 9.054891380813e+06 ||r(i)||/||b|| 6.564955578966e-02
 27 KSP preconditioned resid norm 5.606210257311e-02 true resid norm 9.322345868566e+06 ||r(i)||/||b|| 6.758864788658e-02
 28 KSP preconditioned resid norm 4.852981804509e-02 true resid norm 6.783123934236e+06 ||r(i)||/||b|| 4.917884206677e-02
 29 KSP preconditioned resid norm 4.115275921216e-02 true resid norm 7.099683403283e+06 ||r(i)||/||b|| 5.147395391847e-02
 30 KSP preconditioned resid norm 3.475504277276e-02 true resid norm 5.078397872029e+06 ||r(i)||/||b|| 3.681927815593e-02
 31 KSP preconditioned resid norm 2.997164782126e-02 true resid norm 4.946201748538e+06 ||r(i)||/||b|| 3.586083299968e-02
 32 KSP preconditioned resid norm 2.664135997726e-02 true resid norm 3.448113390289e+06 ||r(i)||/||b|| 2.499942880204e-02
 33 KSP preconditioned resid norm 2.388699396304e-02 true resid norm 3.463856953580e+06 ||r(i)||/||b|| 2.511357240610e-02
 34 KSP preconditioned resid norm 2.137640944786e-02 true resid norm 2.686552612036e+06 ||r(i)||/||b|| 1.947797915715e-02
 35 KSP preconditioned resid norm 1.881149396168e-02 true resid norm 2.957495619033e+06 ||r(i)||/||b|| 2.144236363241e-02
 36 KSP preconditioned resid norm 1.647029407191e-02 true resid norm 2.245396553839e+06 ||r(i)||/||b|| 1.627952011037e-02
 37 KSP preconditioned resid norm 1.440370412702e-02 true resid norm 2.435890403622e+06 ||r(i)||/||b|| 1.766063404018e-02
 38 KSP preconditioned resid norm 1.276902196677e-02 true resid norm 1.729689589175e+06 ||r(i)||/||b|| 1.254055387389e-02
 39 KSP preconditioned resid norm 1.139909831257e-02 true resid norm 1.781670979589e+06 ||r(i)||/||b|| 1.291742810093e-02
 40 KSP preconditioned resid norm 1.010426972645e-02 true resid norm 1.465549222837e+06 ||r(i)||/||b|| 1.062548974039e-02
 41 KSP preconditioned resid norm 8.841216742488e-03 true resid norm 1.517327342182e+06 ||r(i)||/||b|| 1.100089021640e-02
 42 KSP preconditioned resid norm 7.597480392291e-03 true resid norm 1.309360150093e+06 ||r(i)||/||b|| 9.493091480305e-03
 43 KSP preconditioned resid norm 6.426423094622e-03 true resid norm 1.201517765632e+06 ||r(i)||/||b|| 8.711215217252e-03
 44 KSP preconditioned resid norm 5.485494418122e-03 true resid norm 9.649312672951e+05 ||r(i)||/||b|| 6.995921475073e-03
 45 KSP preconditioned resid norm 4.745918452027e-03 true resid norm 8.357247744265e+05 ||r(i)||/||b|| 6.059151666885e-03
 46 KSP preconditioned resid norm 4.198710675595e-03 true resid norm 6.521219706502e+05 ||r(i)||/||b|| 4.727999033161e-03
 47 KSP preconditioned resid norm 3.789795192481e-03 true resid norm 5.714532479962e+05 ||r(i)||/||b|| 4.143136599629e-03
 48 KSP preconditioned resid norm 3.467959153060e-03 true resid norm 4.692192176654e+05 ||r(i)||/||b|| 3.401921890856e-03
 49 KSP preconditioned resid norm 3.196981188103e-03 true resid norm 4.555886699213e+05 ||r(i)||/||b|| 3.303098021309e-03
 50 KSP preconditioned resid norm 2.942116744663e-03 true resid norm 3.798527602738e+05 ||r(i)||/||b|| 2.753999350041e-03
 51 KSP preconditioned resid norm 2.708801858465e-03 true resid norm 3.689853990680e+05 ||r(i)||/||b|| 2.675209069102e-03
 52 KSP preconditioned resid norm 2.502301741803e-03 true resid norm 3.275165211396e+05 ||r(i)||/||b|| 2.374552407349e-03
 53 KSP preconditioned resid norm 2.317949488968e-03 true resid norm 3.018851715748e+05 ||r(i)||/||b|| 2.188720612968e-03
 54 KSP preconditioned resid norm 2.156174844354e-03 true resid norm 2.823523554064e+05 ||r(i)||/||b|| 2.047104258796e-03
 55 KSP preconditioned resid norm 2.000110080039e-03 true resid norm 2.543455755483e+05 ||r(i)||/||b|| 1.844050176813e-03
 56 KSP preconditioned resid norm 1.847999471907e-03 true resid norm 2.391365810971e+05 ||r(i)||/||b|| 1.733782290901e-03
 57 KSP preconditioned resid norm 1.708100898735e-03 true resid norm 2.118002702306e+05 ||r(i)||/||b|| 1.535589227082e-03
 58 KSP preconditioned resid norm 1.573441943768e-03 true resid norm 1.999611130374e+05 ||r(i)||/||b|| 1.449753254238e-03
 59 KSP preconditioned resid norm 1.453586970061e-03 true resid norm 1.779722098624e+05 ||r(i)||/||b|| 1.290329837101e-03
 60 KSP preconditioned resid norm 1.350886322617e-03 true resid norm 1.688723404284e+05 ||r(i)||/||b|| 1.224354182511e-03
 61 KSP preconditioned resid norm 1.258682463134e-03 true resid norm 1.547529842690e+05 ||r(i)||/||b|| 1.121986365945e-03
 62 KSP preconditioned resid norm 1.169434992982e-03 true resid norm 1.472675575210e+05 ||r(i)||/||b|| 1.067715704903e-03
 63 KSP preconditioned resid norm 1.079674819468e-03 true resid norm 1.330438765481e+05 ||r(i)||/||b|| 9.645915150817e-04
 64 KSP preconditioned resid norm 9.874428413616e-04 true resid norm 1.285833489083e+05 ||r(i)||/||b|| 9.322519048287e-04
 65 KSP preconditioned resid norm 8.941059635027e-04 true resid norm 1.142253308783e+05 ||r(i)||/||b|| 8.281537477054e-04
 66 KSP preconditioned resid norm 7.872220338454e-04 true resid norm 1.102884114086e+05 ||r(i)||/||b|| 7.996103888185e-04
 67 KSP preconditioned resid norm 6.839661733511e-04 true resid norm 9.503368205957e+04 ||r(i)||/||b|| 6.890109168495e-04
 68 KSP preconditioned resid norm 5.898177057824e-04 true resid norm 8.569975158634e+04 ||r(i)||/||b|| 6.213382785407e-04
 69 KSP preconditioned resid norm 5.053678856224e-04 true resid norm 7.498934376228e+04 ||r(i)||/||b|| 5.436859372365e-04
 70 KSP preconditioned resid norm 4.320022440871e-04 true resid norm 6.418754062251e+04 ||r(i)||/||b|| 4.653709638117e-04
 71 KSP preconditioned resid norm 3.672139191641e-04 true resid norm 5.605122833701e+04 ||r(i)||/||b|| 4.063812680941e-04
 72 KSP preconditioned resid norm 3.066360391429e-04 true resid norm 4.821781492553e+04 ||r(i)||/||b|| 3.495876425107e-04
 73 KSP preconditioned resid norm 2.548299312382e-04 true resid norm 4.196880387078e+04 ||r(i)||/||b|| 3.042812128016e-04
 74 KSP preconditioned resid norm 2.118585701026e-04 true resid norm 3.526464374380e+04 ||r(i)||/||b|| 2.556748722317e-04
 75 KSP preconditioned resid norm 1.767429538449e-04 true resid norm 2.944454292582e+04 ||r(i)||/||b|| 2.134781172092e-04
 76 KSP preconditioned resid norm 1.500301319043e-04 true resid norm 2.468586338272e+04 ||r(i)||/||b|| 1.789768531950e-04
 77 KSP preconditioned resid norm 1.293962820440e-04 true resid norm 2.072070921551e+04 ||r(i)||/||b|| 1.502287877828e-04
 78 KSP preconditioned resid norm 1.105232365734e-04 true resid norm 1.780577813563e+04 ||r(i)||/||b|| 1.290950245489e-04
 79 KSP preconditioned resid norm 9.283977688287e-05 true resid norm 1.493966657631e+04 ||r(i)||/||b|| 1.083152114291e-04
 80 KSP preconditioned resid norm 7.791430766433e-05 true resid norm 1.247067574651e+04 ||r(i)||/||b|| 9.041459347486e-05
 81 KSP preconditioned resid norm 6.556651888802e-05 true resid norm 9.968297147374e+03 ||r(i)||/||b|| 7.227190831810e-05
 82 KSP preconditioned resid norm 5.537504198132e-05 true resid norm 8.629249672435e+03 ||r(i)||/||b|| 6.256357850894e-05
 83 KSP preconditioned resid norm 4.703997534876e-05 true resid norm 7.096617147931e+03 ||r(i)||/||b|| 5.145172302764e-05
 84 KSP preconditioned resid norm 4.006510714154e-05 true resid norm 6.366160074207e+03 ||r(i)||/||b|| 4.615578071352e-05
 85 KSP preconditioned resid norm 3.376683589896e-05 true resid norm 5.396248837455e+03 ||r(i)||/||b|| 3.912375358363e-05
 86 KSP preconditioned resid norm 2.809495214990e-05 true resid norm 4.909188189426e+03 ||r(i)||/||b|| 3.559247818329e-05
 87 KSP preconditioned resid norm 2.347820962340e-05 true resid norm 3.974763705693e+03 ||r(i)||/||b|| 2.881773625695e-05
 88 KSP preconditioned resid norm 1.982396512986e-05 true resid norm 3.473147974279e+03 ||r(i)||/||b|| 2.518093394100e-05
 89 KSP preconditioned resid norm 1.700659761335e-05 true resid norm 2.760227290755e+03 ||r(i)||/||b|| 2.001213354149e-05
 90 KSP preconditioned resid norm 1.499373175494e-05 true resid norm 2.344074368650e+03 ||r(i)||/||b|| 1.699495163088e-05
 91 KSP preconditioned resid norm 1.360307479804e-05 true resid norm 1.900490151078e+03 ||r(i)||/||b|| 1.377888800138e-05
 92 KSP preconditioned resid norm 1.249495433113e-05 true resid norm 1.618210433966e+03 ||r(i)||/||b|| 1.173231038300e-05
 93 KSP preconditioned resid norm 1.150300683784e-05 true resid norm 1.455954597720e+03 ||r(i)||/||b|| 1.055592702004e-05
 94 KSP preconditioned resid norm 1.059084138944e-05 true resid norm 1.262010781402e+03 ||r(i)||/||b|| 9.149800225803e-06
 95 KSP preconditioned resid norm 9.662389323940e-06 true resid norm 1.215301439629e+03 ||r(i)||/||b|| 8.811149279081e-06
 96 KSP preconditioned resid norm 8.681503480457e-06 true resid norm 1.069004503090e+03 ||r(i)||/||b|| 7.750470747086e-06
 97 KSP preconditioned resid norm 7.682419140612e-06 true resid norm 1.045217218220e+03 ||r(i)||/||b|| 7.578008746218e-06
 98 KSP preconditioned resid norm 6.768975296683e-06 true resid norm 9.348747369017e+02 ||r(i)||/||b|| 6.778006341040e-06
 99 KSP preconditioned resid norm 5.977242747868e-06 true resid norm 8.718383163583e+02 ||r(i)||/||b|| 6.320981200350e-06
100 KSP preconditioned resid norm 5.285042408342e-06 true resid norm 7.683347534359e+02 ||r(i)||/||b|| 5.570562156904e-06
101 KSP preconditioned resid norm 4.665732202515e-06 true resid norm 6.777921193321e+02 ||r(i)||/||b|| 4.914112127968e-06
102 KSP preconditioned resid norm 4.130379914167e-06 true resid norm 5.772281802894e+02 ||r(i)||/||b|| 4.185005874899e-06
103 KSP preconditioned resid norm 3.628698410807e-06 true resid norm 4.894653296876e+02 ||r(i)||/||b|| 3.548709765478e-06
104 KSP preconditioned resid norm 3.153048277807e-06 true resid norm 4.249356620286e+02 ||r(i)||/||b|| 3.080858320452e-06
105 KSP preconditioned resid norm 2.757772234239e-06 true resid norm 3.519900248906e+02 ||r(i)||/||b|| 2.551989615847e-06
106 KSP preconditioned resid norm 2.445508908427e-06 true resid norm 3.136882105238e+02 ||r(i)||/||b|| 2.274294722185e-06
107 KSP preconditioned resid norm 2.198218991806e-06 true resid norm 2.634914570760e+02 ||r(i)||/||b|| 1.910359427178e-06
108 KSP preconditioned resid norm 1.974395242035e-06 true resid norm 2.480478776426e+02 ||r(i)||/||b|| 1.798390758867e-06
109 KSP preconditioned resid norm 1.762729796116e-06 true resid norm 2.226623111329e+02 ||r(i)||/||b|| 1.614340934884e-06
110 KSP preconditioned resid norm 1.568122463183e-06 true resid norm 2.145171953162e+02 ||r(i)||/||b|| 1.555287412016e-06
111 KSP preconditioned resid norm 1.387736181698e-06 true resid norm 1.952676099913e+02 ||r(i)||/||b|| 1.415724531296e-06
112 KSP preconditioned resid norm 1.216112588033e-06 true resid norm 1.838192127791e+02 ||r(i)||/||b|| 1.332721637073e-06
113 KSP preconditioned resid norm 1.053116104148e-06 true resid norm 1.636126064266e+02 ||r(i)||/||b|| 1.186220185507e-06
114 KSP preconditioned resid norm 9.031383314478e-07 true resid norm 1.492802463042e+02 ||r(i)||/||b|| 1.082308052729e-06
115 KSP preconditioned resid norm 7.632614892009e-07 true resid norm 1.290421703804e+02 ||r(i)||/||b|| 9.355784412344e-07
116 KSP preconditioned resid norm 6.312348151395e-07 true resid norm 1.137948273916e+02 ||r(i)||/||b|| 8.250325216763e-07
117 KSP preconditioned resid norm 5.131878711201e-07 true resid norm 9.359691688996e+01 ||r(i)||/||b|| 6.785941165598e-07
118 KSP preconditioned resid norm 4.175283244420e-07 true resid norm 7.836275622787e+01 ||r(i)||/||b|| 5.681437711903e-07
119 KSP preconditioned resid norm 3.436406468823e-07 true resid norm 6.250193237076e+01 ||r(i)||/||b|| 4.531500073905e-07
120 KSP preconditioned resid norm 2.848928030049e-07 true resid norm 5.073297682146e+01 ||r(i)||/||b|| 3.678230088186e-07
121 KSP preconditioned resid norm 2.385222482703e-07 true resid norm 4.086992937564e+01 ||r(i)||/||b|| 2.963141793563e-07
122 KSP preconditioned resid norm 2.009837789504e-07 true resid norm 3.313795701825e+01 ||r(i)||/||b|| 2.402560192643e-07
123 KSP preconditioned resid norm 1.702119131612e-07 true resid norm 2.713678016435e+01 ||r(i)||/||b|| 1.967464311197e-07
124 KSP preconditioned resid norm 1.452437153791e-07 true resid norm 2.275092931707e+01 ||r(i)||/||b|| 1.649482407522e-07
125 KSP preconditioned resid norm 1.258597152459e-07 true resid norm 1.969719685589e+01 ||r(i)||/||b|| 1.428081430807e-07
126 KSP preconditioned resid norm 1.099656180693e-07 true resid norm 1.684553971561e+01 ||r(i)||/||b|| 1.221331270423e-07
127 KSP preconditioned resid norm 9.609071194249e-08 true resid norm 1.456894280933e+01 ||r(i)||/||b|| 1.056273988868e-07
128 KSP preconditioned resid norm 8.335806699897e-08 true resid norm 1.259199550933e+01 ||r(i)||/||b|| 9.129418310245e-08
129 KSP preconditioned resid norm 7.201543486543e-08 true resid norm 1.066127980017e+01 ||r(i)||/||b|| 7.729615448656e-08
130 KSP preconditioned resid norm 6.224482708204e-08 true resid norm 9.347965933554e+00 ||r(i)||/||b|| 6.777439786579e-08
131 KSP preconditioned resid norm 5.370305957638e-08 true resid norm 7.934585697190e+00 ||r(i)||/||b|| 5.752714245687e-08
132 KSP preconditioned resid norm 4.572913023727e-08 true resid norm 7.068485009027e+00 ||r(i)||/||b|| 5.124776007052e-08
133 KSP preconditioned resid norm 3.872205065558e-08 true resid norm 5.976371697552e+00 ||r(i)||/||b|| 4.332974639647e-08
134 KSP preconditioned resid norm 3.285092158053e-08 true resid norm 5.218042556055e+00 ||r(i)||/||b|| 3.783172668669e-08
135 KSP preconditioned resid norm 2.789700871097e-08 true resid norm 4.438823171064e+00 ||r(i)||/||b|| 3.218224903577e-08
136 KSP preconditioned resid norm 2.364142882920e-08 true resid norm 3.949840232160e+00 ||r(i)||/||b|| 2.863703668836e-08
137 KSP preconditioned resid norm 2.005918792395e-08 true resid norm 3.363443951745e+00 ||r(i)||/||b|| 2.438556047435e-08
138 KSP preconditioned resid norm 1.701096972675e-08 true resid norm 2.979989310769e+00 ||r(i)||/||b|| 2.160544685544e-08
Linear solve converged due to CONVERGED_RTOL iterations 138
KSP Object: 8 MPI processes
  type: gmres
    GMRES: restart=300, using Modified Gram-Schmidt Orthogonalization
    GMRES: happy breakdown tolerance 1e-30
  maximum iterations=300, initial guess is zero
  tolerances:  relative=1e-09, absolute=1e-20, divergence=10000
  left preconditioning
  using PRECONDITIONED norm type for convergence test
PC Object: 8 MPI processes
  type: hypre
    HYPRE BoomerAMG preconditioning
    HYPRE BoomerAMG: Cycle type V
    HYPRE BoomerAMG: Maximum number of levels 25
    HYPRE BoomerAMG: Maximum number of iterations PER hypre call 1
    HYPRE BoomerAMG: Convergence tolerance PER hypre call 0
    HYPRE BoomerAMG: Threshold for strong coupling 0.25
    HYPRE BoomerAMG: Interpolation truncation factor 0
    HYPRE BoomerAMG: Interpolation: max elements per row 0
    HYPRE BoomerAMG: Number of levels of aggressive coarsening 0
    HYPRE BoomerAMG: Number of paths for aggressive coarsening 1
    HYPRE BoomerAMG: Maximum row sums 0.9
    HYPRE BoomerAMG: Sweeps down         1
    HYPRE BoomerAMG: Sweeps up           1
    HYPRE BoomerAMG: Sweeps on coarse    1
    HYPRE BoomerAMG: Relax down          symmetric-SOR/Jacobi
    HYPRE BoomerAMG: Relax up            symmetric-SOR/Jacobi
    HYPRE BoomerAMG: Relax on coarse     Gaussian-elimination
    HYPRE BoomerAMG: Relax weight  (all)      1
    HYPRE BoomerAMG: Outer relax weight (all) 1
    HYPRE BoomerAMG: Using CF-relaxation
    HYPRE BoomerAMG: Measure type        local
    HYPRE BoomerAMG: Coarsen type        PMIS
    HYPRE BoomerAMG: Interpolation type  classical
  linear system matrix = precond matrix:
  Mat Object:   8 MPI processes
    type: mpiaij
    rows=657685, cols=657685
    total: nonzeros=1.19268e+08, allocated nonzeros=1.73433e+08
    total number of mallocs used during MatSetValues calls =0
      using I-node (on process 0) routines: found 27310 nodes, limit used is 5
KSPSolve completed
-------------- next part --------------
Mat BlockSize: 3
  0 KSP preconditioned resid norm 3.922843899310e+01 true resid norm 1.379276869721e+08 ||r(i)||/||b|| 1.000000000000e+00
  1 KSP preconditioned resid norm 3.789896758165e+00 true resid norm 3.322014839602e+08 ||r(i)||/||b|| 2.408519212154e+00
  2 KSP preconditioned resid norm 1.662141140725e+00 true resid norm 1.679851765628e+08 ||r(i)||/||b|| 1.217922088383e+00
  3 KSP preconditioned resid norm 7.267315369946e-01 true resid norm 1.849826360747e+08 ||r(i)||/||b|| 1.341156660679e+00
  4 KSP preconditioned resid norm 2.968302859938e-01 true resid norm 9.098771823190e+07 ||r(i)||/||b|| 6.596769671800e-01
  5 KSP preconditioned resid norm 1.850093521701e-01 true resid norm 3.367649135701e+07 ||r(i)||/||b|| 2.441604879796e-01
  6 KSP preconditioned resid norm 1.123686922687e-01 true resid norm 2.397865218391e+07 ||r(i)||/||b|| 1.738494475642e-01
  7 KSP preconditioned resid norm 7.007966328525e-02 true resid norm 1.704429706270e+07 ||r(i)||/||b|| 1.235741527816e-01
  8 KSP preconditioned resid norm 4.540226244304e-02 true resid norm 1.155499950028e+07 ||r(i)||/||b|| 8.377577956930e-02
  9 KSP preconditioned resid norm 2.826820112754e-02 true resid norm 8.329824418647e+06 ||r(i)||/||b|| 6.039269273277e-02
 10 KSP preconditioned resid norm 1.548122767123e-02 true resid norm 5.046728472042e+06 ||r(i)||/||b|| 3.658966943354e-02
 11 KSP preconditioned resid norm 8.319309697099e-03 true resid norm 2.706550673766e+06 ||r(i)||/||b|| 1.962296862351e-02
 12 KSP preconditioned resid norm 4.305763732343e-03 true resid norm 1.410741128981e+06 ||r(i)||/||b|| 1.022812141601e-02
 13 KSP preconditioned resid norm 2.440491660864e-03 true resid norm 7.333572066616e+05 ||r(i)||/||b|| 5.316968788217e-03
 14 KSP preconditioned resid norm 1.476352449129e-03 true resid norm 4.058067750648e+05 ||r(i)||/||b|| 2.942170524087e-03
 15 KSP preconditioned resid norm 8.703809868174e-04 true resid norm 2.713238735433e+05 ||r(i)||/||b|| 1.967145824741e-03
 16 KSP preconditioned resid norm 5.001006007448e-04 true resid norm 1.707183750745e+05 ||r(i)||/||b|| 1.237738258520e-03
 17 KSP preconditioned resid norm 2.877239505205e-04 true resid norm 1.072077924150e+05 ||r(i)||/||b|| 7.772753590559e-04
 18 KSP preconditioned resid norm 1.800774654043e-04 true resid norm 7.938540730423e+04 ||r(i)||/||b|| 5.755581714373e-04
 19 KSP preconditioned resid norm 1.158652230276e-04 true resid norm 6.225024111862e+04 ||r(i)||/||b|| 4.513252015255e-04
 20 KSP preconditioned resid norm 7.758215398310e-05 true resid norm 5.008804225912e+04 ||r(i)||/||b|| 3.631471197603e-04
 21 KSP preconditioned resid norm 5.662942779039e-05 true resid norm 4.190496993343e+04 ||r(i)||/||b|| 3.038184055237e-04
 22 KSP preconditioned resid norm 4.130690000478e-05 true resid norm 3.441885346649e+04 ||r(i)||/||b|| 2.495427438978e-04
 23 KSP preconditioned resid norm 3.169843455827e-05 true resid norm 2.773595092118e+04 ||r(i)||/||b|| 2.010905245355e-04
 24 KSP preconditioned resid norm 2.398916332360e-05 true resid norm 2.141075928952e+04 ||r(i)||/||b|| 1.552317722391e-04
 25 KSP preconditioned resid norm 1.806290897280e-05 true resid norm 1.600142681600e+04 ||r(i)||/||b|| 1.160131599918e-04
 26 KSP preconditioned resid norm 1.306830199253e-05 true resid norm 1.114410319574e+04 ||r(i)||/||b|| 8.079670906096e-05
 27 KSP preconditioned resid norm 9.332635869324e-06 true resid norm 8.131127062842e+03 ||r(i)||/||b|| 5.895210194083e-05
 28 KSP preconditioned resid norm 7.155256833303e-06 true resid norm 6.423264348021e+03 ||r(i)||/||b|| 4.656979674661e-05
 29 KSP preconditioned resid norm 5.755469825493e-06 true resid norm 5.164732533873e+03 ||r(i)||/||b|| 3.744521964556e-05
 30 KSP preconditioned resid norm 4.713974229264e-06 true resid norm 4.212063007112e+03 ||r(i)||/||b|| 3.053819794690e-05
 31 KSP preconditioned resid norm 3.923079924701e-06 true resid norm 3.379019742987e+03 ||r(i)||/||b|| 2.449848770154e-05
 32 KSP preconditioned resid norm 3.198857062416e-06 true resid norm 2.635520676977e+03 ||r(i)||/||b|| 1.910798864851e-05
 33 KSP preconditioned resid norm 2.434729804632e-06 true resid norm 1.989444200221e+03 ||r(i)||/||b|| 1.442382050982e-05
 34 KSP preconditioned resid norm 1.799411077253e-06 true resid norm 1.601232088542e+03 ||r(i)||/||b|| 1.160921439120e-05
 35 KSP preconditioned resid norm 1.441113857607e-06 true resid norm 1.388357809073e+03 ||r(i)||/||b|| 1.006583840817e-05
 36 KSP preconditioned resid norm 1.222670192141e-06 true resid norm 1.193888531401e+03 ||r(i)||/||b|| 8.655901926654e-06
 37 KSP preconditioned resid norm 1.022705842198e-06 true resid norm 9.615954443382e+02 ||r(i)||/||b|| 6.971736171671e-06
 38 KSP preconditioned resid norm 8.061451908820e-07 true resid norm 7.055806093973e+02 ||r(i)||/||b|| 5.115583570542e-06
 39 KSP preconditioned resid norm 6.141756002800e-07 true resid norm 5.077759033730e+02 ||r(i)||/||b|| 3.681464646585e-06
 40 KSP preconditioned resid norm 4.523502767060e-07 true resid norm 3.646731386764e+02 ||r(i)||/||b|| 2.643944422487e-06
 41 KSP preconditioned resid norm 3.435490374534e-07 true resid norm 2.756734541759e+02 ||r(i)||/||b|| 1.998681049670e-06
 42 KSP preconditioned resid norm 2.698337933227e-07 true resid norm 2.119727541091e+02 ||r(i)||/||b|| 1.536839765551e-06
 43 KSP preconditioned resid norm 2.022177136958e-07 true resid norm 1.525505724444e+02 ||r(i)||/||b|| 1.106018492685e-06
 44 KSP preconditioned resid norm 1.450868732897e-07 true resid norm 1.092286964160e+02 ||r(i)||/||b|| 7.919272686572e-07
 45 KSP preconditioned resid norm 1.093179310599e-07 true resid norm 8.571670843458e+01 ||r(i)||/||b|| 6.214612186741e-07
 46 KSP preconditioned resid norm 8.815037192628e-08 true resid norm 7.064136907088e+01 ||r(i)||/||b|| 5.121623556638e-07
 47 KSP preconditioned resid norm 7.142227995496e-08 true resid norm 5.692059590833e+01 ||r(i)||/||b|| 4.126843359582e-07
 48 KSP preconditioned resid norm 5.506505113710e-08 true resid norm 4.457038722481e+01 ||r(i)||/||b|| 3.231431498871e-07
 49 KSP preconditioned resid norm 3.976822689446e-08 true resid norm 3.530686596329e+01 ||r(i)||/||b|| 2.559809907523e-07
 50 KSP preconditioned resid norm 2.931961034973e-08 true resid norm 2.958079043384e+01 ||r(i)||/||b|| 2.144659356161e-07
Linear solve converged due to CONVERGED_RTOL iterations 50
KSP Object: 8 MPI processes
  type: gmres
    GMRES: restart=300, using Modified Gram-Schmidt Orthogonalization
    GMRES: happy breakdown tolerance 1e-30
  maximum iterations=300, initial guess is zero
  tolerances:  relative=1e-09, absolute=1e-20, divergence=10000
  left preconditioning
  using PRECONDITIONED norm type for convergence test
PC Object: 8 MPI processes
  type: hypre
    HYPRE BoomerAMG preconditioning
    HYPRE BoomerAMG: Cycle type V
    HYPRE BoomerAMG: Maximum number of levels 25
    HYPRE BoomerAMG: Maximum number of iterations PER hypre call 1
    HYPRE BoomerAMG: Convergence tolerance PER hypre call 0
    HYPRE BoomerAMG: Threshold for strong coupling 0.25
    HYPRE BoomerAMG: Interpolation truncation factor 0
    HYPRE BoomerAMG: Interpolation: max elements per row 0
    HYPRE BoomerAMG: Number of levels of aggressive coarsening 0
    HYPRE BoomerAMG: Number of paths for aggressive coarsening 1
    HYPRE BoomerAMG: Maximum row sums 0.9
    HYPRE BoomerAMG: Sweeps down         1
    HYPRE BoomerAMG: Sweeps up           1
    HYPRE BoomerAMG: Sweeps on coarse    1
    HYPRE BoomerAMG: Relax down          symmetric-SOR/Jacobi
    HYPRE BoomerAMG: Relax up            symmetric-SOR/Jacobi
    HYPRE BoomerAMG: Relax on coarse     Gaussian-elimination
    HYPRE BoomerAMG: Relax weight  (all)      1
    HYPRE BoomerAMG: Outer relax weight (all) 1
    HYPRE BoomerAMG: Using CF-relaxation
    HYPRE BoomerAMG: Measure type        local
    HYPRE BoomerAMG: Coarsen type        PMIS
    HYPRE BoomerAMG: Interpolation type  classical
  linear system matrix = precond matrix:
  Mat Object:   8 MPI processes
    type: mpiaij
    rows=670170, cols=670170, bs=3
    total: nonzeros=1.22417e+08, allocated nonzeros=1.77479e+08
    total number of mallocs used during MatSetValues calls =0
      using I-node (on process 0) routines: found 27322 nodes, limit used is 5
KSPSolve completed


More information about the petsc-users mailing list