Reproducible randomness in MAYA among different machines with different operating systems


#1

I have a script that sets the random seed in the beginning and later uses the rand function in various parts of the code. If I rerun the script multiple times on my machine (call in Machine #A) I get consistent random sequences. If I run the same script with the same seed on a different machine with a different OS (Machine #B), I still get consistent random sequences every time I execute it. However the numbers in Machine #B are different compared to the values I get in Machine #A.
Is this the expected behavior? Is there a way to change this and generate the same sequence on different machines when the seed is set to the same value?