Random number generation error when assigning a stream

Submitted by Mishal on
Attachment Size
input file 1.58 KB
mschramm

You cannot reuse seeds. One of the below seeds needs to be changed.

fix pts all particletemplate/sphere 15485863 atom_type 1 density constant 1000 radius constant 0.02
fix pdd all particledistribution/discrete 15485863 1 pts 1.0

Fri, 4 Mar 2022 - 15:38 Permalink

Hi Guys

Please refer to the attached input file. I am getting the below error.
The error is at line 55. I am using a prime number for the generation however the error still occurs.
Can someone please assist?

ERROR on proc 0: Fix insert/stream, ID ins: Random number generation: It is required that all the random seeds of this fix insert/*,
the random seed of particle distribution fix (id pdd) template and all random seeds of the
fix particletemplate/* commands used by particle distribution fix (id pdd) are different
Hint: possible valid (different) seeds would be the following numbers:
15485863, 15485867, 32452843, 32452867, 49979687, 49979693, 67867967, 67867979, 86028121, 86028157 (../fix_insert.cpp:475)