Re: [julia-users] Strange parallel error (and general questions re: parallelism)

2015-02-04 Thread Seth
On Tuesday, February 3, 2015 at 7:46:33 PM UTC-8, Amit Murthy wrote: > > Are p3eccentricity and eccentricity defined on all workers? If they are > in a module, the module must be loaded on all workers. If the module has > been loaded try calling it as @spawn .eccentricity . > > Thanks, Amit

Re: [julia-users] Strange parallel error (and general questions re: parallelism)

2015-02-03 Thread Amit Murthy
Are p3eccentricity and eccentricity defined on all workers? If they are in a module, the module must be loaded on all workers. If the module has been loaded try calling it as @spawn .eccentricity . On Tue, Feb 3, 2015 at 11:52 PM, Seth wrote: > I've got a function that calculates the eccentr

[julia-users] Strange parallel error (and general questions re: parallelism)

2015-02-03 Thread Seth
I've got a function that calculates the eccentricity of a vertex in a graph. This is a relatively expensive operation, so when one wants to get the eccentricities of ALL vertices, it seems perfect for parallelization: function p3eccentricity( g::AbstractGraph,