IvanYashchuk/PyFenicsAD.jl

Firedrake import fails with PyCall

IvanYashchuk opened this issue · 3 comments

julia> using PyCall
[ Info: Precompiling PyCall [438e738f-606a-5dbb-bf0a-cddfbfd45ab0]

julia> pyimport("numpy")
PyObject <module 'numpy' from '/home/firedrake/firedrake/lib/python3.6/site-packages/numpy/__init__.py'>

julia> pyimport("firedrake")
: CommandLine Error: Option 'debug-pass' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

This failure happens only in firedrakeproject/firedrake-vanilla docker with prebuilt Julia binaries. Everything works fine with locally built Firedrake and Julia from homebrew (MacOS).

Probably related: JuliaPy/PyCall.jl#810 ?

Looks like it.