Currently rndseed option only works when set in .spiceinit.
This works as documented, but it would be nice if it worked also in circuit file.
I'm using ngspice as a part of other program and I can't just change the users .spiceinit file, but I'd like to use rndseed option to get the same sequence of random numbers.
Henrik,
I have looked into the source code:
can be done, but there is no quick fix for this, it will need some reorganisation of initialising the random numbers. So it may take some time.
Holger
variable rndseed has been replaced by command 'setseed' since ngspice-29. The command may be placed anywhere in the .control section.