[petsc-users] Partition of parallel AIJ sparce matrix
Barry Smith
bsmith at mcs.anl.gov
Wed Jul 30 14:49:51 CDT 2014
On Jul 30, 2014, at 11:08 AM, Qin Lu <lu_qin_2000 at yahoo.com> wrote:
> Hello,
>
> Does a process have to own consecutive rows of the matrix? For example, suppose the global AIJ is 4x4, partitioned by 2 processes. Does process 1 have to own rows 1 and 2, process 2 own rows 3 and 4?
Yes
> Or process1 may own rows 1 and 3, and process 2 own row 2 and 4?
However, the numbering of degrees of freedom is arbitrary. Just renumber you degrees of freedom so the first set is on process 0, the next on process 1 etc.
Barry
>
> Thanks a lot for your help!
>
> Regards,
> Qin
More information about the petsc-users
mailing list