<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Hi Bary:</div>
<div><br>
</div>
<div>I will check the example you suggest. Anyhow, I’ll send a reproducible example ASAP.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Miguel<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 19 Nov 2024, at 18:55, Barry Smith <bsmith@petsc.dev> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div><br>
</div>
<span style="font-size: 14.666667px;">I modify src/dm/tests/ex25.c and always see a nice even split when possible with both DM_BOUNDARY_NONE and DM_BOUNDARY_PERIODIC</span>
<div><span style="font-size: 14.666667px;"><br>
</span></div>
<div><span style="font-size: 14.666667px;"> Can you please send a reproducible example?</span></div>
<div><span style="font-size: 14.666667px;"><br>
</span></div>
<div><span style="font-size: 14.666667px;"> Thanks</span></div>
<div><span style="font-size: 14.666667px;"><br>
</span></div>
<div><span style="font-size: 14.666667px;"> Barry</span></div>
<div><span style="font-size: 14.666667px;"><br>
</span>
<div><br>
<blockquote type="cite">
<div>On Nov 19, 2024, at 6:14 AM, MIGUEL MOLINOS PEREZ <mmolinos@us.es> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear all:<br>
<br>
It seems that if I mesh a cubic domain with “DMDACreate3d” using 8 bricks for discretization and with periodic boundaries, each of the bricks has a different size. In contrast, if I use DM_BOUNDARY_NONE, all 8 bricks have the same size.
<br>
<br>
I have used this together with the DMSWarm discretization. And as you can see the number of particles per rank is not evenly distributed:
<br>
210 420 366 732 420 840 732 1464<br>
<br>
Am I missing something?<br>
<br>
Thanks,<br>
Miguel<br>
<br>
<br>
</div>
</span></font></div>
<div><span id="cid:534265d3-3f18-41cd-8006-539cb06751f9@eurprd01.prod.exchangelabs.com"><Screenshot 2024-11-19 at 10.56.36.png></span>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>