Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distributed Julia crush tests return zeros #30

Closed
GregPlowman opened this issue Jan 16, 2025 · 1 comment
Closed

Distributed Julia crush tests return zeros #30

GregPlowman opened this issue Jan 16, 2025 · 1 comment

Comments

@GregPlowman
Copy link
Contributor

Julia crush tests (smallcrushJulia and bigcrushJulia) internally use pmap.
When distributed workers are available, these tests work as expected.
However, when additional workers are available, the tests for WrappedRNG{<:Integer} return zeros.

using Distributed
addprocs(4);

using Random
using RNGTest

RNGTest.smallcrushJulia(rand)                               # works as expected
RNGTest.smallcrushJulia(RNGTest.wrap(Xoshiro(), Float64))   # works as expected
RNGTest.smallcrushJulia(RNGTest.wrap(Xoshiro(), UInt64))    # fails, returns zeros
@andreasnoack
Copy link
Collaborator

Should be fixed by #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants