confusion about number of particles and random seed?

Submitted by guerrarob on Tue, 08/28/2018 - 17:33

With LIGGGHTS 3.8.0 the script below returns the error

"ERROR on proc 0: Random number generation: It is required that the random seed value is > 10000 and a prime number.
The random seed used was 38914"

What's happening? The random seed provided is not 38914, that's the number of particles! Is it a bug?


units micro
atom_style granular
atom_modify map array
boundary f f f
newton off
communicate single vel yes
variable boxsize equal 10.0
region mybox block -${boxsize} ${boxsize} -${boxsize} ${boxsize} -${boxsize} ${boxsize} units box
create_box 1 mybox
create_atoms 1 random 38914 38917 NULL