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

Reply via email to