[petsc-dev] VecScatter problem

Mark Adams mfadams at lbl.gov
Thu Aug 25 16:48:40 CDT 2016

> The troubling bit about this, which caused me to suggest that it was a
> race condition, was that if I modify the code a little bit I can get the
> correct result from the scatter. For example, we weren’t always checking
> the returned error flag.

If there was an error then you should have seen PETSc output to that
effect.  Could you have missed that?

You should definitely add these error check, but that gets rid of the
error!  Could this be a compiler error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160825/19ea7449/attachment.html>

More information about the petsc-dev mailing list