-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
skip=n argument for parallelization? #75
Comments
If I understand correctly, you want to use the
then average the result. I believe this is not recommended for Sobol sequences. There are no guarantees that block In qmcpy and scipy.stats.qmc.Sobol this is forbidden. I quote the the warning in the link:
You can just take powers of 2. |
I think the request is asking for a way to partition one long Sobol sequence into separate chunks, that can be run in parallel on separate cores. So, for example, if you'd like to integrate over a net of size 256, you could have each core handle 85 or 86 points. This should be fine, as long as only the accuracy of the final calculation matters (i.e. the final calculation is done by averaging over all the points). You'd only have problems if you needed each core's calculation to be individually accurate. |
Right. |
It would be nice to support parallelization, simply by exposing the
skip
feature of generators like Sobol.jl. That is, if you want to evaluate on 1000 processors with 2^15 points each, you could passskip=2^15 * i
on processori
, and then average the results.The text was updated successfully, but these errors were encountered: