Yes it is a bug, working on it now.
> On Aug 1, 2019, at 9:13 AM, Pierre Jolivet via petsc-dev > <[email protected]> wrote: > > Hello, > The attached example is a little confusing for me. > How come I don’t get the same matrix out-of-the-box? > For me, the “correct” matrix is the SeqSBAIJ, how can I get > MatMPISBAIJSetPreallocationCSR to assemble the same matrix? > Do I have to resort to first assembling SeqSBAIJ matrices and then calling > MatCreateMPIMatConcatenateSeqMat if I don’t want to play around with my input > arrays? > > Thanks, > Pierre > > <foo.c>
