> On 16 Jan 2019, at 3:22 PM, Jed Brown <j...@jedbrown.org> wrote: > > Matthew Knepley <knep...@gmail.com> writes: > >> On Wed, Jan 16, 2019 at 9:01 AM Jed Brown via petsc-dev < >> petsc-dev@mcs.anl.gov> wrote: >> >>> Pierre Jolivet via petsc-dev <petsc-dev@mcs.anl.gov> writes: >>> >>>> OK, I was wrong about MATAIJ, as Jed already pointed out. >>>> What about BAIJ or Dense matrices? >>> >>> BAIJ (and SBAIJ) is handled by MatXAIJSetPreallocation. >>> >> >> Dense matrices don't need preallocation. > > True, MatMPIDenseSetPreallocation is more like a *PlaceArray or > Create*WithArray. The caller needs to be aware of parallelism to create > and use arrays; I guess Pierre does that but doesn't want the noise at > the particular call site (though at least the if statements aren't > needed). That is exactly what I’m doing, and what I would want. But I can live with a couple of if—else statements (should this never get fixed).
Re: [petsc-dev] Segmentation faults in MatMatMult & MatTransposeMatMult
Pierre Jolivet via petsc-dev Wed, 16 Jan 2019 06:50:42 -0800
- Re: [petsc-dev] Segmentation faults in MatMa... Zhang, Hong via petsc-dev
- Re: [petsc-dev] Segmentation faults in ... Pierre Jolivet via petsc-dev
- Re: [petsc-dev] Segmentation faults... Jed Brown via petsc-dev
- Re: [petsc-dev] Segmentation fa... Pierre Jolivet via petsc-dev
- Re: [petsc-dev] Segmentation faults... Dave May via petsc-dev
- Re: [petsc-dev] Segmentation fa... Pierre Jolivet via petsc-dev
- Re: [petsc-dev] Segmentatio... Pierre Jolivet via petsc-dev
- Re: [petsc-dev] Segmentatio... Smith, Barry F. via petsc-dev
- Re: [petsc-dev] Segmentatio... Jed Brown via petsc-dev
- Re: [petsc-dev] Segmen... Jed Brown via petsc-dev
- Re: [petsc-dev] Se... Pierre Jolivet via petsc-dev
- Re: [petsc-dev] Se... Hapla Vaclav via petsc-dev