[petsc-dev] default SNES rtol for single precision builds

Lisandro Dalcin dalcinl at gmail.com
Mon Sep 19 13:13:32 CDT 2011


On 19 September 2011 14:58, Matthew Knepley <knepley at gmail.com> wrote:
> On Mon, Sep 19, 2011 at 12:27 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
>>
>> After debugging a failing petsc4py testcase using single precision
>> builds, I realized the default SNES relative tolerance is 1e-8. What
>> should we do?
>
> In single, you can reach 1e-8, you just take more iterates since it looks
> like
> iterative refinement. I say we leave the tolerance where it is and make our
> tests smarter.
>    Matt
>

Well, this is a stupid testcase solving du/dt + u*u = 0 with TS. SNES
failed at line search.


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list