espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ESPResSo-users] Fwd: Problem with output


From: Nairhita Samanta
Subject: [ESPResSo-users] Fwd: Problem with output
Date: Wed, 4 May 2016 16:23:57 +0530


Hi everyone!

I am providing seed to the code in the following way

expr srand ([pid])

But the configurations are still coming to be identical every time. Is there anything else I have to do?

Regards,
Nairhita


On Sun, May 1, 2016 at 11:12 AM, Nairhita Samanta <address@hidden> wrote:

Thank you everyone for your quick response. I will look into this book and the script. If the problem still persists, I will mail again.

Regards,
Nairhita

On Apr 30, 2016 9:22 PM, "Florian Weik" <address@hidden> wrote:

Hi,
if you do not set a seed, Espresso and the random numbers provided by Espresso in TCL (by the t_random command) behave deterministically, which means that if you do not set a different seed, the script will produce the same output. I am not sure how rand, which is provided by TCL behaves.

If you are not sure about PRNGs and their meaning for MD simulations you should look that up in a standard textbook like Frenkel and Smit.

Hope that helps,
Florian

On Apr 30, 2016 3:34 PM, "Nairhita Samanta" <address@hidden> wrote:
Hi all!

       I have this strange problem with my code. Whenever I am running a code, it is giving me the exact same output, i.e. the position and velocity of each particle at each time step coming to be identical from my previous run. I have changed the name of the input and output files, but every time I am seeing the same problem. If you have any solution regarding this problem, please suggest.

Regards,
Nairhita



reply via email to

[Prev in Thread] Current Thread [Next in Thread]