I have code in fortran, compiled by f95. Code use random numbers.
To have everytime different rundom numbers I use different seeds generated at start of program by
call itime(timeArray) ! Get the current time
i = rand ( timeArray(1)+timeArray(2)+timeArray(3) )
Check show that there is different numbers = if I see to first random numbers -like 10, 20 random numbers - they are diffrent.
But, I amk use bunch of random numbers and when I look at results of simulation, results are very simmilar, what can not be real. I am suspicious that random (peudorandom numbers) are repeating (or less probably this is because diferent programs are started in similar time) or there is another reason.
Can you help me/advise me something/give me any direction to go ?
Thank you.