Dear Jed,

It is not only redistribute the matrix. I want to get the reorder information and use matpermute to reorder the matrix.

Thanks
Yujie 


On Feb 20, 2012, at 4:31 PM, Jed Brown <jedbrown@mcs.anl.gov> wrote:

On Mon, Feb 20, 2012 at 16:27, recrusader <recrusader@gmail.com> wrote:
Thank you very much for your prompt reply.
Actually, I want to reorder MPIAIJ matrix using Parmetis. The reordering function needs the same information with the partitioning, that is "i" and "j".

Are you just redistributing the matrix? Or other data?
 
I need to directly get them and then use the function in Parmetis.

MatConvert()