[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parallelisation
From: |
Rudolf Weeber |
Subject: |
Re: Parallelisation |
Date: |
Wed, 12 Jan 2022 12:00:26 +0100 |
Hi,
> 1- Since Espresso works with LJ units, what is the definition of a small and
> large system? All the dimensions are relative but still I am confused. For
> example, when I talk to other people who works with MD, they talk about
> million particles but in my system I have at most 40k particles but with very
> very slow computation speed.
The large particle numbers you mention typically pertain to atomistic
simulations. Specialized codes can run these significantly faster than Espresso.
Espresso is optimized for flexibility rather than performance. However, your
40k system should still run reasonably in a prallel simulation.
>
> 2- In the previous email, on the number of CPUs, you mentioned number of
> cells must be minimum 2 and maximum 32 in each direction. according to my
> box size, I set l_skin in a way to have around 30 cells in each direction [
> floor(box_l/(LJcut+l_skin)) ]. but no improvement in the calculation time.
That formula just specifies the maximum number of processors, you can use.
There is no guarantee that this is the best choice. Just try 1,2,4,8 etc and
pick the fastest.
How exactly did you run Espresso with mpirun/mpiexec?
> I should also add that, I have LB fluid in the system, Does the number of LB
> cells also follow the mentioned rule? I increase the lattice spacing but
> still no improvement in the timing.
The number of LB cells typically does not limit the parallelization.
>
> 3-During running serial or parallel, my computer ram (64GB+128 swap) will be
> almost occupied. What is the reason for that? Is there any way to improve
> that? I just get positions ,velocity and energy.
Most likely the LB fluid. It requires ~500 bytes per lb cell.
What algorithms, number of lb cells number of particles do you have, and how
much time do 100 timesteps need?
Regards, Rudolf
- Parallelisation, Ahmad Reza Motezakker, 2022/01/12
- Re: Parallelisation,
Rudolf Weeber <=
- Re: Parallelisation, Ahmad Reza Motezakker, 2022/01/12
- Re: Parallelisation, Rudolf Weeber, 2022/01/13
- Re: Parallelisation, Ahmad Reza Motezakker, 2022/01/14
- Re: Parallelisation, Rudolf Weeber, 2022/01/14
- Message not available
- Re: Parallelisation, Rudolf Weeber, 2022/01/14
- Re: Parallelisation, Ahmad Reza Motezakker, 2022/01/19