Notice all those messages about ImageMagick not being installed? E.g.,

WARNING: FileIO.NotInstalledError(:ImageMagick,"")

You can fix your problem by installing it.

If you try your code first in a single process, FileIO will prompt you to 
install ImageMagick. This doesn't work in a multiprocess situation because 
there is no terminal available on the workers.

Best,
--Tim


On Monday, January 18, 2016 05:32:46 AM Abhinanda Ranjit wrote:
> Hi all,
> 
> I set a Julia cluster on Windows 7 machines.
> Julia  Version 0.4.2
> 
> However, using the Image package on all node gives error.
> 
> My code is :
>  addprocs(["[email protected]"],tunnel = true, dir = "C:\\Julia-0.4.2\\bin",
> exename = "julia")
>  @everywhere using Images
>  @spawnat 2 load"image.bmp")
> 
>  I get the following error :
> julia> @spawnat 2 load("E:\\Cadenza_Files\\Cadenza_Node_Files\\image.bmp")
> RemoteRef{Channel{Any}}(2,1,5)
> 
> julia> WARNING: FileIO.NotInstalledError(:ImageMagick,"")
>  in checked_import at
> C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:12
>  in load at C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:76
>  in load at C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:42
>  in anonymous at multi.jl:1358
>  in anonymous at multi.jl:904
>  in run_work_thunk at multi.jl:645
>  in run_work_thunk at multi.jl:654
>  in anonymous at task.jl:58
>         From worker 2:  Library ImageMagick is not installed but can load
> format: FileIO.File{FileIO.DataFormat{:BMP}}("E:\\Cadenz
> a_Files\\Cadenza_Node_Files\\image.bmp")
> julia>
> 
> julia> fetch(ans)
> ERROR: On worker 2:
> ImageMagick is not installed.
> 
>  in checked_import at
> C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:12
>  in load at C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:76
>  in load at C:\Users\abhinanda.ranjit\.julia\v0.4\FileIO\src\loadsave.jl:42
>  in anonymous at multi.jl:1358
>  in anonymous at multi.jl:904
>  in run_work_thunk at multi.jl:645
>  in run_work_thunk at multi.jl:654
>  in anonymous at task.jl:58
>  in remotecall_fetch at multi.jl:731
>  in call_on_owner at multi.jl:777
>  in fetch at multi.jl:795
> 
> 
> I am able to load Images on each node locally.
> 
> Please help.
> 
> Thanks
> Abhinanda

Reply via email to