MatCreateMPIAIJWithSplitArrays and MatSetValues
Barry Smith
bsmith at mcs.anl.gov
Fri Aug 14 11:35:15 CDT 2009
MatCreateMPIAIJWithSplitArrays() cannot be used to set some off-
processor entries; it sets only local rows. Also you cannot later set
off-processor values into this matrix with MatSetValues().
This is rather a special routine designed for people who already
have the entire sparse matrix setup in parallel CSR format. For
general usage where you set values with MatSetValues() you should use
MatCreateMPIAIJ()
Barry
On Aug 14, 2009, at 3:54 AM, Lukasz Kaczmarczyk wrote:
> Hello
>
> I created matrix with some off-processor entries using
> MatCreateMPIAIJWithSplitArrays. However I noticed problem, I can not
> set values on off-proc entries by using MatSetValue and
> MatSetValues. Can You help me?
>
> Regards
> Lukasz
More information about the petsc-users
mailing list