[lammps-users] random seed in input file

Hi All,
I am wondering if there is a way to initialize the velocities with the command

velocity all create T SEED dist gaussian

where SEED is some random seed that is different for every run using
the same input script.

I am thinking of something like:

variable seed equal "some random seed"
velocity all create T ${seed} dist gaussian

Does anyone have any suggestion? Thanks.

Best regards,
Paolo Valentini

The only thing that I have been able to figure out is the following.

On the submit line, use something like:

./lmp_your_arch -var seed `bash -c 'echo $RANDOM'`

Then, in your script, you do NOT have the "variable seed equal something" line in your script. Just use what you have,

velocity all create T ${seed} dist gaussian

Stev Valone