← Back to team overview

yade-users team mailing list archive

Re: [Question #216997]: parallel many scenes simulation

 

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

    Status: Open => Answered

Chareyre proposed the following answer:
Hi ceguo,
Would you provide an example script?

You idea sounds achievable, but I'm not 100% sure what will happen with pp. It may well parallelize only that part of the process dealing with the communication between python and the c++ layer.
In this case, the costs of O.run(N,False) would be distributed between different threads, but the real task of running N iterations (the time measured with O.run(N,True)) would always be assigned to the same thread (or team of threads if j>1).
I'm not expert and I'll need experiments to figure this out.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.