<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi all,<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Could you help me with my doubts:<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>Doubt 1</b>: Initially I tried to create a matrix with MatCreateMPIDense(); I received a compilation error stating that no such function existed.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><b>Doubt 2</b>: So I continued working with MatCreateDense(). And I set the global size to 10 cross 10. Now when I called the function <b>MatGetLocalSize(A,&localrow,&localcolumn), </b>and ran the code with 2 processes the values returned were:<i><br>The local matrix size for the process 1 is 5 cross 5<br>The local matrix size for the process 2 is 5 cross 5<br></i></div><div class="gmail_default" style="font-family:verdana,sans-serif">How can it be possible that process 1 is only dealing with 25 elements and process two is dealing with 25 elements, while the global matrix contains 100 elements.<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thanks,<br clear="all"></div><div><div class="gmail_signature"><div dir="ltr"><font color="#888888"><div dir="ltr"><font color="#000000" face="georgia, serif"><i>Kaushik</i></font></div></font></div></div></div>
</div>