[petsc-users] parmetis weights

Barry Smith bsmith at mcs.anl.gov
Tue Sep 28 13:41:40 CDT 2010


  It is possible that the code is not tested in that mode. If you determine that something is wrong when you get to this let us know. Perhaps you need to set that flag and see if it works and then tell us what change you made.

   Barry



On Sep 28, 2010, at 12:08 PM, francois pacull wrote:

> Dear PETSc team,
> I just have a small and naive question about graph weights in Parmetis. When looking at mat/partition/impls/pmetis/pmetis.c, it seems that weight arrays (for vertices or edges) can be given to parmetis, however the wgtflag variable is always set to 0 from what I understand, which means that no weights are used in ParMETIS_V3_PartKway. So does this mean that the parmetis routine uses the weight arrays whenever they are not NULL, even if wgtflag is 0? I didn't try to use any weight yet, but will probably try it soon...
> Thank you for any help you can provide,
> francois pacull.
> 
> 



More information about the petsc-users mailing list