[ndnSIM] Same script, Same Random Seed, Different Machines, Get Different Simulation Result
Alex Afanasyev
alexander.afanasyev at ucla.edu
Tue Jul 2 08:16:54 PDT 2013
Technically, you should be getting the same sequence of random values in NS-3... Just a couple of questions, by "same random seed" do you mean RngRun parameter? Do you use only NS-3 provided random variables or rely also on system's rand (system's rand may give different results on different platforms)?
---
Alex
On Jul 1, 2013, at 10:02 PM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:
> The server is ubuntu with AMD CPU. But I set the same seed in the script.
>
> thanks
>
> My Regards,
> Xiaoke (Shock) Jiang (蒋小可)
>
> Ph.D. Candidate,
> Department of Computer Science and Technology,
> Tsinghua University, Beijing, P.R.China. 100084
> On Tuesday, July 2, 2013 at 12:59 PM, Cesar Ghali wrote:
>
>> More details would be helpful, but I think it can be normal especially if powerful server has a different platform than the Mac OS. The random numbers generators could be implemented differently on both platforms.
>>
>> Cesar
>>
>>
>> On Jul 1, 2013, at 9:50 PM, Xiaoke Jiang <shock.jiang at gmail.com> wrote:
>>
>>> Dear All,
>>> I have written a script and set the same random seed. But I run the script on different machine, one is mac os air, the other is a powerful server. And I get different results, Is it normal?
>>>
>>> thanks
>>>
>>> My Regards,
>>> Xiaoke (Shock) Jiang (蒋小可)
>>>
>>> Ph.D. Candidate,
>>> Department of Computer Science and Technology,
>>> Tsinghua University, Beijing, P.R.China. 100084
>>> _______________________________________________
>>> ndnSIM mailing list
>>> ndnSIM at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130702/1a647044/attachment.html>
More information about the ndnSIM
mailing list