-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support parallelization #1
Comments
Following up on your comment to JuliaLang/julia#8295, Stefan once suggested one could use |
Thanks for your comment, but I don't think your suggestion is feasible in this case as I never call directly |
A hack using |
Thanks to you as well. As I said in the Julia issue, I'm not sure that supporting |
For now there's a pure Julia vegas method here which supports parallelization: https://github.com/ranjanan/MonteCarloIntegration.jl |
Instead of parallelizing on the binary side, could it instead have a batch interface to let the user parallelize over the evaluation points? |
It does already support vectorisation: https://giordano.github.io/Cuba.jl/stable/#Vectorization-1. Example here: https://giordano.github.io/Cuba.jl/stable/#Vectorized-Function-1 |
I'm not sure it's actually feasible, but it would be great if
Cuba.jl
could take advantage of parallelization capability of Cuba Library. Concurrency is achieved usingfork
andwait
, but trying to increase the number of Cuba cores inCuba.jl
, after having increased the number of Julia processes withaddprocs
(without this, Cuba will spawn useless Julia processes), results in an undefined reference tofork
function.The text was updated successfully, but these errors were encountered: