[petsc-users] help with snes

Kontsantinos Kontzialis ckontzialis at lycos.com
Mon Apr 4 04:21:53 CDT 2011


On 04/04/2011 09:21 AM, Jed Brown wrote:
> On Mon, Apr 4, 2011 at 07:59, Kontsantinos Kontzialis 
> <ckontzialis at lycos.com <mailto:ckontzialis at lycos.com>> wrote:
>
>     I use snes to apply an implicit Runge-Kutta method. I see that the
>     snes and ksp solvers converge very slowly. Here is the runtime
>     options I use:
>
>     mpiexec -np 4 ./hoac cylinder -snes_mf_operator -pc_type hypre
>     -pc_hypre_type euclid -pc_hypre_euclid_levels 2 -ksp_type gmres
>     -dt 1.0e-1 -n_out 10 -file_out cylinder.txt -mat_inode_limit 5
>     -snes_monitor -end_time 1.0e+1 -roe_flux -snes_converged_reason
>     -snes_max_fail 50 -u_mom 0.2 -implicit -implicit_type 2 -snes_atol
>     1.0e-6 -snes_ksp_ew_conv -ksp_gmres_cgs_refinement_type
>     REFINE_IFNEEDED -ksp_gmres_classicalgramschmidt
>
>     Also, I use coloring to compute the jacobian of the system. Any
>     suggestions?
>
>
> This is not enough information to do more than guess. What equations 
> are you solving, what methods have you tried, and how do they perform 
> (show convergence history, "very slowly" means very different things 
> to different people)?
>
> To speed up Newton, you can (a) more accurate linear solve, (b) better 
> initial guess, e.g. provided by stable extrapolation or grid 
> sequencing, (c) more exotic things like nonlinear Schwarz. For the 
> linear solve, you usually have to improve the preconditioner (unless 
> something is being done "wrong" like failing to acknowledge a 
> low-dimensional null space).
Jed,

  I am using a Discontinuous Galerkin method for the Euler equations of 
gas dynamics. I noticed that snes iterations do not drop the function 
norm and i need to set ksp_rtol to very low values in order to get 
converged solution. But this takes time. I use a matrix-free method with 
coloring for computing the jacobian as a preconditioner.

For instance

Timestep   0: step size = 0.1, time = 0, 2-norm residual = 0, CFL = 2910.23
Stage 1
   0 SNES Function norm 1.027079922974e-01
     0 KSP Residual norm 6.927237709481e+00
     1 KSP Residual norm 6.418924686154e-01
     2 KSP Residual norm 3.848527585443e-01
     3 KSP Residual norm 3.125092840762e-01
     4 KSP Residual norm 1.723224124866e-01
     5 KSP Residual norm 1.593049965355e-01
     6 KSP Residual norm 1.316596985033e-01
     7 KSP Residual norm 1.103893708040e-01
     8 KSP Residual norm 7.067294579947e-02
     9 KSP Residual norm 6.780500381016e-02
    10 KSP Residual norm 5.681755604855e-02
    11 KSP Residual norm 5.080542537215e-02
    12 KSP Residual norm 4.491096057365e-02
    13 KSP Residual norm 3.677544617683e-02
    14 KSP Residual norm 3.511275641736e-02
    15 KSP Residual norm 2.950583865595e-02
    16 KSP Residual norm 2.907564423196e-02
    17 KSP Residual norm 2.503394162059e-02
    18 KSP Residual norm 2.404208792763e-02
    19 KSP Residual norm 2.384167488597e-02
    20 KSP Residual norm 2.152623807336e-02
    21 KSP Residual norm 2.140123445364e-02
    22 KSP Residual norm 1.868992128733e-02
    23 KSP Residual norm 1.828641368024e-02
    24 KSP Residual norm 1.490016051590e-02
    25 KSP Residual norm 1.460258473433e-02
    26 KSP Residual norm 1.297026817438e-02
    27 KSP Residual norm 1.287620709307e-02
    28 KSP Residual norm 1.227961630095e-02
    29 KSP Residual norm 1.195861330978e-02
    30 KSP Residual norm 1.194779545098e-02
    31 KSP Residual norm 1.194557385421e-02
    32 KSP Residual norm 1.179010880493e-02
    33 KSP Residual norm 1.149738273328e-02
    34 KSP Residual norm 1.145048206086e-02
    35 KSP Residual norm 1.085469098538e-02
    36 KSP Residual norm 1.074679906620e-02
    37 KSP Residual norm 9.663878491019e-03
    38 KSP Residual norm 9.616289395896e-03
    39 KSP Residual norm 8.856279445189e-03
    40 KSP Residual norm 8.843663029957e-03
    41 KSP Residual norm 8.499163748714e-03
    42 KSP Residual norm 8.390473347232e-03
    43 KSP Residual norm 8.308302849856e-03
    44 KSP Residual norm 7.657464451533e-03
    45 KSP Residual norm 7.633733629069e-03
    46 KSP Residual norm 6.791549457705e-03
    47 KSP Residual norm 6.761807932440e-03
    48 KSP Residual norm 6.310159420349e-03
    49 KSP Residual norm 6.308135765891e-03
    50 KSP Residual norm 6.178469644420e-03
    51 KSP Residual norm 6.092441106798e-03
    52 KSP Residual norm 6.060022864473e-03
    53 KSP Residual norm 5.690961052139e-03
    54 KSP Residual norm 5.643775917490e-03
    55 KSP Residual norm 5.203641551515e-03
    56 KSP Residual norm 5.146470256961e-03
    57 KSP Residual norm 4.903702702525e-03
    58 KSP Residual norm 4.898824722874e-03
    59 KSP Residual norm 4.813924377178e-03
    60 KSP Residual norm 4.723526162768e-03
    61 KSP Residual norm 4.711592750967e-03
    62 KSP Residual norm 4.631580873260e-03
    63 KSP Residual norm 4.616608546291e-03
    64 KSP Residual norm 4.600837802917e-03
    65 KSP Residual norm 4.474343564228e-03
    66 KSP Residual norm 4.443094833339e-03
    67 KSP Residual norm 4.224165899917e-03
    68 KSP Residual norm 4.200220155408e-03
    69 KSP Residual norm 3.982639561746e-03
    70 KSP Residual norm 3.982638871843e-03
    71 KSP Residual norm 3.922944438857e-03
    72 KSP Residual norm 3.874158019578e-03
    73 KSP Residual norm 3.846756027386e-03
    74 KSP Residual norm 3.602959352657e-03
    75 KSP Residual norm 3.555118913445e-03
    76 KSP Residual norm 3.177203273748e-03
    77 KSP Residual norm 3.156576767081e-03
    78 KSP Residual norm 3.001743691226e-03
    79 KSP Residual norm 2.993215617549e-03
    80 KSP Residual norm 2.958723177572e-03
    81 KSP Residual norm 2.756494447464e-03
    82 KSP Residual norm 2.748309056765e-03
    83 KSP Residual norm 2.334551378904e-03
    84 KSP Residual norm 2.330135779280e-03
    85 KSP Residual norm 2.158060720380e-03
    86 KSP Residual norm 2.142593286155e-03
    87 KSP Residual norm 2.117828962844e-03
    88 KSP Residual norm 1.994027737245e-03
    89 KSP Residual norm 1.992614508152e-03
    90 KSP Residual norm 1.846186979481e-03
    91 KSP Residual norm 1.845847460736e-03
    92 KSP Residual norm 1.750049894784e-03
    93 KSP Residual norm 1.749884975326e-03
    94 KSP Residual norm 1.718243135806e-03
    95 KSP Residual norm 1.692788497273e-03
    96 KSP Residual norm 1.690541479527e-03
    97 KSP Residual norm 1.606671137740e-03
    98 KSP Residual norm 1.604648007071e-03
    99 KSP Residual norm 1.491359345392e-03
   100 KSP Residual norm 1.487500193779e-03
   101 KSP Residual norm 1.431517768459e-03
   102 KSP Residual norm 1.413892181036e-03
   103 KSP Residual norm 1.411244613047e-03
   104 KSP Residual norm 1.358895518150e-03
   105 KSP Residual norm 1.352907680814e-03
   106 KSP Residual norm 1.290825812795e-03
   107 KSP Residual norm 1.277895797362e-03
   108 KSP Residual norm 1.239827948290e-03
   109 KSP Residual norm 1.231707202118e-03
   110 KSP Residual norm 1.226844439539e-03
   111 KSP Residual norm 1.207141785145e-03
   112 KSP Residual norm 1.205237619380e-03
   113 KSP Residual norm 1.174105568044e-03
   114 KSP Residual norm 1.161571710906e-03
   115 KSP Residual norm 1.127339527466e-03
   116 KSP Residual norm 1.118975806161e-03
   117 KSP Residual norm 1.108813712733e-03
   118 KSP Residual norm 1.097495827387e-03
   119 KSP Residual norm 1.095458651348e-03
   120 KSP Residual norm 1.099354754200e-03
   121 KSP Residual norm 1.097690891747e-03
   122 KSP Residual norm 1.080236637641e-03
   123 KSP Residual norm 1.075249519522e-03
   124 KSP Residual norm 1.072337341208e-03
   125 KSP Residual norm 1.061274156366e-03
   126 KSP Residual norm 1.061069171322e-03
   127 KSP Residual norm 1.034869646780e-03
   128 KSP Residual norm 1.033331884671e-03
   129 KSP Residual norm 1.008920875186e-03
   130 KSP Residual norm 1.004952247105e-03
   131 KSP Residual norm 9.995273012222e-04
   132 KSP Residual norm 9.912110212877e-04
   133 KSP Residual norm 9.911763000203e-04
   134 KSP Residual norm 9.706007632685e-04
   135 KSP Residual norm 9.684837666814e-04
   136 KSP Residual norm 9.322763749700e-04
   137 KSP Residual norm 9.298333190027e-04
   138 KSP Residual norm 9.127255619624e-04
   139 KSP Residual norm 9.021675689666e-04
   140 KSP Residual norm 9.021675667879e-04
   141 KSP Residual norm 8.785893989448e-04
   142 KSP Residual norm 8.723618462518e-04
   143 KSP Residual norm 8.321111011021e-04
   144 KSP Residual norm 8.231111137986e-04
   145 KSP Residual norm 7.991951376136e-04
   146 KSP Residual norm 7.918718558159e-04
   147 KSP Residual norm 7.910248570583e-04
   148 KSP Residual norm 7.797518457299e-04
   149 KSP Residual norm 7.740621090192e-04
   150 KSP Residual norm 7.996865400922e-04
   151 KSP Residual norm 7.985981734959e-04
   152 KSP Residual norm 7.629754272125e-04
   153 KSP Residual norm 7.621465465035e-04
   154 KSP Residual norm 7.494704585166e-04
   155 KSP Residual norm 7.416807470073e-04
   156 KSP Residual norm 7.397837511960e-04
   157 KSP Residual norm 7.160474295065e-04
   158 KSP Residual norm 7.153230970945e-04
   159 KSP Residual norm 6.833108294843e-04
   160 KSP Residual norm 6.825301707967e-04
   161 KSP Residual norm 6.689873131620e-04
   162 KSP Residual norm 6.665860331512e-04
   163 KSP Residual norm 6.657084022499e-04
   164 KSP Residual norm 6.576302936674e-04
   165 KSP Residual norm 6.551257109061e-04
   166 KSP Residual norm 6.432495386190e-04
   167 KSP Residual norm 6.393490617663e-04
   168 KSP Residual norm 6.289563544548e-04
   169 KSP Residual norm 6.248514077557e-04
   170 KSP Residual norm 6.241333036068e-04
   171 KSP Residual norm 6.172289972591e-04
   172 KSP Residual norm 6.161332336230e-04
   173 KSP Residual norm 6.013433202566e-04
   174 KSP Residual norm 5.948389748744e-04
   175 KSP Residual norm 5.820459960548e-04
   176 KSP Residual norm 5.780888500630e-04
   177 KSP Residual norm 5.765550402812e-04
   178 KSP Residual norm 5.680617497540e-04
   179 KSP Residual norm 5.653573865953e-04
   180 KSP Residual norm 5.941451965319e-04
   181 KSP Residual norm 5.940284187867e-04
   182 KSP Residual norm 5.629093879046e-04
   183 KSP Residual norm 5.616029219408e-04
   184 KSP Residual norm 5.534251512246e-04
   185 KSP Residual norm 5.503051759591e-04
   186 KSP Residual norm 5.494615294258e-04
   187 KSP Residual norm 5.360903464690e-04
   188 KSP Residual norm 5.357596839925e-04
   189 KSP Residual norm 5.200595645635e-04
   190 KSP Residual norm 5.193081989440e-04
   191 KSP Residual norm 5.128888843140e-04
   192 KSP Residual norm 5.113184826859e-04
   193 KSP Residual norm 5.108224858562e-04
   194 KSP Residual norm 5.032655916038e-04
   195 KSP Residual norm 5.023522053806e-04
   196 KSP Residual norm 4.899188744381e-04
   197 KSP Residual norm 4.883553377255e-04
   198 KSP Residual norm 4.800289474213e-04
   199 KSP Residual norm 4.777279100041e-04
   200 KSP Residual norm 4.759559094663e-04
   201 KSP Residual norm 4.694818511931e-04
   202 KSP Residual norm 4.689973302866e-04
   203 KSP Residual norm 4.548454768507e-04
   204 KSP Residual norm 4.520367591463e-04
   205 KSP Residual norm 4.368451030442e-04
   206 KSP Residual norm 4.351974523374e-04
   207 KSP Residual norm 4.287065645698e-04
   208 KSP Residual norm 4.260330488789e-04
   209 KSP Residual norm 4.260155248925e-04
   210 KSP Residual norm 4.840531342466e-04
   211 KSP Residual norm 4.825477592344e-04
   212 KSP Residual norm 4.548435246139e-04
   213 KSP Residual norm 4.544995360569e-04
   214 KSP Residual norm 4.467888907692e-04
   215 KSP Residual norm 4.408942282764e-04
   216 KSP Residual norm 4.370393567572e-04
   217 KSP Residual norm 4.221207630715e-04
   218 KSP Residual norm 4.210509669927e-04
   219 KSP Residual norm 4.054854033659e-04
   220 KSP Residual norm 4.054421274470e-04
   221 KSP Residual norm 3.997032630117e-04
   222 KSP Residual norm 3.993282795883e-04
   223 KSP Residual norm 3.986988207685e-04
   224 KSP Residual norm 3.925181315143e-04
   225 KSP Residual norm 3.921926168323e-04
   226 KSP Residual norm 3.821204190940e-04
   227 KSP Residual norm 3.814133566930e-04
   228 KSP Residual norm 3.766128637251e-04
   229 KSP Residual norm 3.757253419248e-04
   230 KSP Residual norm 3.744322716702e-04
   231 KSP Residual norm 3.701160966981e-04
   232 KSP Residual norm 3.701152921823e-04
   233 KSP Residual norm 3.631617558377e-04
   234 KSP Residual norm 3.625708411480e-04
   235 KSP Residual norm 3.553808760610e-04
   236 KSP Residual norm 3.546034916825e-04
   237 KSP Residual norm 3.540786524554e-04
   238 KSP Residual norm 3.511344181564e-04
   239 KSP Residual norm 3.505042720512e-04
   240 KSP Residual norm 4.132290626555e-04
   241 KSP Residual norm 4.082857512512e-04
   242 KSP Residual norm 3.711356050665e-04
   243 KSP Residual norm 3.704069640625e-04
   244 KSP Residual norm 3.547568213329e-04
   245 KSP Residual norm 3.546708808789e-04
   246 KSP Residual norm 3.500496433773e-04
   247 KSP Residual norm 3.470649802709e-04
   248 KSP Residual norm 3.468562003147e-04
   249 KSP Residual norm 3.373236757208e-04
   250 KSP Residual norm 3.372785835705e-04
   251 KSP Residual norm 3.289650260262e-04
   252 KSP Residual norm 3.286262513859e-04
   253 KSP Residual norm 3.258404684367e-04
   254 KSP Residual norm 3.233806739275e-04
   255 KSP Residual norm 3.232848418577e-04
   256 KSP Residual norm 3.160390660748e-04
   257 KSP Residual norm 3.160023434928e-04
   258 KSP Residual norm 3.076800563449e-04
   259 KSP Residual norm 3.075950769044e-04
   260 KSP Residual norm 3.017997123649e-04
   261 KSP Residual norm 3.010370755465e-04
   262 KSP Residual norm 3.007348493909e-04
   263 KSP Residual norm 2.968283761627e-04
   264 KSP Residual norm 2.965667647944e-04
   265 KSP Residual norm 2.875262248594e-04
   266 KSP Residual norm 2.864872321977e-04
   267 KSP Residual norm 2.796799864284e-04
   268 KSP Residual norm 2.779800721903e-04
   269 KSP Residual norm 2.767755518062e-04
   270 KSP Residual norm 3.701476508480e-04
   271 KSP Residual norm 3.550531831491e-04
   272 KSP Residual norm 3.237961295410e-04
   273 KSP Residual norm 3.212659135171e-04
   274 KSP Residual norm 3.107416795714e-04
   275 KSP Residual norm 3.107404695290e-04
   276 KSP Residual norm 3.079497903315e-04
   277 KSP Residual norm 3.007874486462e-04
   278 KSP Residual norm 3.002891498945e-04
   279 KSP Residual norm 2.879889328174e-04
   280 KSP Residual norm 2.879415924827e-04
   281 KSP Residual norm 2.815601989921e-04
   282 KSP Residual norm 2.806654362436e-04
   283 KSP Residual norm 2.792915793473e-04
   284 KSP Residual norm 2.751905583679e-04
   285 KSP Residual norm 2.751559506503e-04
   286 KSP Residual norm 2.665087440439e-04
   287 KSP Residual norm 2.664771447418e-04
   288 KSP Residual norm 2.617548480595e-04
   289 KSP Residual norm 2.617541578606e-04
   290 KSP Residual norm 2.605161966159e-04
   291 KSP Residual norm 2.594628541708e-04
   292 KSP Residual norm 2.594611806903e-04
   293 KSP Residual norm 2.551674006816e-04
   294 KSP Residual norm 2.549606997571e-04
   295 KSP Residual norm 2.496835632981e-04
   296 KSP Residual norm 2.494290948044e-04
   297 KSP Residual norm 2.466008586027e-04
   298 KSP Residual norm 2.449860389047e-04
   299 KSP Residual norm 2.448908502370e-04
   300 KSP Residual norm 3.252504105699e-04
   301 KSP Residual norm 3.128088862424e-04
   302 KSP Residual norm 2.825197019556e-04
   303 KSP Residual norm 2.797432079325e-04
   304 KSP Residual norm 2.629301571560e-04
   305 KSP Residual norm 2.624809613098e-04
   306 KSP Residual norm 2.574770828907e-04
   307 KSP Residual norm 2.561990302939e-04
   308 KSP Residual norm 2.550132639501e-04
   309 KSP Residual norm 2.479276320314e-04
   310 KSP Residual norm 2.475314075344e-04
   311 KSP Residual norm 2.399863564606e-04
   312 KSP Residual norm 2.399843817621e-04
   313 KSP Residual norm 2.370399439375e-04
   314 KSP Residual norm 2.357745430699e-04
   315 KSP Residual norm 2.352348621885e-04
   316 KSP Residual norm 2.309261579390e-04
   317 KSP Residual norm 2.307545694928e-04
   318 KSP Residual norm 2.257800220221e-04
   319 KSP Residual norm 2.257254923503e-04
   320 KSP Residual norm 2.229018664838e-04
   321 KSP Residual norm 2.227391409799e-04
   322 KSP Residual norm 2.223152932089e-04
   323 KSP Residual norm 2.202129550826e-04
   324 KSP Residual norm 2.202120254316e-04
   325 KSP Residual norm 2.140858308118e-04
   326 KSP Residual norm 2.139462657614e-04
   327 KSP Residual norm 2.089236399059e-04
   328 KSP Residual norm 2.087138619354e-04
   329 KSP Residual norm 2.076200058793e-04
   330 KSP Residual norm 3.105137354000e-04
   331 KSP Residual norm 2.971618102980e-04
   332 KSP Residual norm 2.632509491662e-04
   333 KSP Residual norm 2.606782931874e-04
   334 KSP Residual norm 2.420375352578e-04
   335 KSP Residual norm 2.420149875537e-04
   336 KSP Residual norm 2.365092764887e-04
   337 KSP Residual norm 2.327611491860e-04
   338 KSP Residual norm 2.309994170994e-04
   339 KSP Residual norm 2.207932064590e-04
   340 KSP Residual norm 2.206876586929e-04
   341 KSP Residual norm 2.138312153956e-04
   342 KSP Residual norm 2.138302439214e-04
   343 KSP Residual norm 2.110520083920e-04
   344 KSP Residual norm 2.098418044530e-04
   345 KSP Residual norm 2.096235899540e-04
   346 KSP Residual norm 2.034185757316e-04
   347 KSP Residual norm 2.034184620635e-04
   348 KSP Residual norm 1.976488405192e-04
   349 KSP Residual norm 1.976115434786e-04
   350 KSP Residual norm 1.945816030084e-04
   351 KSP Residual norm 1.943065435743e-04
   352 KSP Residual norm 1.937314638157e-04
   353 KSP Residual norm 1.914843655114e-04
   354 KSP Residual norm 1.914699026461e-04
   355 KSP Residual norm 1.874847304454e-04
   356 KSP Residual norm 1.872309478602e-04
   357 KSP Residual norm 1.848831376039e-04
   358 KSP Residual norm 1.841538952700e-04
   359 KSP Residual norm 1.840508058060e-04
   360 KSP Residual norm 2.955683800624e-04
   361 KSP Residual norm 2.787092713017e-04
   362 KSP Residual norm 2.375973954952e-04
   363 KSP Residual norm 2.362837002318e-04
   364 KSP Residual norm 2.168814309608e-04
   365 KSP Residual norm 2.168107429718e-04
   366 KSP Residual norm 2.100451614964e-04
   367 KSP Residual norm 2.076551935282e-04
   368 KSP Residual norm 2.055029282370e-04
   369 KSP Residual norm 1.984878777061e-04
   370 KSP Residual norm 1.982729424399e-04
   371 KSP Residual norm 1.897882681691e-04
   372 KSP Residual norm 1.897059804945e-04
   373 KSP Residual norm 1.874194039890e-04
   374 KSP Residual norm 1.863443914354e-04
   375 KSP Residual norm 1.862854861081e-04
   376 KSP Residual norm 1.823365401806e-04
   377 KSP Residual norm 1.822124001004e-04
   378 KSP Residual norm 1.768066383954e-04
   379 KSP Residual norm 1.767749820797e-04
   380 KSP Residual norm 1.732546065272e-04
   381 KSP Residual norm 1.729449336935e-04
   382 KSP Residual norm 1.722785014035e-04
   383 KSP Residual norm 1.708647196037e-04
   384 KSP Residual norm 1.708139978897e-04
   385 KSP Residual norm 1.669271053730e-04
   386 KSP Residual norm 1.664487742887e-04
   387 KSP Residual norm 1.633713872445e-04
   388 KSP Residual norm 1.623611873959e-04
   389 KSP Residual norm 1.619434626999e-04
   390 KSP Residual norm 2.704606714739e-04
   391 KSP Residual norm 2.508430425343e-04
   392 KSP Residual norm 2.188049406578e-04
   393 KSP Residual norm 2.149849069956e-04
   394 KSP Residual norm 1.986339539905e-04
   395 KSP Residual norm 1.982077076504e-04
   396 KSP Residual norm 1.920881700711e-04
   397 KSP Residual norm 1.895113714247e-04
   398 KSP Residual norm 1.880286374771e-04
   399 KSP Residual norm 1.800051766499e-04
   400 KSP Residual norm 1.791342664207e-04
   401 KSP Residual norm 1.723021103007e-04
   402 KSP Residual norm 1.722983364536e-04
   403 KSP Residual norm 1.699546057741e-04
   404 KSP Residual norm 1.688016004024e-04
   405 KSP Residual norm 1.684647860428e-04
   406 KSP Residual norm 1.642044267398e-04
   407 KSP Residual norm 1.641199945107e-04
   408 KSP Residual norm 1.600279143621e-04
   409 KSP Residual norm 1.600082345451e-04
   410 KSP Residual norm 1.571845001808e-04
   411 KSP Residual norm 1.568421146682e-04
   412 KSP Residual norm 1.566121984341e-04
   413 KSP Residual norm 1.541905989228e-04
   414 KSP Residual norm 1.541893814351e-04
   415 KSP Residual norm 1.503096486796e-04
   416 KSP Residual norm 1.502069549475e-04
   417 KSP Residual norm 1.474600334036e-04
   418 KSP Residual norm 1.470811856273e-04
   419 KSP Residual norm 1.468503446550e-04
   420 KSP Residual norm 2.763803512664e-04
   421 KSP Residual norm 2.602057695388e-04
   422 KSP Residual norm 2.183342925626e-04
   423 KSP Residual norm 2.173993739737e-04
   424 KSP Residual norm 1.911804707591e-04
   425 KSP Residual norm 1.909057097612e-04
   426 KSP Residual norm 1.799387525085e-04
   427 KSP Residual norm 1.776177027182e-04
   428 KSP Residual norm 1.742907904950e-04
   429 KSP Residual norm 1.663678496699e-04
   430 KSP Residual norm 1.649483630841e-04
   431 KSP Residual norm 1.574852643960e-04
   432 KSP Residual norm 1.572807748854e-04
   433 KSP Residual norm 1.548887544042e-04
   434 KSP Residual norm 1.546798467860e-04
   435 KSP Residual norm 1.544697005440e-04
   436 KSP Residual norm 1.519993025554e-04
   437 KSP Residual norm 1.519316487948e-04
   438 KSP Residual norm 1.478918963793e-04
   439 KSP Residual norm 1.478889661490e-04
   440 KSP Residual norm 1.445882234540e-04
   441 KSP Residual norm 1.444716701122e-04
   442 KSP Residual norm 1.437624306066e-04
   443 KSP Residual norm 1.422790872780e-04
   444 KSP Residual norm 1.422764539369e-04
   445 KSP Residual norm 1.393786944559e-04
   446 KSP Residual norm 1.393457143473e-04
   447 KSP Residual norm 1.365525969412e-04
   448 KSP Residual norm 1.363095456469e-04
   449 KSP Residual norm 1.354028782839e-04
   450 KSP Residual norm 2.605601751211e-04
   451 KSP Residual norm 2.519694861974e-04
   452 KSP Residual norm 2.090311698383e-04
   453 KSP Residual norm 2.085715879165e-04
   454 KSP Residual norm 1.838015375310e-04
   455 KSP Residual norm 1.837739523119e-04
   456 KSP Residual norm 1.753463622085e-04
   457 KSP Residual norm 1.712295128609e-04
   458 KSP Residual norm 1.706509763269e-04
   459 KSP Residual norm 1.603179612581e-04
   460 KSP Residual norm 1.602910110614e-04
   461 KSP Residual norm 1.515043047705e-04
   462 KSP Residual norm 1.514059184851e-04
   463 KSP Residual norm 1.487375893344e-04
   464 KSP Residual norm 1.472465439488e-04
   465 KSP Residual norm 1.471786946789e-04
   466 KSP Residual norm 1.426656793695e-04
   467 KSP Residual norm 1.426493614178e-04
   468 KSP Residual norm 1.368739431348e-04
   469 KSP Residual norm 1.368507658167e-04
   470 KSP Residual norm 1.334891298516e-04
   471 KSP Residual norm 1.332407426119e-04
   472 KSP Residual norm 1.327738486878e-04
   473 KSP Residual norm 1.307942849615e-04
   474 KSP Residual norm 1.307351952401e-04
   475 KSP Residual norm 1.272337855340e-04
   476 KSP Residual norm 1.270264025130e-04
   477 KSP Residual norm 1.242721163254e-04
   478 KSP Residual norm 1.239396247568e-04
   479 KSP Residual norm 1.231277348178e-04
   480 KSP Residual norm 2.661551792497e-04
   481 KSP Residual norm 2.535113528327e-04
   482 KSP Residual norm 2.047238652433e-04
   483 KSP Residual norm 2.030655099375e-04
   484 KSP Residual norm 1.747312421388e-04
   485 KSP Residual norm 1.745992877616e-04
   486 KSP Residual norm 1.656341028631e-04
   487 KSP Residual norm 1.637510460120e-04
   488 KSP Residual norm 1.614472737567e-04
   489 KSP Residual norm 1.528805694879e-04
   490 KSP Residual norm 1.528597718238e-04
   491 KSP Residual norm 1.433703303374e-04
   492 KSP Residual norm 1.433634532650e-04
   493 KSP Residual norm 1.402208125363e-04
   494 KSP Residual norm 1.396024825606e-04
   495 KSP Residual norm 1.395185211705e-04
   496 KSP Residual norm 1.368721239565e-04
   497 KSP Residual norm 1.368721047917e-04
   498 KSP Residual norm 1.313099701242e-04
   499 KSP Residual norm 1.312558057896e-04
   500 KSP Residual norm 1.278276826286e-04
   501 KSP Residual norm 1.276445215817e-04
   502 KSP Residual norm 1.269142176155e-04
   503 KSP Residual norm 1.257668921397e-04
   504 KSP Residual norm 1.257526015128e-04
   505 KSP Residual norm 1.223245237264e-04
   506 KSP Residual norm 1.221042366836e-04
   507 KSP Residual norm 1.191294573606e-04
   508 KSP Residual norm 1.186779609848e-04
   509 KSP Residual norm 1.179260379388e-04
   510 KSP Residual norm 2.510412421241e-04
   511 KSP Residual norm 2.296629012501e-04
   512 KSP Residual norm 1.891291364587e-04
   513 KSP Residual norm 1.852147919892e-04
   514 KSP Residual norm 1.677771665780e-04
   515 KSP Residual norm 1.672450311159e-04
   516 KSP Residual norm 1.591298996024e-04
   517 KSP Residual norm 1.573813490451e-04
   518 KSP Residual norm 1.537945683810e-04
   519 KSP Residual norm 1.453012826230e-04
   520 KSP Residual norm 1.446639040447e-04
   521 KSP Residual norm 1.370962330437e-04
   522 KSP Residual norm 1.370622043459e-04
   523 KSP Residual norm 1.350810905802e-04
   524 KSP Residual norm 1.344406903453e-04
   525 KSP Residual norm 1.340256203640e-04
   526 KSP Residual norm 1.295916728961e-04
   527 KSP Residual norm 1.295055652264e-04
   528 KSP Residual norm 1.239274488400e-04
   529 KSP Residual norm 1.238972505288e-04
   530 KSP Residual norm 1.201152286403e-04
   531 KSP Residual norm 1.200306481147e-04
   532 KSP Residual norm 1.191679467888e-04
   533 KSP Residual norm 1.177359365688e-04
   534 KSP Residual norm 1.176440079687e-04
   535 KSP Residual norm 1.141371623941e-04
   536 KSP Residual norm 1.141353394103e-04
   537 KSP Residual norm 1.111902304574e-04
   538 KSP Residual norm 1.111435026607e-04
   539 KSP Residual norm 1.104373518780e-04
   540 KSP Residual norm 2.532065970323e-04
   541 KSP Residual norm 2.328558435699e-04
   542 KSP Residual norm 1.856863400432e-04
   543 KSP Residual norm 1.824052503129e-04
   544 KSP Residual norm 1.632727866436e-04
   545 KSP Residual norm 1.623079398737e-04
   546 KSP Residual norm 1.526844888068e-04
   547 KSP Residual norm 1.511265397186e-04
   548 KSP Residual norm 1.477189110182e-04
   549 KSP Residual norm 1.383359375652e-04
   550 KSP Residual norm 1.375702414606e-04
   551 KSP Residual norm 1.291115277686e-04
   552 KSP Residual norm 1.289805911758e-04
   553 KSP Residual norm 1.264565638309e-04
   554 KSP Residual norm 1.261764820334e-04
   555 KSP Residual norm 1.259971989377e-04
   556 KSP Residual norm 1.224124087888e-04
   557 KSP Residual norm 1.224106346986e-04
   558 KSP Residual norm 1.171149088916e-04
   559 KSP Residual norm 1.171056991973e-04
   560 KSP Residual norm 1.135465444557e-04
   561 KSP Residual norm 1.133273524148e-04
   562 KSP Residual norm 1.126341467351e-04
   563 KSP Residual norm 1.110537515701e-04
   564 KSP Residual norm 1.110037552185e-04
   565 KSP Residual norm 1.078890765170e-04
   566 KSP Residual norm 1.078787122262e-04
   567 KSP Residual norm 1.055011245599e-04
   568 KSP Residual norm 1.054883845546e-04
   569 KSP Residual norm 1.049715929970e-04
   570 KSP Residual norm 2.593584803792e-04
   571 KSP Residual norm 2.455814515878e-04
   572 KSP Residual norm 1.938992453788e-04
   573 KSP Residual norm 1.922723159534e-04
   574 KSP Residual norm 1.638561052430e-04
   575 KSP Residual norm 1.638003809937e-04
   576 KSP Residual norm 1.524110974008e-04
   577 KSP Residual norm 1.506343440379e-04
   578 KSP Residual norm 1.478423845281e-04
   579 KSP Residual norm 1.385076232286e-04
   580 KSP Residual norm 1.382879555696e-04
   581 KSP Residual norm 1.288719967621e-04
   582 KSP Residual norm 1.288691781733e-04
   583 KSP Residual norm 1.255148505764e-04
   584 KSP Residual norm 1.252964998236e-04
   585 KSP Residual norm 1.249334077999e-04
   586 KSP Residual norm 1.226044863792e-04
   587 KSP Residual norm 1.226037028980e-04
   588 KSP Residual norm 1.178394232303e-04
   589 KSP Residual norm 1.178390359455e-04
   590 KSP Residual norm 1.140645774874e-04
   591 KSP Residual norm 1.139549138636e-04
   592 KSP Residual norm 1.131882577208e-04
   593 KSP Residual norm 1.119290884708e-04
   594 KSP Residual norm 1.119288058877e-04
   595 KSP Residual norm 1.090328205509e-04
   596 KSP Residual norm 1.087834210599e-04
   597 KSP Residual norm 1.059285536635e-04
   598 KSP Residual norm 1.056123757512e-04



and it is still running. I have set for this run ksp_rtol to 1.0e-7. Any 
ideas?

Costas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110404/3e90a6ab/attachment-0001.htm>


More information about the petsc-users mailing list