--cores option

Asked by Alexander Eulitz [Eugen]

Hi,
during my latest performance tests I encountered a situation where I started two different simulations at the same time. each of it was start with -j2 option. So it yade should use 2 cores for each simulation. after the simulation ran for about 2 weeks I recognized that only two cores in total where really used.
Going through the other possible starting options of Yade I saw --cores. What exactly does it do and what is the difference to -j?

Thank you guys, Eugen

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

good question, I never payed attention on this --cores option. According
to this string [1], it seems, it does not matter, whether you use "cores" or
"threads". "cores" variable has higher priority.

I think, you can ignore this --cores option, as it is more important for
yade-batch binary, where you can split the given number of cores
between several tasks.

Anton

[1] https://github.com/yade/trunk/blob/master/core/main/main.py.in#L71

2013/1/9 Eugen Kubowsky <email address hidden>:
> New question #218781 on Yade:
> https://answers.launchpad.net/yade/+question/218781
>
> Hi,
> during my latest performance tests I encountered a situation where I started two different simulations at the same time. each of it was start with -j2 option. So it yade should use 2 cores for each simulation. after the simulation ran for about 2 weeks I recognized that only two cores in total where really used.
> Going through the other possible starting options of Yade I saw --cores. What exactly does it do and what is the difference to -j?
>
> Thank you guys, Eugen
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Can you help with this problem?

Provide an answer of your own, or ask Alexander Eulitz [Eugen] for more information if necessary.

To post a message you must log in.