<div dir="ltr">Oh, right, VecGetArray() will catch it. <br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 11, 2015 at 5:36 PM Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jun 11, 2015, at 5:22 PM, Dmitry Karpeyev <<a href="mailto:karpeev@mcs.anl.gov" target="_blank">karpeev@mcs.anl.gov</a>> wrote:<br>
><br>
> Should VecScatterBegin/End() check whether the destination is locked?<br>
<br>
It could, the error messages may be slightly clearer. Since VecGetArray() etc is used within the implementations the checks are already done, just at a slightly later location.<br>
<br>
Barry<br>
<br>
<br>
</blockquote></div>