[petsc-dev] Bug in MatShift_MPIAIJ ?

Eric Chamberland Eric.Chamberland at giref.ulaval.ca
Wed Oct 7 21:11:33 CDT 2015


Hi Jed,
> If I recall correctly, that patch is only checking for incorrect use by
> ensuring that the flags are set collectively.  If your code is correct
> then it doesn't affect you and if your code is incorrect, it will error
> now where as it would behave incorrectly before.  The implementation was
> done by changing some enum values, which is why it breaks the ABI.
>
> As Satish says, you can apply the patch and see if your code errors.
>
> If your example is simple, you can send it along so we can debug and add
> it to the test suite.

ok, after applying the patch, the code still error at the same place.

The fact is that doing the very same MatShift with petsc 3.5.3 was 
working correctly...  in fact it is now hanging into one of our test 
from our test suite...

I will have to dig further into this...

to be continued...

Eric




More information about the petsc-dev mailing list