New question #667700 on Yade:

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, 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 
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 

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:
Post to     :
Unsubscribe :
More help   :

Reply via email to