>> Is there a some sort of queue/lock
>
>   No
>
>> or will a race condition result?
>
>  No.
>
>> It's not discussed in the documentation.
>
>   Yes it is :-)

I did not notice it in the VecSetValue(s) man pages...

>   If ADD_VALUES is used then the location will always get the correct sum.
>
>   If INSERT_VALUES is used then one of the values set will be used but it is 
> not defined which one.

Many thanks for the clarifications. Would the same be the case with
MatSetValues and a distributed matrix?

Regards,
Dominik

Reply via email to