-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gadfly breaks convert(Array, DArray) on OS X Yosemite #471
Comments
Maybe I should loop in some people, @StefanKarpinski, @staticfloat |
I think I'm running into a related problem with a single process Julia 0.3.3 running master branch of Gadfly on Mac OS X Yosemite, except it's not just with conversion between Array and DArray. julia> using Gadfly
julia> using HDF5, JLD
julia> load("./kinparams.jld")
ERROR: `convert` has no method matching convert(::Type{Int64...}, ::Uint64)
in convert at base.jl:13
in convert at base.jl:21
in read at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:301
in read_ref at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:441
in jlconvert! at /Users/darwin/.julia/v0.3/HDF5/src/jld_types.jl:431
in read_scalar at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:327
in read at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:299
in read at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:284
in anonymous at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:932
in jldopen at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:205
in load at /Users/darwin/.julia/v0.3/HDF5/src/JLD.jl:931 The file loads fine if I don't use Gadfly though. |
The latter seems likely to be JuliaLang/julia#8631. You can test by using the procedure outlined in JuliaAttic/Color.jl#68. |
You're right! The same problem is triggered if I do |
@timholy so by your assessment, my issue is related to something else? |
No clue. You, too, could try pinning Color and see what happens. |
@darwindarak, it's not noise at all. This is a pretty unfortunate problem. |
Try |
Thanks for the update. Unfortunately, the problem persists after running Worker 2 terminated.ERROR: ProcessExitedException()
in wait at /Applications/Julia-0.3.1.app/Contents/Resources/julia/lib/julia/sys.dylib (repeats 2 times)
in wait at task.jl:48
in sync_end at /Applications/Julia-0.3.1.app/Contents/Resources/julia/lib/julia/sys.dylib
in convert at darray.jl:319
in convert at abstractarray.jl:310 |
Hi,
I've run into a very serious issue with Gadfly after upgrading my Mac to OS X 10.10 Yosemite. However, the issue might be completely unrelated to this OS upgrade.
I'm on the Julia 0.3.1 binary for OS X and have tested this both using Gadfly 0.3.9 and the master branch.
Here is a description of the issue:
I rely on parallel computations and store results in distributed arrays (DArrays). Once a DArray has been computed, I convert it to a regular Array for further use in my code.
Unfortunately, this conversion has stopped working and I have managed to track down the issue to Gadfly being loaded and Julia using more than 1 process. Here is a minimal working example:
The thrown error is the following:
To clearify: the code fails when I load Gadfly (
using Gadfly
) AND use n > 1 cores (addprocs(k) # k >= 1
). It does not matter, if the DArray is constructed only by workers rather than all processes. The code will fail even whennprocs() = 2
andnworkers() = 1
.I'd really appreciate quick help with this. It might be a Julia bug on Yosemite, but given the direct involvement of Gadfly, I chose to post this here.
Thanks,
Felix
PS: here's my system configuration:
The text was updated successfully, but these errors were encountered: