Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-21 Thread whr
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 whr posted a new comment: Just add a comment on the bug Janek mentioned. I tested it and yade-2020.01a indeed has this bug. makeCloud generate different set of particle with same seed. The source code is the

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-21 Thread Robert Caulk
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 Robert Caulk posted a new comment: This one of the reasons I am always hesitant to put AMD Ryzen chips into a workstation despite their apparent cost savings. -- You received this question notification because

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-20 Thread Bruno Chareyre
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 Bruno Chareyre posted a new comment: > if it's ignored makeCloud should generate different set of particles with same seed? Yes but no. :) If you check line 52 [1] you'll see that seed was not fully ignored, it

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-20 Thread whr
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 Status: Answered => Solved whr confirmed that the question is solved: Thank you, Robert and Janek. >Robert, I tested Python, it's able to generate different random number with your suggested code. I

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-19 Thread Janek Kozicki
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 Janek Kozicki proposed the following answer: Uhh. We had a bug in makeCloud in which the seed was ignored. Before you get around to replacing your CPU , better to make sure that your version of yade had this bug

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-19 Thread Robert Caulk
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 Status: Open => Answered Robert Caulk proposed the following answer: Yes, sadly this problem seems very far removed from Yade. I guess the problem would even occur without yade, so just start Python and

Re: [Yade-users] [Question #690815]: CPU random generator warning

2020-05-19 Thread whr
Question #690815 on Yade changed: https://answers.launchpad.net/yade/+question/690815 whr gave more information on the question: I did more tests. I change seed in makeCloud and found out different seed produce the same set of particles. Sad news. Seems I need to find a solution to this problem.

[Yade-users] [Question #690815]: CPU random generator warning

2020-05-19 Thread whr
New question #690815 on Yade: https://answers.launchpad.net/yade/+question/690815 Dear all, I'm trying to move my working environment to one with AMD cpu to take advantage of the AMD ThreadRipper. Before that, I made a test with Ryzen 3700x and the latest Ubuntu 20.04. I'm installing the