[petsc-users] Running the same problem multiple time, but the matrix is not the same

Hong hzhang at mcs.anl.gov
Thu Dec 8 15:01:08 CST 2016


Khai :
Your solution components have values ranging from 1.e+9 to 1.e-8, and the
values only differ in the order of 1.e-8, which are within computational
error tolerance.
I would consider all solutions same within the approximation tolerance.

Hong

Hello,
>
> I have problem with matrix assembly for linear solver KSP. I run the the
> same problem with 4 processors multiple time. Using flag
> -mat_view ::ascii_matlab to view the matrix. The matrix outputs are not the
> same during each run. Please see the attached file for the comparison
> between two runs. I checked all the input for each processor as it calls to
> MatSetValues ( indices of the matrix and values ) and it's consistent all
> the time. I also checked the allocation information (with flag -info) and
> it looks fine. Could you give me an advice how to deal with this issue?
> Thanks !
>
> Best,
> Khai
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161208/3da3e39f/attachment.html>


More information about the petsc-users mailing list