[petsc-dev] SetPreallocationCSR

Pierre Jolivet pierre.jolivet at enseeiht.fr
Sat Aug 24 07:55:58 CDT 2019


Hello,
Out of the three SetPreallocationCSR implementations (for MPIAIJ, MPIBAIJ, and MPISBAIJ), only MPIAIJ is forcing MAT_NO_OFF_PROC_ENTRIES to PETSC_TRUE before the final AssemblyBegin/AssemblyEnd:
- AIJ https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/aij/mpi/mpiaij.c.html#line3957 <https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/aij/mpi/mpiaij.c.html#line3957>
- BAIJ https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/baij/mpi/mpibaij.c.html#line2782 <https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/baij/mpi/mpibaij.c.html#line2782> and SBAIJ https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/sbaij/mpi/mpisbaij.c.html#line2262 <https://www.mcs.anl.gov/petsc/petsc-current/src/mat/impls/sbaij/mpi/mpisbaij.c.html#line2262>

Is this option not relevant for those two types or is this an oversight?

Thanks,
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190824/249c9ae0/attachment.html>


More information about the petsc-dev mailing list