Please send complete error message; type of matrix used etc. Ideally code 
that demonstrates the problem.

   Barry


> On May 29, 2018, at 3:31 AM, Marius Buerkle <[email protected]> wrote:
> 
> 
> Hi,
>  
> I tried to set MAT_NEW_NONZERO_LOCATIONS to false, as far as I understood 
> MatSetValues should simply ignore  entries which would give rise to new 
> nonzero values not creating a new entry and not cause an error, but I get  
> "[1]PETSC ERROR: Inserting a new nonzero at global row/column". Is this 
> option supposed to work or not?

Reply via email to