[petsc-users] ERROR: Cannot mix add values and insert values!

Dominik Szczerba szczerba.dominik at gmail.com
Mon Sep 15 09:01:46 CDT 2014


I am indeed mixing ADD with INSERT. But when linking my code with
release version of Petsc I do not get this error, only when I link
with the debug version.

I wanted to make sure it is indeed wrong to do so, and if so, why the
error does not come up also in the release version.

Many thanks!

[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: Cannot mix add values and insert values!


More information about the petsc-users mailing list