I got a submatrix B from A in parallel mode. Because the rows numbers of B in some processors of the cluster become 0, I want to use MatGetOwnershipRange() to get the range in each processor. I have checked this function, the description is as folllows:<br>
&quot;<br>MatGetOwnershipRange<br>Returns the range of matrix rows owned by this processor, assuming that the matrix is laid out with the first n1 rows on the first processor, the next n2 rows on the second, etc. For certain parallel layouts this range may not be well defined.<br>
&quot;<br>There is an assumption in this function, I am wondering whether I can use this function here. if not, how to do it? thanks a lot.<br><br>Yujie<br>