Back to the main page.
Bug 1012 - random seeding is incorrect when using the local scheduler in qsubfeval, rand returns the same number
Status | CLOSED FIXED |
Reported | 2011-10-04 21:13:00 +0200 |
Modified | 2011-11-11 11:20:06 +0100 |
Product: | FieldTrip |
Component: | qsub |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P1 normal |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Robert Oostenveld - 2011-10-04 21:13:25 +0200
try qsubcellfun(@rand, {1,1,1,}), this should result in different random numbers
Robert Oostenveld - 2011-10-06 16:24:47 +0200
the probem was due to a remaining debugging statement which seeded with 0, i.e. zero. It has been fixed. Note that this affects not only the local scheduler, but also torque, sge and peercellfun