https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
> On Oct 31, 2018, at 9:18 PM, Wenjin Xing <xing0...@flinders.edu.au> wrote: > > Hi Barry > > As you said, I have set the mat option to Aij. (MATAIJ = "aij" - A matrix > type to be used for sparse matrices. This matrix type is identical to > MATSEQAIJ when constructed with a single process communicator.) However, a > new error pops up. By the way, I am using a single processor, not in > parallel mode. > > > > <image002.jpg> > > Kind regards > Wenjin > > > > > -----Original Message----- > From: Smith, Barry F. [mailto:bsm...@mcs.anl.gov] > Sent: Thursday, 1 November 2018 9:28 AM > To: Wenjin Xing <xing0...@flinders.edu.au> > Cc: petsc-users@mcs.anl.gov > Subject: Re: [petsc-users] (no subject) > > > This option only works with AIJ matrices; you must be using either BAIJ or > SBAIJ matrices? (or a shell matrix) > > Barry > > > > On Oct 31, 2018, at 5:45 AM, Wenjin Xing via petsc-users > > <petsc-users@mcs.anl.gov> wrote: > > > > My issue is summarized in the picture and posted in the link > > https://scicomp.stackexchange.com/questions/30458/what-does-the-error-this-matrix-type-does-not-have-a-find-zero-diagonals-define?noredirect=1#comment56074_30458 > > > > <image001.png> > > > > Kind regards > > Wenjin