[petsc-users] F90 to petsc 3.4.3 interface - loss of accuracy

Barry Smith bsmith at mcs.anl.gov
Wed Jan 28 12:52:16 CST 2015


> On Jan 28, 2015, at 12:39 PM, <Carol.Brickley at awe.co.uk> <Carol.Brickley at awe.co.uk> wrote:
> 
> Hi,
>  
> Does anyone find loss of accuracy between F90 code and Petsc 3.4.3 C codes? I am noticing that some of my data is returning 9.99999997e-13 instead of 1.00000000e-12 for example.

  I am not sure exactly what your question is. Do you have two codes a F90 code without PETSc and a PETSc based C code? What is the data that is different? Is it solutions, residual values, ...?  This kind of small difference can often be caused by different tolerances used during the iterative solvers. We'll need more information in order to make any suggestions.

   Barry

>  
> Carol
>  
> Dr Carol Brickley 
> BSc,PhD,ARCS,DIC,MBCS
>  
> Senior Software Engineer
> Applied Computer Science
> DS+T,
> AWE
> Aldermaston
> Reading
> Berkshire
> RG7 4PR
>  
> Direct: 0118 9855035
>  
> ___________________________________________________ ____________________________ The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
> 



More information about the petsc-users mailing list