Skip to content
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

ReadOnlyMemoryError() on precompile #42

Closed
ssfrr opened this issue Jan 28, 2018 · 1 comment
Closed

ReadOnlyMemoryError() on precompile #42

ssfrr opened this issue Jan 28, 2018 · 1 comment

Comments

@ssfrr
Copy link

ssfrr commented Jan 28, 2018

Trying to get CLArrays working to see if it provides any gain on my Intel integrated graphics. clinfo shows both my CPU and GPU as available CL devices, so I think I have the drivers installed appropriately.

julia> using CLArrays
INFO: Recompiling stale cache file /home/sfr/.julia/lib/v0.6/CLArrays.ji for module CLArrays.

WARNING: deprecated syntax "typealias CL_float2 Complex64" at /home/sfr/.julia/v0.6/CLBLAS/src/constants.jl:4.
Use "const CL_float2 = Complex64" instead.

WARNING: deprecated syntax "typealias CL_double2 Complex128" at /home/sfr/.julia/v0.6/CLBLAS/src/constants.jl:5.
Use "const CL_double2 = Complex128" instead.
ERROR: LoadError: LoadError: InitError: ReadOnlyMemoryError()
Stacktrace:
 [1] clblasSetup() at /home/sfr/.julia/v0.6/CLBLAS/src/macros.jl:66
 [2] __init__() at /home/sfr/.julia/v0.6/CLBLAS/src/CLBLAS.jl:94
 [3] _include_from_serialized(::String) at ./loading.jl:157
 [4] _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:200
 [5] _require(::Symbol) at ./loading.jl:464
 [6] require(::Symbol) at ./loading.jl:405
 [7] include_from_node1(::String) at ./loading.jl:576
 [8] anonymous at ./<missing>:2
during initialization of module CLBLAS
while loading /home/sfr/.julia/v0.6/CLArrays/src/3rdparty.jl, in expression starting on line 72
while loading /home/sfr/.julia/v0.6/CLArrays/src/CLArrays.jl, in expression starting on line 18
ERROR: Failed to precompile CLArrays to /home/sfr/.julia/lib/v0.6/CLArrays.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:710
 [2] _require(::Symbol) at ./loading.jl:463
 [3] require(::Symbol) at ./loading.jl:405
 [4] (::##3#4)(::Atom.Progress.ProgressBar) at /home/sfr/.julia/v0.6/Atom/src/repl.jl:193
 [5] #progress#2(::String, ::String, ::Function, ::##3#4) at /home/sfr/.julia/v0.6/Atom/src/progress.jl:65
 [6] (::Atom.Progress.#kw##progress)(::Array{Any,1}, ::Atom.Progress.#progress, ::Function) at ./<missing>:0
 [7] macro expansion at ./REPL.jl:97 [inlined]
 [8] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
@ssfrr
Copy link
Author

ssfrr commented Jan 28, 2018

This seems to be a duplicate of JuliaGPU/OpenCL#137

@ssfrr ssfrr closed this as completed Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant