Whats the best way to copy data from a MATMPIAIJ to a local MATSEQDENSE? The problem with MatGetSubMatrix seems to be that both matrices must have the same communicator. But the MATMPIAIJ has, say, PETSC_COMM_WORLD, but the MATSEQDENSE has PETSC_COMM_SELF. If it is simpler to extract subvectors from MATMPIAIJ to VECSEQ, this would to the same for me.
Thanks, Thomas
