← Back to team overview

yade-users team mailing list archive

Re: [Question #213232]: multiprocessing of many scenes

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Ning,
for pure python applications, I was using 'multiprocessing' python module,
but I don't know if it will work for Yade.. you can try :-)
Jan


2012/11/4 ceguo <question213232@xxxxxxxxxxxxxxxxxxxxx>

> New question #213232 on Yade:
> https://answers.launchpad.net/yade/+question/213232
>
> Hi,
>
> In my simulation, I have a lot of scenes (several hundreds or even
> thousands by using O.addScene()).
> A typical operation looks like:
>
> for i in range(200):
>     O.switchToScene(i)
>     run some simulation here...
>     stress=utils.getStress()
>
> Is it possible to parallel the calculation? Any method or package is OK.
>
> Ning
>
> --
> 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     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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