[petsc-users] Fwd: Building the same petsc matrix with different numprocs gives different results!
Jed Brown
jedbrown at mcs.anl.gov
Tue Sep 24 19:59:14 CDT 2013
Analabha Roy <hariseldon99 at gmail.com> writes:
> Sorry. Modified accordingly and here is new
> output<http://pastebin.ca/2457857>(I manually reordered the output of
> the 2 procs case since the order in
> which it was printed was haphazard)
There is no automatic ordering of output among processes. You can use
PetscSynchronizedPrintf and PetscSynchronizedFlush if you want collated
output.
> All the elements do not match.
Sounds like you are inserting different values when you run in parallel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130925/77179620/attachment.pgp>
More information about the petsc-users
mailing list