<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-US" link="blue" vlink="purple"><div><br>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">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. </span></p></div></div></blockquote><div><br></div><div>If there was an error then you should have seen PETSc output to that effect. Could you have missed that?</div><div><br></div><div>You should definitely add these error check, but that gets rid of the error! Could this be a compiler error?</div><div><br></div></div></div></div>