qusers / qsource

Source for the Molecular Dynamics Package Q
Other
6 stars 0 forks source link

Assignment of random_seed #2

Closed crisslind closed 7 years ago

crisslind commented 10 years ago

It appears that when stating the random_seed in the input file it requires a specific position of random_seed to give the seed that one has stated. e.g. steps 5000 random_seed 92 stepsize 0.1 initial_temperature 1 bath_coupling 1 temperature 10 shake_solvent off shake_solute off lrf on separate_scaling on Gives you the random seed 92. However steps 5000 stepsize 0.1 random_seed 92 initial_temperature 1 bath_coupling 1 temperature 10 shake_solvent off shake_solute off lrf on separate_scaling on returns random seed 1. Not assigning a random_seed at all, returns random_seed 1 as well.

acmnpv commented 9 years ago

Please test if this persists in the current master version, otherwise the issue will be closed.

acmnpv commented 7 years ago

This is definitely fixed now in 41e93de37c30f0904661a3c7e8668544692c74cf If the random_seed line is not read, a random number is generated from system time