ls1mardyn / ls1-mardyn

ls1-MarDyn is a massively parallel Molecular Dynamics (MD) code for large systems. Its main target is the simulation of thermodynamics and nanofluidics. ls1-MarDyn is designed with a focus on performance and easy extensibility.
http://www.ls1-mardyn.de
Other
28 stars 15 forks source link

Scalable check for duplicated particle IDs #327

Open HomesGH opened 4 months ago

HomesGH commented 4 months ago

Description

Until now, the check for duplicates does not really scale. This PR suggests an alternative solution.

Benefits:

Downside:

How Has This Been Tested?

Execution times of DomainDecompMPIBase::assertDisjunctivity() for simulation run with 8 cores on an Intel i9-7940X: Number of particles master PR
1000 0.00016 0.00018
1e6 0.270161 0.036375
1e8 72.65190 4.7937

Note that the method in this PR needs more memory compared to the one of the master!