Hi Bary:

I will check the example you suggest. Anyhow, I’ll send a reproducible example 
ASAP.

Thanks,
Miguel

On 19 Nov 2024, at 18:55, Barry Smith <bsm...@petsc.dev> wrote:


   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

    Can you please send a reproducible example?

    Thanks

     Barry


On Nov 19, 2024, at 6:14 AM, MIGUEL MOLINOS PEREZ <mmoli...@us.es> wrote:

Dear all:

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.

I have used this together with the DMSWarm discretization. And as you can see 
the number of particles per rank is not evenly distributed:
210 420 366 732 420 840 732 1464

Am I missing something?

Thanks,
Miguel


<Screenshot 2024-11-19 at 10.56.36.png>


Reply via email to