You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>for r in tmp
remotecall(() ->println(svdvals(fetch(r))), r.where)
end
julia> From worker 3: [19.928126878869584
From worker 2: [19.928126878869584
From worker 3:19.248234662565334
From worker 2:19.248234662565334
From worker 2:18.378572289263257
From worker 3:18.378572289263257
From worker 2:18.271178929809935
which is fine and I will start wrapping this array of RemoteRefs in some type representing the remote DistMatrix. However, I'd like to use the @sync for ... @async remotecall_wait as well, but if I try
julia>@time@syncfor r in tmp
@asyncremotecall_fetch(() ->svdvals(fetch(r)), r.where)
end
From worker 3: fatal error on 3: ERROR: cannot serialize a pointer
From worker 2: fatal error on 2: ERROR: cannot serialize a pointer
From worker 3:in serialize at serialize.jl:418 (repeats 2 times)
From worker 2:in serialize at serialize.jl:418 (repeats 2 times)
I'm pretty sure that NULL is fine. I shoud be able to avoid serializing pointers, but the main problem is when developing, I sometimes accidentially fetch a pointer and all my workers crash.
With the latest changes I've just pushed to master I can copy a
DArray
intoDistMatrix
on the MPI workers and get theRemoteRef
s back. E.g.and then I can compute the singular values with
which is fine and I will start wrapping this array of
RemoteRef
s in some type representing the remoteDistMatrix
. However, I'd like to use the@sync for ... @async remotecall_wait
as well, but if I trycc: @jakebolewski
The text was updated successfully, but these errors were encountered: