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

something wrong when using VSL #12

Open
liushang0322 opened this issue Aug 16, 2022 · 6 comments
Open

something wrong when using VSL #12

liushang0322 opened this issue Aug 16, 2022 · 6 comments

Comments

@liushang0322
Copy link

julia> using VSL

julia> brng = BasicRandomNumberGenerator(VSL_BRNG_MT19937, 12345)
ERROR: could not load library "libmkl_rt"

i am using VSL to get some random number

here is my version tips :

Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:

@sunoru
Copy link
Member

sunoru commented Aug 16, 2022

libmkl_rt is included in MKL_jll and should be automatically downloaded when installing the package. Perhaps you can try Pkg.build("VSL") manually?

@liushang0322
Copy link
Author

libmkl_rt is included in MKL_jll and should be automatically downloaded when installing the package. Perhaps you can try Pkg.build("VSL") manually?

this is not useful?maybe something wrong with MKL_jll . in my env ,i have got [email protected] ,Could it be because of this problem?

@liushang0322
Copy link
Author

hello?Is there any follow-up?

@sunoru
Copy link
Member

sunoru commented Aug 23, 2022

I found that it’s because we haven’t released the latest version. Please wait for JuliaRegistries/General#66820 to be merged and update the package

@liushang0322
Copy link
Author

I am very happy to receive your reply. I have roughly compared the random numbers generated by VSL.jl and MATLAB. From the algorithm and description, they are roughly the same, but I am still looking forward to generating the same random numbers as matlab. Is there any way? What?

@sunoru
Copy link
Member

sunoru commented Aug 24, 2022

Sorry, I'm not familiar with Matlab. You might need to look into how they take the random seeds.

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