<div dir="ltr"><div dir="ltr">On Thu, Sep 17, 2020 at 12:23 AM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Alexander B Prescott <<a href="mailto:alexprescott@email.arizona.edu" target="_blank">alexprescott@email.arizona.edu</a>> writes:<br>
<br>
>> Are the problems of varying nonlinearity, that is will some converge<br>
>> with say a couple of Newton iterations while others require more, say 8 or<br>
>> more Newton steps?<br>
>><br>
> The nonlinearity should be pretty similar, the problem setup is the same at<br>
> every node but the global domain needs to be traversed in a specific order.<br>
<br>
<br>
It sounds like you may have a Newton solver now for each individual problem? If so, could you make a histogram of number of iterations necessary to solve? Does it have a long tail or does every problem take 3 and 4 iterations (for example).<br>
<br>
If there is no long tail, then you can batch. If there is a long tail, you really want a solver that does one problem at a time, or a more dynamic system that checks which have completed and shrinks the active problem down. (That complexity has a development and execution time cost.)<br>
</blockquote></div><br clear="all"><div>He cannot batch if the solves are sequential, as he says above.</div><div><br></div><div> Matt</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>