lundi 8 mai 2017

Same Results in Same Machines - Different Results across Different Machines/OS using MATLAB Parallel Environment

I'm pretty sure I'm controlling correctly the Random Number Generator when analyzing my data in my PC. Yet when I put the script to run in another server I get back different results. And the reason I think my code is correct is because I have total reproducability within a machine. Same results in same machines, always! Different results when using the server...

  • My PC has Windows and one Intel i7 (4cores), while the server has Linux and one Intel XEON (8cores).

I've read the documentation regarding parfor really thoroughly, and what I'm doing is to assign a specific Substream number in each iteration, according to the iteration number and not the worker id.

Even when trying to create a pool with the same number of workers (4) in the 8core machine, I still get different results...

Here is the basic code used, without the details...




Aucun commentaire:

Enregistrer un commentaire