On Mon, Sep 19, 2011 at 1:13 PM, Lisandro Dalcin <span dir="ltr"><<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 19 September 2011 14:58, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
> On Mon, Sep 19, 2011 at 12:27 PM, Lisandro Dalcin <<a href="mailto:dalcinl@gmail.com">dalcinl@gmail.com</a>> wrote:<br>
>><br>
>> After debugging a failing petsc4py testcase using single precision<br>
>> builds, I realized the default SNES relative tolerance is 1e-8. What<br>
>> should we do?<br>
><br>
> In single, you can reach 1e-8, you just take more iterates since it looks<br>
> like<br>
> iterative refinement. I say we leave the tolerance where it is and make our<br>
> tests smarter.<br>
>    Matt<br>
><br>
<br>
</div>Well, this is a stupid testcase solving du/dt + u*u = 0 with TS. SNES<br>
failed at line search.</blockquote><div><br></div><div>That is strange. This means the linear solve did not manage to find a descent</div><div>direction, so its really about linear solve accuracy than SNES. I would not have</div>
<div>thought that this equation would be that sensitive to precision. This is not my</div><div>experience with other equations.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Lisandro Dalcin<br>
---------------<br>
CIMEC (INTEC/CONICET-UNL)<br>
Predio CONICET-Santa Fe<br>
Colectora RN 168 Km 472, Paraje El Pozo<br>
3000 Santa Fe, Argentina<br>
Tel: <a href="tel:%2B54-342-4511594" value="+543424511594">+54-342-4511594</a> (ext 1011)<br>
Tel/Fax: <a href="tel:%2B54-342-4511169" value="+543424511169">+54-342-4511169</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>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<br>