Re: [Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-18 Thread Bruno Chareyre
Question #279359 on Yade changed:
https://answers.launchpad.net/yade/+question/279359

Status: Open => Answered

Bruno Chareyre proposed the following answer:
makeCloud() is a function, not an engine, therefore it can't be used in 
ParallelEngine.
More generally, parallelizing an algorithm needs low level implementation 
(domain decomposition especially), so you don't usually get things parallelized 
magically by playing with high level commands.

This being said, you can of course run many makeCloud()s in parallel.
There are python libs for that. But designing the domain decomposition
and the subtasks and assigning them to different cores is entirely on
your shoulders, Yade will not help.

Bruno

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


Re: [Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-17 Thread Christian Jakob
Question #279359 on Yade changed:
https://answers.launchpad.net/yade/+question/279359

Status: Open => Answered

Christian Jakob proposed the following answer:
Hi,

makeCloud() is used for particle generation and has no influence on DEM 
calculation cycle.
It is not parallelized atm [1].

Christian

[1]
https://github.com/yade/trunk/blob/2fd300ded158f3fe938ab6b7688aaff9b9ad35a6/pkg/dem/SpherePack.cpp#L86

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


Re: [Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-17 Thread Gary Pekmezi
Question #279359 on Yade changed:
https://answers.launchpad.net/yade/+question/279359

Status: Answered => Open

Gary Pekmezi is still having a problem:
Thanks for your reply Christian. That is what I suspected. 
One more question along the same veinCan makeCloud be used in 
ParallelEngine(). I can maybe subdivide the domain in a semi-rational way if 
that is the case. 

Sent from Gary's iPhone

> On Dec 17, 2015, at 2:13 AM, Christian Jakob 
>  wrote:
> 
> Your question #279359 on Yade changed:
> https://answers.launchpad.net/yade/+question/279359
> 
>Status: Open => Answered
> 
> Christian Jakob proposed the following answer:
> Hi,
> 
> makeCloud() is used for particle generation and has no influence on DEM 
> calculation cycle.
> It is not parallelized atm [1].
> 
> Christian
> 
> [1]
> https://github.com/yade/trunk/blob/2fd300ded158f3fe938ab6b7688aaff9b9ad35a6/pkg/dem/SpherePack.cpp#L86
> 
> -- 
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/yade/+question/279359/+confirm?answer_id=0
> 
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/yade/+question/279359
> 
> You received this question notification because you asked the question.

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


[Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-16 Thread Gary Pekmezi
New question #279359 on Yade:
https://answers.launchpad.net/yade/+question/279359

I noticed that when I run a triaxial test (either with a preprocessor or a 
script), TriaxialStressController() and TriaxialCompressionEngine() make use of 
all the cores specified via the -jN command. However, MakeCloud() is using a 
single core. Is this inherent to the algorithm?

Thanks,
Gary

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