Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

ParallelAccelerator cannot be loaded in Julia 0.6.0-dev #142

Open
ArGxento opened this issue Mar 3, 2017 · 6 comments
Open

ParallelAccelerator cannot be loaded in Julia 0.6.0-dev #142

ArGxento opened this issue Mar 3, 2017 · 6 comments

Comments

@ArGxento
Copy link

ArGxento commented Mar 3, 2017

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
Copy link
Member

DrTodd13 commented Mar 3, 2017

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
Copy link
Author

ArGxento commented Mar 5, 2017

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

@GravityAssisted
Copy link

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

@DrTodd13
Copy link
Member

DrTodd13 commented Jul 7, 2017

@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
Copy link

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

@RoyiAvital
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants