Re: [petsc-users] unable to distribute rows of a matrix across processors while loading

2023-08-27 Thread Matthew Knepley
On Sun, Aug 27, 2023 at 8:30 AM maitri ksh wrote: > Hi, > I am using MatSetSizes() followed by MatLoad() to distribute the rows of a > *sparse* matrix (*48x48*) across the processors. But it seems > like the entire matrix is getting loaded in each of the processors instead > of distributi

[petsc-users] unable to distribute rows of a matrix across processors while loading

2023-08-27 Thread maitri ksh
Hi, I am using MatSetSizes() followed by MatLoad() to distribute the rows of a *sparse* matrix (*48x48*) across the processors. But it seems like the entire matrix is getting loaded in each of the processors instead of distributing it. What am I missing here? *code snippet:* Mat