← Back to team overview

yade-dev team mailing list archive

Re: makeing yade single-threaded by default

 

Hi Luc,

try execute yade with the option '-j6', for example './yade -j6 yourfile.py' to 
run you calculation with 6 cores.

Cheers

Klaus

On Tue, 19 Apr 2011 12:39:38 pm luc scholtes wrote:
> Hi guys,
> 
> sorry to wake up so late, but, I tried to find info concerning the -j/
> --jobs option and could not really sort it all due to my lack of Linux
> oriented knowledge... As I understand, YADE now run 1 thread (job?) per
> core. Nonetheless, what would be the command to make it run 1 thread over
> several/all cores in order to speed up the calculation (if it is the right
> thing to do for this purpose)?
> 
> Thanks in advance
> 
>   Luc
> 
> 2011/1/30 Anton Gladky <gladky.anton@xxxxxxxxx>
> 
> > Hi,
> > 
> > In most of my simulations I use 1 thread/core and find it the most
> > optimal solution. Also it helps to get completely identical results
> > excluding openmp-instability. And only on a very large simulations
> > (>10^5 particles) it is reasonable to use 2-3 threads, no more.
> > 
> > So, I personally agree.
> > 
> > Anton
> > 
> > 2011/1/29 Václav Šmilauer <eu@xxxxxxxx>:
> > > Hi there,
> > > 
> > > due to numerous performance problems when Yade uses the default number
> > > of threads (one thread per core), I think it would be better to make
> > > run single-threaded by default, so that unknowledgeable people are not
> > > hit. Those who know assign the right number of threads anyway.
> > > 
> > > It would concern both the main program, and also the batch system,
> > > which would still use all cores, but 1 core/job.
> > > 
> > > Thoughts?
> > > 
> > > v.
> > > 
> > > _______________________________________________
> > > Mailing list: https://launchpad.net/~yade-dev
> > > Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe : https://launchpad.net/~yade-dev
> > > More help   : https://help.launchpad.net/ListHelp
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-dev
> > Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help   : https://help.launchpad.net/ListHelp

-- 
Dr. Klaus Thoeni - Centre for Geotechnical and Materials Modelling
Civil, Surveying and Environmental Engineering - Engineering Building EA
The University of Newcastle, Callaghan, NSW 2308, Australia
web: http://www.newcastle.edu.au/research-centre/cgmm
phone: +61 (0)2 4921 5118


References