[petsc-users] PETSc crashes when different rank sets row, col and A values using MatCreateSeqAIJWithArrays

Maruthi NH maruthinh at gmail.com
Sun Feb 4 14:15:16 CST 2024


Hi all,

I have a row, col, and A values in CSR format; let's say rank 0 has 200
unknowns and rank 1 has 100 unknowns. If I use MatCreateSeqAIJWithArrays to
create a Matrix, it crashes. However, if each rank has an equal number of
unknowns, it works fine. Please let me know how to proceed


Regards,
Maruthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240205/81123470/attachment.html>


More information about the petsc-users mailing list