-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
SharedArrays fails on ClusterManagers.jl #121
Comments
Any idea? |
I am not sure what should happen here |
Shall I raise this as an issue or feature request for |
As I said it is not something that SharedArray can really support, but maybe it could throw an error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation example for SharedArrays in parallel computing fails when using a SlurmManager:
using ClusterManagers, Distributed
addprocs(SlurmManager(8), topology=:all_to_all)
using SharedArrays
a = SharedArray{Float64}(100)
@distributed for i = 1:100
a[i] = i
end
Returns an empty array. The following code will work:
using ClusterManagers, Distributed
addprocs(8, topology=:all_to_all)
using SharedArrays
a = SharedArray{Float64}(100)
@distributed for i = 1:100
a[i] = i
end
Packages:
Julia 1.1.0
ClusterManagers 0.3.2
The text was updated successfully, but these errors were encountered: