This works as well, I like I can choose to have a (a) random script, (b) deterministic script with individually random functions (same run of the script/model, same output) or (c) deterministic functions (same call with same input, same output), but it requires Julia >= 1.5:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Random numbers and threads | 30 | 3678 | March 29, 2022 | |
Multithreaded random: different behaviour in Julia >= 1.5 (not just different stream) | 6 | 546 | March 23, 2021 | |
Random number flow independent from the number of threads | 3 | 486 | March 24, 2021 | |
Why is this line like this in Base.Random? | 3 | 487 | March 28, 2020 | |
Is `rand()` threadsafe? | 13 | 4795 | September 4, 2019 |