<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 25, 2017 at 4:26 AM, Benedusi Pietro <span dir="ltr"><<a href="mailto:pietro.benedusi@usi.ch" target="_blank">pietro.benedusi@usi.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="word-wrap:break-word">
Dear all,
<div><br>
</div>
<div>there is a way to access an arbitrary block of a parallel matrix? It should work also in the case where the block is owned by an other processor.</div>
<div> </div>
<div>I have seen that you can use MatCreateRedundantMatrix() to copy the entire matrix in a processor, but this solution is not very efficient if I just need a (small) block of it.</div>
<div>I have also tried to use MatGetSubMatrix() but does not seem to work.</div></div></blockquote><div><br></div><div>Why does MatGetSubMatrix() not work?</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div>Thank you very much for any help,</div>
<div>Pietro </div></div></blockquote></div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>