That would almost definitely be it. I had been using @everywhere using Nemo as a hacky way of dealing with types not being defined on other processes. I've read the documentation where it gives the example DummyModule and talks about the scope but I've never really grasped the "correct" way to create an object of custom type on multiples processes. If I wanted to have an object S of type MatrixSpace on all processes it seems like it should be something like
for i = 1:nprocs() S = RemoteRef(i) put!(S, MatrixSpace(ZZ, 3, 3) end and then I could use S inside an @parallel loop? I'm sure something with my syntax is off but is that the correct idea or am I off-base? On Tuesday, June 14, 2016 at 5:46:50 AM UTC-5, Toivo Henningsson wrote: > > Could it be that you happened to reload Nemo after using/importing it? > This kind of thing can happen when there are two live instances of the same > module and your code happens to combine types/functions from both. >
