<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I checked the documentation of
MatGetSubMatrix() and found the following:<br>
<br>
"The rows in isrow will be sorted into the same order as the
original matrix on each process."<br>
<br>
For my case, this will be wrong. I need to say each task exactly
which row from the old matrix should be which row in the new
matrix. Any other possibility to do this?<br>
<br>
Thomas<br>
<br>
Am 08.12.2012 15:12, schrieb Jed Brown:<br>
</div>
<blockquote
cite="mid:CAM9tzSn2+8hXL9ZeJxJzqYaiyvVe0Hv5_4SZZzs=v-4_-kVzMw@mail.gmail.com"
type="cite">MatGetSubMatrix() and later, MatGetRow()
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sat, Dec 8, 2012 at 5:59 AM, Thomas
Witkowski <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:thomas.witkowski@tu-dresden.de"
target="_blank">thomas.witkowski@tu-dresden.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">A have a
distributed MATAIJ, which is non square. I want to create a
new matrix, which has the same col layout but a different
row layout and should be scattered from the original matrix.
Thus, each rank should collect some rows, which may be non
local in the original matrix, to its own local part of the
new matrix. After creating the new matrix, I need not only
to make some MatMult, but I need local access to the matrix
rows. How to do this? Thanks for any advise.<span
class="HOEnZb"><font color="#888888"><br>
<br>
Thomas<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>