← Back to team overview

yade-users team mailing list archive

Re: [Question #217180]: CPU occupation by yade?

 

Question #217180 on Yade changed:
https://answers.launchpad.net/yade/+question/217180

Christian Jakob proposed the following answer:
Hi kelogui,

> I would like to create simulation with large number of particles.

How many particles? 10.000? 100.000? more?

> Since yade is parallelized by OpenMP, a sheared memory system is
preferred.

Not only preferred, but relevant!

> In such case, I would like to know whether I can chose the number of cores to run 
> the simulation and if there is an optimal option of the number of cores for a simulation
> I need to use to reduce the computation consume.

Well, thats a good question. It depends on model geometry, model
dynamics, contact law, model parameters, model conditions and the script
you use, so it is not easy to answer...

I can give you an example on calculation speed-up in my simulations (app. 2500 spheres, capillary law with hertz model, clumps used and periodic space):
- 1 core:   5 days 10 hours
- 4 cores: 4 days 9 hours

If you have more particles and an easy model with simple contact law, it
could be more "effective" to use many cores. Please check out and let us
know the results!

Cheers,

Christian.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.