← Back to team overview

yade-users team mailing list archive

Re: [Question #679153]: About batch mode

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> What is going on here?

see
yadedaily-batch --help
and --job-threads option. The default value is 1, therefore you see 4 cores, for each task 1 core

> to take full advantage of CPU

this is a tricky part.
If your simulations take comparable amount of time, I would use
yadedaily-batch -j 12 --job-threads 3 ...
to use 12 cores, but to decrease "parallel overhead" 
If your simulations differ very much in length, you can use --job-threads 12 not to wait too long for unfinished jobs.
BUT, it may happen that using 12 cores take more time then, e.g., 6 cores :-)

So to take really "full advantage of CPU", you have to play a bit :-)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.