Skip to content

Commit

Permalink
Add warning for missing module in myid() == 1
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Feb 19, 2014
1 parent 638572d commit 31c286f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/serialize.jl
Expand Up @@ -330,6 +330,9 @@ function deserialize(s, ::Type{Module})
path = deserialize(s)
m = Main
for mname in path
if !isdefined(m,mname)
warn("Module $mname not defined on process $(myid())") # an error seemingly fails
end
m = eval(m,mname)::Module
end
m
Expand Down

0 comments on commit 31c286f

Please sign in to comment.