problem of parallel MatAssembled

Gong Ding gdiso at ustc.edu
Fri May 30 10:19:32 CDT 2008


Hi,
I use MatAssembled to determine if a parallel matrix (MPIAIJ) is assembled.
One processor says 1 and another says 0. (Petsc-2.3.3-p2)
The correct answer should be the same for all the processor  I think.
Is it a bug or I forget something?

BTW. I think a function as MatAddRowToRow is useful.
I had implemented with MatGetRow and MatSetValues (or use Mat*Mat?). 
However, write it from lower level should be more efficient.
If the develops can add this to petsc...

Regards
Gong Ding





More information about the petsc-users mailing list