I still get an error (see below). Even if it did work, it would still be 
strange that one would need a different syntax when the workers are on my 
local machine vrs connected to servers with ssh tunnel. 

julia> addprocs(
           machines,
           tunnel=true,
           dir="/home/anderes/",
           exename="/usr/local/bin/julia",
           topology=:master_slave,
       )
2-element Array{Int64,1}:
 2
 3

julia> @everywhere using  Dierckx
WARNING: node state is inconsistent: node 2 failed to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Dierckx.ji
WARNING: node state is inconsistent: node 3 failed to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Dierckx.ji
WARNING: deserialization checks failed while attempting to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Dierckx.ji
WARNING: deserialization checks failed while attempting to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Dierckx.ji
WARNING: deserialization checks failed while attempting to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Compat.ji
WARNING: deserialization checks failed while attempting to load cache from 
/Users/ethananderes/.julia/lib/v0.4/Compat.ji
ERROR: On worker 2:
LoadError: InitError: Dierckx not properly installed. Run Pkg.build("Dierckx")
 in __init__ at /Users/ethananderes/.julia/v0.4/Dierckx/src/Dierckx.jl:27
 in include_string at loading.jl:282
 in include_from_node1 at ./loading.jl:323
 in require at ./loading.jl:259
 in eval at ./sysimg.jl:14
 in anonymous at multi.jl:1394
 in anonymous at multi.jl:923
 in run_work_thunk at multi.jl:661
 [inlined code] from multi.jl:923
 in anonymous at task.jl:63
during initialization of module Dierckx
while loading /Users/ethananderes/.julia/v0.4/Dierckx/src/Dierckx.jl, in 
expression starting on line 714
 in remotecall_fetch at multi.jl:747
 in remotecall_fetch at multi.jl:750
 in anonymous at multi.jl:1396

...and 1 other exceptions.

 in sync_end at ./task.jl:413
 in anonymous at multi.jl:1405

Just to convince you that it’s not a problem with Dierckx on the remote 
machine… everything works fine (even without @everywhere before using 
Dierckx) when the master node is on server (rather than on my laptop)

$ ssh [email protected]

(xxx)-~$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6-pre+37 (2016-05-27 22:56 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 430601c (6 days old release-0.4)
|__/                   |  x86_64-redhat-linux

julia> addprocs(2, topology=:master_slave)
2-element Array{Int64,1}:
 2
 3

julia> using  Dierckx

julia> @everywhere spl = Dierckx.Spline1D([1., 2., 3.], [1., 2., 3.], k=2)

julia>


I did find this old issue on github which seems to have a similar error (
https://github.com/JuliaLang/julia/issues/12381). Should I file an issue, 
or do you think it’s a problem on my end?





On Friday, June 3, 2016 at 7:31:35 AM UTC-7, Isaiah wrote:

Try `@everywhere using Dierckx`
>
>
> ​

Reply via email to