<div dir="ltr">Hello everyone,<div><br></div><div>I am trying to partition a matrix into unequal parts: for example I am trying to partition a 10*10 matrix into 4*4 and 6*6 submatrices. However, ParMETIS is always dividing the matrix into 2 equal parts (5*5).</div><div><br></div><div>The reason why I am trying to do this is that I am using spectral partitioning method.First, I find the eigenvector corresponding to second smallest eigenvalue and then sort the vector according to signs of elements. So, if there is 4 negative values in the vector, the matrix should be divided as 4*4 and 6*6. But I can't do it by using ParMETIS.</div><div><br></div><div>I tried MatPartitioningSetPartitionWeights but it doesn't work since it only shows when I looked at view imbalance option that partitioning imbalance info: max 6 min 4 but still the matrix was divided into 5*5 and 5*5.</div><div><br></div><div>How can I change the load balance?</div><div><br></div><div>Thanks,</div><div><br></div><div>Eda</div></div>