[petsc-dev] VecLocked missing in VecScatterBegin/End()?

Dmitry Karpeyev karpeev at mcs.anl.gov
Thu Jun 11 17:41:05 CDT 2015


Oh, right, VecGetArray() will catch it.

On Thu, Jun 11, 2015 at 5:36 PM Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On Jun 11, 2015, at 5:22 PM, Dmitry Karpeyev <karpeev at mcs.anl.gov>
> wrote:
> >
> > Should VecScatterBegin/End() check whether the destination is locked?
>
>   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.
>
>    Barry
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150611/da598365/attachment.html>


More information about the petsc-dev mailing list