[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


Re: [Yade-users] [Question #279391]: how to commit a change?

2015-12-16 Thread Anton Gladky
Question #279391 on Yade changed:
https://answers.launchpad.net/yade/+question/279391

Anton Gladky proposed the following answer:
Hi Behzad,

another option is to send us "pull request" or just a
patch, so we can review and commit those changes
for you.

Regards


Anton

2015-12-17 1:13 GMT+01:00 behzad :

> New question #279391 on Yade:
> https://answers.launchpad.net/yade/+question/279391
>
> Hi folks,
>
> I made a new class of materials with viscoelastic behavior. It's actually
> Burger's model. Interactions of CohBurgersMat with CohFrictMat and also
> FrictMat has been also defined in the model.
>
> CohbugersMat-CohbugersMat interactions and also CohbugersMat-CohFrictMat
> interactions have been tested and verified.
>
> The model obviously needs more trimming so I'd like to make it public so
> we can improve it.
>
> I was not able to commit the changes directly on github, using git push
> command.
>
> How can I commit this model?
>
> Thanks,
> Behzad
>
> --
> 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
>

-- 
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 #279391]: how to commit a change?

2015-12-16 Thread Jérôme Duriez
Question #279391 on Yade changed:
https://answers.launchpad.net/yade/+question/279391

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi Behzad,

See https://yade-dem.org/doc/github.html
However, in your case the issue might be this line: 
"This direct access to trunk [...] is only possible for members of the git team 
“developpers”. Send an email at yade-...@lists.launchpad.net to join this team 
(don’t forget to tell your git account name)."
?

-- 
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 #279391]: how to commit a change?

2015-12-16 Thread behzad
New question #279391 on Yade:
https://answers.launchpad.net/yade/+question/279391

Hi folks,

I made a new class of materials with viscoelastic behavior. It's actually 
Burger's model. Interactions of CohBurgersMat with CohFrictMat and also 
FrictMat has been also defined in the model.

CohbugersMat-CohbugersMat interactions and also CohbugersMat-CohFrictMat 
interactions have been tested and verified.

The model obviously needs more trimming so I'd like to make it public so we can 
improve it. 

I was not able to commit the changes directly on github, using git push command.

How can I commit this model?

Thanks,
Behzad 

-- 
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 #279270]: Problem with efficiency

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

Status: Open => Needs information

Christian Jakob requested more information:
Hi,

Does the generation of clumps takes longer in the 1.20 version, or does the 
calculation takes longer?
Can you please check and report?

Thank in advance,

Christian

-- 
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 #279256]: Yade documnetation

2015-12-16 Thread mohsen
Question #279256 on Yade changed:
https://answers.launchpad.net/yade/+question/279256

Status: Answered => Solved

mohsen confirmed that the question is solved:
Thanks Jan Stránský, that solved my 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


Re: [Yade-users] [Question #279256]: Yade documnetation

2015-12-16 Thread mohsen
Question #279256 on Yade changed:
https://answers.launchpad.net/yade/+question/279256

mohsen posted a new comment:
thank you Jan so much
i have to focus on
1-  Class reference and modules more; they have confused me.
2- the procedure of creating of a body
thank again

-- 
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 #279270]: Problem with efficiency

2015-12-16 Thread Anastasia Sarmakeeva
Question #279270 on Yade changed:
https://answers.launchpad.net/yade/+question/279270

Status: Answered => Open

Anastasia Sarmakeeva is still having a problem:
https://www.dropbox.com/s/uc4sru9odop3ghc/base_block%2864%2C30%29.txt?dl=0
https://www.dropbox.com/s/5z5ba672ygkcfrl/lower_block%2864%2C30%29.txt?dl=0
https://www.dropbox.com/s/3jy1umnkc9x5kg5/upper_block%2864%2C30%29.txt?dl=0

-- 
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 #279256]: Yade documnetation

2015-12-16 Thread Jan Stránský
Question #279256 on Yade changed:
https://answers.launchpad.net/yade/+question/279256

Jan Stránský proposed the following answer:
Hi Mohsen,


> my reference Documentation link:
> https://yade-dem.org/doc/Yade.pdf


thanks


>
>
> there are some more ambiguities:


> about question 1- : there are some functions in Class references(ch 8)
> that are repeated in Yade modules (ch9); although they are not the same but
> i can not understand the difference for a better selecting when coding:
>   class yade.wrapper.Sphere((object)arg1) (p.156)
>yade.utils.sphere(center, radius, dynamic=None, fixed=False,
>  wire=False, color=None, highlight= False, material=-1, mask=1)  (p. 464)
>

be careful, that all commands are case sensitive, so sphere and Sphere are
completely different things :-) Sphere is a class inherited from Shape.
utils.sphere(...) is auxiliary function to create Body, whose shape is
Sphere:

#
s = sphere((0,0,0),1)
print s
print s.shape
#

Even if the name would be the same, the different "namespace" (yade.wrapper
or yade.utils) means, that it is different thing. you can try

###
utils.Sphere = utils.sphere
print utils.Sphere
print yade.wrapper.Sphere
###


> again such classes could be found about 'tetra'. what is the difference
> between s1 (an instance of  yade.wrapper.Sphere) and s2(an instance of
> yade.utils.sphere)
>
> 2- i found this example on page 6:
> Yade [96]: s=utils.sphere(center=[0,0,0],radius=1)
> ...
> Yade [99]: s.shape.radius
> ...
> as i have searched there is no 'radius' method for 'shape' class (p 151).
> how above command is correct?
>

In the example, "s" is instance of Body. Body has attributes e.g. state,
shape etc. s.shape can be any shape, but if it is created by utils.sphere
functions, s.shape is Sphere, and it has radius (you can find Sphere in
class reference). Also see my above comments

cheers
Jan

-- 
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 #277532]: invalid pointer

2015-12-16 Thread Anton Gladky
Question #277532 on Yade changed:
https://answers.launchpad.net/yade/+question/277532

Anton Gladky posted a new comment:
> Now, i don't have the error because i wrote "sudo make install" and it solves 
> my
problem.

It is a dangerous solution. I would recommend you to use
"-DCMAKE_INSTALL_PREFIX=" option without "sudo".

Anton

-- 
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 #279270]: Problem with efficiency

2015-12-16 Thread Anastasia Sarmakeeva
New question #279270 on Yade:
https://answers.launchpad.net/yade/+question/279270

Hi everyone,

I'm trying to simulate clump interactions using version 1.20 of YADE and this 
process goes much more slower than in versions 1.12 and earlier. Do you know 
why? 

my test:https://www.dropbox.com/s/zbr4adcb0ox2ir4/test3.py?dl=0 

Welcome to Yade 2015-03-17.git-16ecad0 
TCP python prompt on localhost:9000, auth cookie `asuyke'
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  496.138472945
WARN  /usr/local/src/git/yade.git/pkg/common/InsertionSortCollider.cpp:80 
insertionSortParallel: Parallel insertion: only 11 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.
NameCount 
TimeRel. time
---
ForceResetter  10002228466us
   15.54%  
InsertionSortCollider 4 132829us
0.93%  
InteractionLoop10002073839us
   14.46%  
PyRunner  0  0us
0.00%  
NewtonIntegrator   10009906800us
   69.08%  
TOTAL 14341937us
  100.00%  



Welcome to Yade 2015-12-16.git-dfb3daf 
TCP python prompt on localhost:9000, auth cookie `decuay'
XMLRPC info provider on http://localhost:21000
Running script test3.py
mass clump1=  496.138472945
NameCount 
TimeRel. time
---
ForceResetter  1000  67124us
0.01%  
InsertionSortCollider 41666146us
0.24%  
InteractionLoop1000  697955915us
   99.50%  
PyRunner  0  0us
0.00%  
NewtonIntegrator   10001795053us
0.26%  
TOTAL701484240us
  100.00% 

Thanks a lot, Nastya


-- 
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 #279256]: Yade documnetation

2015-12-16 Thread mohsen
Question #279256 on Yade changed:
https://answers.launchpad.net/yade/+question/279256

mohsen posted a new comment:
hello Jan
thatns you for your consideration

my reference Documentation link:
https://yade-dem.org/doc/Yade.pdf

there are some more ambiguities:

about question 1- : there are some functions in Class references(ch 8) that are 
repeated in Yade modules (ch9); although they are not the same but i can not 
understand the difference for a better selecting when coding:
  class yade.wrapper.Sphere((object)arg1) (p.156)
   yade.utils.sphere(center, radius, dynamic=None, fixed=False,   
wire=False, color=None, highlight= False, material=-1, mask=1)  (p. 464)

again such classes could be found about 'tetra'. what is the difference
between s1 (an instance of  yade.wrapper.Sphere) and s2(an instance of
yade.utils.sphere)

2- i found this example on page 6:
Yade [96]: s=utils.sphere(center=[0,0,0],radius=1)
...
Yade [99]: s.shape.radius
...
as i have searched there is no 'radius' method for 'shape' class (p 151).  how 
above command is correct?

thanks Jan

-- 
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 #279270]: Problem with efficiency

2015-12-16 Thread Anton Gladky
Question #279270 on Yade changed:
https://answers.launchpad.net/yade/+question/279270

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

please provide also text-files, mentioned in your 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


Re: [Yade-users] [Question #279270]: Problem with efficiency

2015-12-16 Thread Anastasia Sarmakeeva
Question #279270 on Yade changed:
https://answers.launchpad.net/yade/+question/279270

Anastasia Sarmakeeva gave more information on the question:
sorry, you can use also 
https://www.dropbox.com/sh/wr6k1jmiaqtc74y/AADB0V6ApCFjkrXp08dGQUaha?dl=0
there is  clumps have less spheres.

-- 
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 #277532]: invalid pointer

2015-12-16 Thread Yor1
Question #277532 on Yade changed:
https://answers.launchpad.net/yade/+question/277532

Yor1 posted a new comment:
Hello Anton,

The problem is in cmake, in fact when i write in the terminal:
"make install"

i have this error message at the end :

 Install configuration: "Release"
-- Installing: /usr/local/bin/yade-2015-04-08.git-f3818b4-batch
CMake Error at cmake_install.cmake:44 (FILE):
  file INSTALL cannot copy file
  "/home/hamdi/YADE/sources/build/bins/yade-2015-04-08.git-f3818b4-batch" to
  "/usr/local/bin/yade-2015-04-08.git-f3818b4-batch".

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 #277532]: invalid pointer

2015-12-16 Thread Anton Gladky
Question #277532 on Yade changed:
https://answers.launchpad.net/yade/+question/277532

Anton Gladky proposed the following answer:
Do you have write permission in target folder?

-- 
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 #277532]: invalid pointer

2015-12-16 Thread Yor1
Question #277532 on Yade changed:
https://answers.launchpad.net/yade/+question/277532

Status: Answered => Solved

Yor1 confirmed that the question is solved:
when i have the error, i just write "make install".
Now, i don't have the error because i wrote "sudo make install" and it solves my
problem.

Jabrane

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