espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dividing simulation box using mpi


From: Jean-Noël Grad
Subject: Re: dividing simulation box using mpi
Date: Mon, 20 Apr 2020 21:24:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

Hi,

There is a script `samples/visualization_cellsystem.py` that helps visualizing domain decomposition for different values of `system.cell_system.node_grid`. For example, under the line `system.cell_system.skin = 0.4`, add `system.cell_system.node_grid=[2,1,2]` and run the script with `mpiexec -n 4 ./pypresso ../samples/visualization_cellsystem.py` to see how the domain decomposition changed compared to the default value of `node_grid`. Only the cellsystem of MPI rank 0 is displayed in wireframes.

Best regards,
JN

On 4/20/20 7:04 AM, Rudolf Weeber wrote:
Hi,
On Mon, Apr 20, 2020 at 12:45:59AM +0000, Pouyan Keshavarz wrote:
I am looking for a way to change the order of the simulation box decomposition 
after using mpi. For example, when I have a simulation box with geometry 
50*30*20 and using four cores in mpi, the local boxes create having dimensions 
25*15*20. But, I would like to have 25*30*10 local simulation boxes. Can it be 
done?
Yes. You should be able to set system.cell_system.node_grid, e.g., to [2,1,2].

Regards, Rudolf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]