<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, May 10, 2015 at 4:33 PM, Bikash Kanungo <span dir="ltr"><<a href="mailto:bikash@umich.edu" target="_blank">bikash@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>I'm using MatCreateNest where I assemble four submatrices: A00, A01, A10 and A11 into matrix A. For me A00, A01 and A10 are parallel matrices. But A11 is a sequential matrix present in all processors. Is there any restriction on the type of the submatrices used in MatCreateNest , i.e., that all must be parallel or sequential but not a mix of parallel and sequential matrices?<br></div></div></div></blockquote><div><br></div><div>I believe all matrices need to have the same comm, so you would need to either</div><div><br></div><div> a) make an MPIAIJ matrix which only has rows on some process, or</div><div><br></div><div> b) divide the rows among processes</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div>Thanks,<br></div>Bikash<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div><div><div><font color="#666666">Bikash S. Kanungo<br></font></div><font color="#666666">PhD Student<br></font></div><font color="#666666">Computational Materials Physics Group<br></font></div><font color="#666666">Mechanical Engineering <br></font></div><font color="#666666">University of Michigan<br><br></font></div></div>
</div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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></div>