ParallelAccelerator.jl icon indicating copy to clipboard operation
ParallelAccelerator.jl copied to clipboard

ParallelAccelerator cannot be loaded in Julia 0.6.0-dev

Open ArGxento opened this issue 7 years ago • 6 comments

Hello, I tried to use ParallelAccelerator in Julia 0.6.0-dev and I got this error:

ERROR: LoadError: LoadError: UndefVarError: LambdaInfo not defined                        
Stacktrace:                                                                               
 [1] include_from_node1(::String) at ./loading.jl:539                                     
 [2] include(::String) at ./sysimg.jl:14                                                  
 [3] include_from_node1(::String) at ./loading.jl:539                                     
 [4] include(::String) at ./sysimg.jl:14                                                  
while loading /home/user/codes/julia/ParallelAccelerator.jl/src/domain-ir.jl, in e
xpression starting on line 482                                                            
while loading /home/user/codes/julia/ParallelAccelerator.jl/src/ParallelAccelerato
r.jl, in expression starting on line 257                                                  

I think this error is caused by this commit of Julia. The commit renames LambdaInfo to MethodInstance.

My environment is below: Julia: 0.6.0-dev.2325 (2017-01-24 22:06 UTC) Commit 003f70c (sorry for not the latest commit, but I must use this version for some reason.) ParallelAccelerator: commit 9468b42 (the latest comit in the master branch) OS: CentOS 7

Thank you.

ArGxento avatar Mar 03 '17 07:03 ArGxento

We know that ParallelAccelerator doesn't work with Julia 0.6. The plan is that once 0.6 gets close to release candidate status that we'll start doing the work to upgrade it. That could be in a month or two.

DrTodd13 avatar Mar 03 '17 16:03 DrTodd13

Thank you for your replying. I look forward to using ParallelAccelerator with Julia 0.6.

ArGxento avatar Mar 05 '17 06:03 ArGxento

Hi @DrTodd13 any updates on this ? I am still encountering the same error on the release-0.6 version.

GravityAssisted avatar Jul 01 '17 10:07 GravityAssisted

@GravityAssisted The devel0.6 branches of CompilerTools and ParallelAccelerator now work with Julia 0.6. In order to be included in JuliaPro, we need to do a bit more work to default ParallelAccelerator to use the native threading implementation and make the C backend an option that can be used if the platform has a C compiler. This should happen soon.

DrTodd13 avatar Jul 07 '17 17:07 DrTodd13

@DrTodd13, Thanks for the update. I will check it out.

GravityAssisted avatar Jul 08 '17 20:07 GravityAssisted

Any chance updating it for Julia 0.7 / 1.x?

RoyiAvital avatar Jul 09 '18 16:07 RoyiAvital