Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-09-17 Thread Launchpad Janitor
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-09-01 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: the last result without -DENABLE_MPI=OFF on OPENSUSE 15.1: 0b00 bb br gg gr rr 0b10 br gg gr 0b01 bb br gr 0b11 br gr so the error link to MPI option is

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-31 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: complementary information: the two previous yade were made with UBUNTU 19! -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-31 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: new information: with the Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Irecent computer) got the same kind of answer : with -DENABLE_MPI=OFF : bad results without

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-31 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: I have just done a basic test with two different cmake option on my UBUNTU 19 machine : enable-mpi=off or not here the two answer for the #20 mask py program:

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-31 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: Maybe check what is the linux kernel version in both of these cases? You can check this with command “uname -a” -- You received this question notification because your team

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-31 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: Only to clarify: * the bug list on i7-2600 is the same as on i7-6700HQ * AND the masks are working on i7-2600 AND not working on i7-6700HQ ? I ask only because I would

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-30 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: here the bug for the new intel AND also the old one: same list!! bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs full old

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-30 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: in #34 you have pasted CPUINFO. There is line „bugs: ” but this line is missing in #36. And I don’t know if there are no processor bugs, or if you simply did not paste

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-30 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: Here the cmake comannd which is really the simplest one : cmake DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=../install -DPYTHON_VERSION=3

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-30 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: I just had another idea: maybe it depends on the linux kernel version. There were several vulnerabilities discovered in Intel processors. One of the called „rowhammer” was a

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-30 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre posted a new comment: >so results only controled from bit in position 0 at right side little endian vs. big endian?... The most suprizing in all this is that Luc can reproduce the problem on

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-26 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: Strange behaviour : 2 UBUNTU 19 environments on two differents machines: the same compiler option and the same yade-2019-08-26 result --on an old machine (cpu

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-26 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: Hi, i have compiled yade-2019-08-25.git-0f74746 and run again the test #20... and this time the results is quite different!: mask=0b00 : bb br

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-17 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER posted a new comment: I have tried with two very different machines: laptop : hp envy and server Dell R960 BUT I got the same answer??? here the CPUINFO: server Dell : processor : 127 vendor_id

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki requested more information: This is more and more strange. Because now I start to suspect the hardware. What is the processor model in your computer? You can use `cat /proc/cpuinfo` to find out.

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER posted a new comment: it is only a "basic" one : cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=../install -DPYTHON_VERSION=3 -DDISABLE_SAVE_TEMPS=1 -DENABLE_MPI=OFF ../trunk and to extend

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: Also, Jan, perhaps it would be useful for us to turn your example into a `yade --check` script? -- You received this question notification because your team yade-users is an

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki requested more information: So we know it is not the linux distribution. Because Luc has the same problem also on ubuntu 19. So it just occurred to me that maybe it is some of the compiler flags

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Jan Stránský
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Jan Stránský proposed the following answer: Thanks for testing and output. The results corresponds to your description of either all or none interactions. Now we (at least I) can be

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-16 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: I have run #20 and the answer is strange : Mask=0b00 : bb br gb gg gr rr Mask=0b10 : bb br gb gg gr rr Mask = 0b01 or 0b11 = no line ouput ?? -- You received

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-15 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Needs information => Open Luc OGER gave more information on the question: Same as reply in#9 every sphere passed through or every sphere interact with all the others OK I will try tu write as #19

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-15 Thread Jan Stránský
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Needs information Jan Stránský requested more information: > I got exactly the same behavior same as what? > Jan'remark about the luck? my remark was only about the order of commands. It

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-15 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Needs information => Open Luc OGER gave more information on the question: I have installed UBUNTU 19 on one USB HDD and compiled the last yade:, yade-2019-08-11 Then I have run my py code... And I

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-11 Thread Jan Stránský
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Needs information Jan Stránský requested more information: Hi Luc, my code is just to test the interactions and print it in an understandamble, unambiguous, reproducible.. way. the 10

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-11 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: I am using only the basic cmake option plus MPI=OFF only I have tried with several vesion or Yade but alwaays with OpenSuse 15.1 after my

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-10 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Bruno Chareyre proposed the following answer: This thread is definitely about Luc getting a completely different behaviour on a particular OS. And it suggests that bitwise

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-10 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: aSIMask=0b00 full interaction aSIMask=0b01 full no interaction aSIMask=0b10 full interaction aSIMask=0b11 full no interaction full no

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-10 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre proposed the following answer: I tried again with yadedaily (2018.02b-290bf6a54e~xenial), the results are correct again. @Luc, can't you try on a different computer to be sure we are on the same

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-10 Thread Jan Stránský
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Jan Stránský proposed the following answer: Hi guys, sorry for coming late to the discussion. what is "full interaction", "full no interaction" and "ful or zero interactions"?

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-09 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: I have just tried with yade-2019-08-08.git-775ae74 and I got the same problem!! I guess that some compiler options are not going well in some bit test? -- You

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-09 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: It is a july version Like 12-07 -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-09 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Bruno Chareyre proposed the following answer: I meant to type collider.avoidSelfInteractionMask=X after reloading the scene, not before. But I guess that's what you do already.

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-09 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Luc OGER gave more information on the question: Dear Bruno, As I don't know what is this function "avoidSelf_after_reloading" I have not played with it. how i can check its value or its rule? -- You

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre posted a new comment: I'm using Yade 2019-08-07.git-c9e148a here, but the "avoidSelfInteractionMask" code did not change in the last years. Not sure which is 1st and which is 5th column, but with

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: When I run it on my computer this is not what I get : in the 5th column with avoidSelf=1 all the three balls on top of the blue fixed one

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Bruno Chareyre proposed the following answer: As far as I understand you have mask= 2, 1, and 3. At this point the possible interactions are 1-1, 2-2, 3-1, 3-2, 3-3. The impossible

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: It is this one btw, that needs simplification: https://yade- dev.gitlab.io/-/trunk/-/jobs/268573829/artifacts/install/share/doc/yade-

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: I don't understand. Do you want blue to interact with other blue or not? Maybe you need to change the color (actually the bitmask) of these at the bottom? -- You received

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Luc OGER
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Answered => Open Luc OGER is still having a problem: sorry for the creation of this long discussion but i am still not happy with the results of this Collider.avoidSelfInteractionMask

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre proposed the following answer: Well, questions on bitmasks happen indeed, questions on avoidSelfInteractionMask are not really frequent AFAIK. This is my suggestion (a shorter rephrasing of the

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-08 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki posted a new comment: I started this MR, because I had a feeling that this question is asked more often than necessary. I am not sure though if this is the right place for these detailed

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-07 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre posted a new comment: Also, for consistency, let's keep masks as integers in the doc. -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-07 Thread Bruno Chareyre
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Bruno Chareyre posted a new comment: Is there really anything missing in the original doc? I would actually remove the last words of it : "This mask is used to avoid the interactions inside a group of particles.

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-07 Thread Janek Kozicki
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Janek Kozicki proposed the following answer: Thank you Jerome for your great explanations. Maybe you and Luc Oger can think of a better description into the documentation about this? You can write as much as you

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-06 Thread Jérôme Duriez
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Jérôme Duriez proposed the following answer: It again turns out that both #1 and #2 are somewhat incorrect... (thank you Jan Stransky !) I overlooked the fact that interaction possibility depends on mask

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-05 Thread Jérôme Duriez
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Jérôme Duriez proposed the following answer: It turns out my example in #1 is incorrect because of a somewhat special treatment of 0b00 in binary comparisons (see also [*]).. Let me rephrase again: for 3 mask

Re: [Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-08-05 Thread Jérôme Duriez
Question #682290 on Yade changed: https://answers.launchpad.net/yade/+question/682290 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, As far as I'm concerned I did not completely get your objectives/question, sorry.. Just to rephrase the doc, and in your example

[Yade-users] [Question #682290]: the correct use of collider.avoidSelfInteractionMask ?

2019-07-24 Thread Luc OGER
New question #682290 on Yade: https://answers.launchpad.net/yade/+question/682290 Hello, I am trying to setup properly the possible interaction between different group of sphere: some can interact with other, some cannot interact with themselves here the basic code # basic simulation showing