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

Enzyme compilation failure on PowerPC #148

Closed
avik-pal opened this issue Oct 13, 2021 · 4 comments
Closed

Enzyme compilation failure on PowerPC #148

avik-pal opened this issue Oct 13, 2021 · 4 comments

Comments

@avik-pal
Copy link
Contributor

avik-pal commented Oct 13, 2021

On Julia-1.7.0-rc1

ERROR: InitError: LLVM error: No callback manager available for powerpc64le-unknown-linux-gnu
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/LLVM/wnejv/src/executionengine/utils.jl:32 [inlined]
 [2] LocalLazyCallThroughManager
   @ ~/.julia/packages/LLVM/wnejv/src/orcv2.jl:365 [inlined]
 [3] __init__()
   @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/afnXq/src/compiler/orcv2.jl:49
 [4] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base ./loading.jl:768
 [5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
   @ Base ./loading.jl:854
 [6] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1097
 [7] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1013
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:997
during initialization of module JIT

cc @vchuravy

@vchuravy
Copy link
Member

Can you try #149?

@avik-pal
Copy link
Contributor Author

I get a warning but it compiles

┌ Warning: OrcV2 initialization failed with
│   err = LLVM error: No callback manager available for powerpc64le-unknown-linux-gnu
└ @ Enzyme.Compiler.JIT ~/.julia/packages/Enzyme/X6VNF/src/compiler/orcv2.jl:80

@vchuravy
Copy link
Member

Jup, that was the goal. You won't be able to use autodiff_deferred, but otherwise things should work.

@vchuravy
Copy link
Member

Fixed in 0.7.2

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

2 participants