Question #679153 on Yade changed: https://answers.launchpad.net/yade/+question/679153
Chareyre proposed the following answer: Hi, You need to assign openmp threads to each job if you want them to run in parallel, by default they take one core each. See batch example for details. I doubt running 4x3 cores will be very fast though. The OS needs something to run itself, and there are hardware limitations to. Bruno Le mer. 13 mars. 2019 04:52, Cloud <[email protected]> a écrit : > New question #679153 on Yade: > https://answers.launchpad.net/yade/+question/679153 > > Hello guys, > > There is a problem that bothers me now. My computer has Intel® Core™ > i7-8700 CPU @ 3.20GHz × 12, I'm trying to make full use of CPU in batch > mode. Here is my input in the terminal: > > yadedaily-batch -j12 paras.table meizizi.py > > Then the terminal reply : > > Will run simulation(s) ['meizizi.py'] using `/usr/bin/yadedaily', nice > value 10, using max 12 cores. > Will use table `paras.table', with available lines 2, 3, 4, 5. > ...... > > but I check it in http://localhost:9080, the page shows > > Pid 14186 > 12 cores available, 4 used + 8 free. > > So it doesn't seem to take full advantage of CPU, What is going on here? > > Regards, > Cloud > > -- > You received this question notification because your team yade-users is > an answer contact for Yade. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because your team yade-users is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

