New question #667700 on Yade:
https://answers.launchpad.net/yade/+question/667700

Hello everyone.
I want to know how to get the number of threads the simulation is using. For 
instance if you use sth like yade -j 20 gra.py, you don't know if all 20 
threads are used.
or if you use yade -j 16 --performance sth like following will be shown:

Welcome to Yade 2018.02b 
4416
number of bodies 4428
WARN  /home/pqji/data/MyYade/trunk/pkg/common/InsertionSortCollider.cpp:76 
insertionSortParallel: Parallel insertion: only 13 thread(s) used. The number 
of bodies is probably too small for allowing more threads, or the geometry is 
flat. The contact detection should succeed but not all available threads are 
used.

So is there any funtions to print the number of  threads the simulation is 
using in python script??

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to