[petsc-users] SNES convergence issue

Barry Smith bsmith at mcs.anl.gov
Mon May 16 11:21:12 CDT 2011


On May 16, 2011, at 7:54 AM, Tian(ICT) wrote:

> \!\({3.166862696480865`*^7\ Null, 9.748022859341169`*^6\ Null, 
>     6.374098595333358`*^6\ Null, 4.952740471886356`*^6\ Null, 
>     1.6734417698528145`*^6\ Null, 6808.315385343917`\ Null, 
>     2316.3470969822656`\ Null, 1886.5411772849754`\ Null, 
>     1281.6187957520588`\ Null, 1044.3385445169467`\ Null, 
>     133.68138748861358`\ Null, 1.`\ Null, 1.`\ Null, 1.`\ Null, 1.`\ Null, 
>     1.`\ Null, 1.`\ Null, 1.`\ Null, 1.`\ Null, 0.6661334228099414`\ Null, 
>     0.26534106700889537`\ Null, 0.0022211797318440266`\ Null, 
>     0.002033972519661367`\ Null, 0.001653668057544512`\ Null}\)
> The Jacobian is well conditioned, the aboves are the eigenvalues of Jacobian. (ignore Nulls)
>  
>  
> 
> ./pgfem -snes_monitor -snes_mf_operator -mat_mffd_type ds -ksp_type fgmres -ksp_monitor_true_residual -ksp_gmres_modifiedgramschmidt -ksp_rtol 1e-10 -pc_type lu

   Please rerun this with -pc_type none


> 
> 
> atol=1e-050, rtol=1e-008, stol=1e-008, maxit=50, maxf=10000
>   0 SNES Function norm 7.071067809722e+001 
>   0 KSP preconditioned resid norm 7.071067809722e+001 true resid norm 7.071067809722e+001 ||Ae||/||Ax|| 1.000000000000e+000
>   1 KSP preconditioned resid norm 7.070972822978e+001 true resid norm 7.070972822978e+001 ||Ae||/||Ax|| 9.999865668458e-001
>   2 KSP preconditioned resid norm 6.724301992829e+001 true resid norm 6.989750243097e+001 ||Ae||/||Ax|| 9.884999594384e-001
>   3 KSP preconditioned resid norm 6.716623342588e+001 true resid norm 7.181816951751e+001 ||Ae||/||Ax|| 1.015662293873e+000
>   4 KSP preconditioned resid norm 5.906940941948e+001 true resid norm 1.016799675661e+002 ||Ae||/||Ax|| 1.437971891972e+000
>   5 KSP preconditioned resid norm 5.755484385379e+001 true resid norm 2.609971377053e+002 ||Ae||/||Ax|| 3.691056919953e+000
>   6 KSP preconditioned resid norm 5.755031002601e+001 true resid norm 1.812315583610e+003 ||Ae||/||Ax|| 2.563001278418e+001
>   7 KSP preconditioned resid norm 5.705010785191e+001 true resid norm 2.339400221451e+003 ||Ae||/||Ax|| 3.308411521998e+001
>   8 KSP preconditioned resid norm 5.435904473868e+001 true resid norm 4.593026169759e+004 ||Ae||/||Ax|| 6.495519903576e+002
>   9 KSP preconditioned resid norm 5.369513024767e+001 true resid norm 1.229526591166e+004 ||Ae||/||Ax|| 1.738813181052e+002
>  10 KSP preconditioned resid norm 5.342258023942e+001 true resid norm 1.105734903438e+005 ||Ae||/||Ax|| 1.563745297305e+003
>  11 KSP preconditioned resid norm 1.914740074969e+001 true resid norm 2.091222051593e+006 ||Ae||/||Ax|| 2.957434588193e+004
>  12 KSP preconditioned resid norm 5.794625326821e+000 true resid norm 5.490686672936e+006 ||Ae||/||Ax|| 7.765003561961e+004
>  13 KSP preconditioned resid norm 7.239823936251e-001 true resid norm 4.262009749173e+005 ||Ae||/||Ax|| 6.027391992073e+003
>  14 KSP preconditioned resid norm 6.718858761053e-001 true resid norm 7.089916382344e+005 ||Ae||/||Ax|| 1.002665590704e+004
>  15 KSP preconditioned resid norm 6.284315560280e-001 true resid norm 4.441924320726e+005 ||Ae||/||Ax|| 6.281829619309e+003
>  16 KSP preconditioned resid norm 6.861179511523e-011 true resid norm 1.032548577293e+006 ||Ae||/||Ax|| 1.460244202260e+004
>   1 SNES Function norm 6.940037537947e+001 
>   0 KSP preconditioned resid norm 6.940037537947e+001 true resid norm 6.940037537947e+001 ||Ae||/||Ax|| 1.000000000000e+000
>   1 KSP preconditioned resid norm 6.938917724807e+001 true resid norm 6.938917724807e+001 ||Ae||/||Ax|| 9.998386445126e-001
>   2 KSP preconditioned resid norm 6.029171691634e+001 true resid norm 1.441086829075e+002 ||Ae||/||Ax|| 2.076482758480e+000
>   3 KSP preconditioned resid norm 5.766604118606e+001 true resid norm 9.007097199931e+001 ||Ae||/||Ax|| 1.297845602518e+000
>   4 KSP preconditioned resid norm 5.766567882351e+001 true resid norm 8.577775553964e+001 ||Ae||/||Ax|| 1.235984028482e+000
>   5 KSP preconditioned resid norm 5.719916885561e+001 true resid norm 8.094529230521e+001 ||Ae||/||Ax|| 1.166352370036e+000
>   6 KSP preconditioned resid norm 5.696097100530e+001 true resid norm 1.795442636492e+002 ||Ae||/||Ax|| 2.587079142835e+000
>   7 KSP preconditioned resid norm 5.555754741438e+001 true resid norm 8.478422647294e+002 ||Ae||/||Ax|| 1.221668125127e+001
>   8 KSP preconditioned resid norm 4.772409261772e+001 true resid norm 5.338467893742e+003 ||Ae||/||Ax|| 7.692275242824e+001
>   9 KSP preconditioned resid norm 3.571642731108e+001 true resid norm 1.163435398971e+004 ||Ae||/||Ax|| 1.676410815661e+002
>  10 KSP preconditioned resid norm 2.096423747923e+001 true resid norm 1.059366837544e+006 ||Ae||/||Ax|| 1.526456927288e+004
>  11 KSP preconditioned resid norm 1.265205200445e+001 true resid norm 1.854575098323e+004 ||Ae||/||Ax|| 2.672283958383e+002
>  12 KSP preconditioned resid norm 2.067106193291e+000 true resid norm 8.584646820969e+003 ||Ae||/||Ax|| 1.236974119236e+002
>  13 KSP preconditioned resid norm 2.044680513287e+000 true resid norm 1.394879411501e+004 ||Ae||/||Ax|| 2.009901825278e+002
>  14 KSP preconditioned resid norm 1.994034645379e+000 true resid norm 1.331028694075e+004 ||Ae||/||Ax|| 1.917898407318e+002
>  15 KSP preconditioned resid norm 1.704234175501e-001 true resid norm 1.739963344491e+004 ||Ae||/||Ax|| 2.507138232289e+002
>  16 KSP preconditioned resid norm 4.476463218538e-011 true resid norm 1.887284746671e+004 ||Ae||/||Ax|| 2.719415761588e+002
>   2 SNES Function norm 6.932995270305e+001 
>   0 KSP preconditioned resid norm 6.932995270305e+001 true resid norm 6.932995270305e+001 ||Ae||/||Ax|| 1.000000000000e+000
>   1 KSP preconditioned resid norm 6.796589821716e+001 true resid norm 6.796589821716e+001 ||Ae||/||Ax|| 9.803251778964e-001
>   2 KSP preconditioned resid norm 6.619464654381e+001 true resid norm 7.197343448570e+001 ||Ae||/||Ax|| 1.038129000231e+000
>   3 KSP preconditioned resid norm 6.448145520233e+001 true resid norm 7.132065758253e+001 ||Ae||/||Ax|| 1.028713489652e+000
>   4 KSP preconditioned resid norm 6.317324744073e+001 true resid norm 7.754159831869e+001 ||Ae||/||Ax|| 1.118442971551e+000
>   5 KSP preconditioned resid norm 5.751270629154e+001 true resid norm 2.139311080775e+002 ||Ae||/||Ax|| 3.085695283737e+000
>   6 KSP preconditioned resid norm 5.727428157396e+001 true resid norm 2.035252565877e+002 ||Ae||/||Ax|| 2.935603568914e+000
>   7 KSP preconditioned resid norm 5.717357244059e+001 true resid norm 1.452546292007e+003 ||Ae||/||Ax|| 2.095120846581e+001
>   8 KSP preconditioned resid norm 5.618707993098e+001 true resid norm 1.933732398215e+003 ||Ae||/||Ax|| 2.789173110354e+001
>   9 KSP preconditioned resid norm 2.577788652214e+001 true resid norm 3.012920881090e+004 ||Ae||/||Ax|| 4.345770858946e+002
>  10 KSP preconditioned resid norm 2.243616525067e+001 true resid norm 3.445820770263e+004 ||Ae||/||Ax|| 4.970176144533e+002
>  11 KSP preconditioned resid norm 7.443836886104e+000 true resid norm 2.412374658905e+004 ||Ae||/||Ax|| 3.479556187262e+002
>  12 KSP preconditioned resid norm 5.709179164603e+000 true resid norm 1.074904042224e+004 ||Ae||/||Ax|| 1.550417965563e+002
>  13 KSP preconditioned resid norm 5.703921574283e+000 true resid norm 1.301188436241e+004 ||Ae||/||Ax|| 1.876805602067e+002
>  14 KSP preconditioned resid norm 4.813577737949e+000 true resid norm 6.963974475522e+003 ||Ae||/||Ax|| 1.004468372472e+002
>  15 KSP preconditioned resid norm 4.723496704426e-002 true resid norm 1.647413677323e+003 ||Ae||/||Ax|| 2.376193280239e+001
>  16 KSP preconditioned resid norm 6.817500551576e-011 true resid norm 1.281298358008e+003 ||Ae||/||Ax|| 1.848116590381e+001
>   3 SNES Function norm 6.932995265572e+001 
>   0 KSP preconditioned resid norm 6.932995265572e+001 true resid norm 6.932995265572e+001 ||Ae||/||Ax|| 1.000000000000e+000
>   1 KSP preconditioned resid norm 6.925610729991e+001 true resid norm 6.925610729991e+001 ||Ae||/||Ax|| 9.989348708173e-001
>   2 KSP preconditioned resid norm 6.922826578480e+001 true resid norm 6.935709882939e+001 ||Ae||/||Ax|| 1.000391550443e+000
>   3 KSP preconditioned resid norm 6.634744806213e+001 true resid norm 8.208953917670e+001 ||Ae||/||Ax|| 1.184041471719e+000
>   4 KSP preconditioned resid norm 5.738421542371e+001 true resid norm 7.414189120750e+001 ||Ae||/||Ax|| 1.069406344119e+000
>   5 KSP preconditioned resid norm 5.715731293309e+001 true resid norm 7.145438481299e+001 ||Ae||/||Ax|| 1.030642342536e+000
>   6 KSP preconditioned resid norm 5.671361634587e+001 true resid norm 5.886220999449e+002 ||Ae||/||Ax|| 8.490155804200e+000
>   7 KSP preconditioned resid norm 5.670545540182e+001 true resid norm 6.293471599551e+002 ||Ae||/||Ax|| 9.077565119369e+000
>   8 KSP preconditioned resid norm 5.667053161874e+001 true resid norm 3.910919282524e+002 ||Ae||/||Ax|| 5.641024020231e+000
>   9 KSP preconditioned resid norm 3.488725810207e+001 true resid norm 2.271499085219e+005 ||Ae||/||Ax|| 3.276360358270e+003
>  10 KSP preconditioned resid norm 3.408598913565e+001 true resid norm 9.437094895339e+005 ||Ae||/||Ax|| 1.361185827171e+004
>  11 KSP preconditioned resid norm 1.735266234202e+001 true resid norm 2.981335531660e+005 ||Ae||/||Ax|| 4.300212848068e+003
>  12 KSP preconditioned resid norm 1.439780021726e+001 true resid norm 1.611729374093e+005 ||Ae||/||Ax|| 2.324723027140e+003
>  13 KSP preconditioned resid norm 1.439483508913e+001 true resid norm 6.414270064883e+004 ||Ae||/||Ax|| 9.251802170895e+002
>  14 KSP preconditioned resid norm 1.261494970923e+000 true resid norm 3.819893287904e+003 ||Ae||/||Ax|| 5.509730126130e+001
>  15 KSP preconditioned resid norm 7.986489990995e-003 true resid norm 2.330568872365e+003 ||Ae||/||Ax|| 3.361561321032e+001
>  16 KSP preconditioned resid norm 4.389616521551e-011 true resid norm 7.946454377036e+003 ||Ae||/||Ax|| 1.146179114891e+002
>   4 SNES Function norm 6.932995272590e+001 
> STEP 0 (Newton iterations: 4)
>  
> diverged reason: DIVERGED_LS_FAILURE



More information about the petsc-users mailing list