On Mon, Apr 13, 2009 at 10:50 PM, Wee-Beng TAY <span dir="ltr"><<a href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
In the past, I did not use ghost cells. Hence, for e.g., on a grid 8x8, I can divide into 8x2 each for 4 processors i.e. divide the y direction because in my computation, usually y no. of cells > x no. of cells. this will minimize the exchange of values.<br>
<br>
Now, with ghost cells, it has changed from x,y=1 to 8 to 0 to 9, i.e., the grid is now 10x10 hence to divide to 4 processors, it will not be an integer because 10/4 is not an interger. I'm thinking of using 6x6 grid, and including ghost cells becomes 8x8. Is this the right/best way?<br>
<br>
Thank you very much and have a nice day!</blockquote><div><br>Usually it is not crucial to divide the grid into exactly equal parts since the number of elements is large.<br><br> Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Yours sincerely,<br>
<br>
Wee-Beng Tay<br></blockquote></div>-- <br>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<br>