IntelLabs / ParallelAccelerator.jl

The ParallelAccelerator package, part of the High Performance Scripting project at Intel Labs
BSD 2-Clause "Simplified" License
294 stars 32 forks source link

ParallelAccelerator cannot be loaded in Julia 0.6.0-dev #142

Open ArGxento opened 7 years ago

ArGxento commented 7 years ago

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.

DrTodd13 commented 7 years ago

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.

ArGxento commented 7 years ago

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

GravityAssisted commented 7 years ago

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

DrTodd13 commented 7 years ago

@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.

GravityAssisted commented 7 years ago

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

RoyiAvital commented 6 years ago

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