Closed
Description
Hi all,
FFTW precompilation when directly imported breaks once, then seems OK (I have replicated this a few times with different Julia instances). It seems that the DLL libfftw3-3.dll does not export fftw_threads_set_callback()
which is required for the new PARTR scheduling scheme under 1.3. Curious if the DLL needs updating or I'm just pulling a wonky one from the build script.
julia> using FFTW
ERROR: InitError: ccall: could not find function fftw_threads_set_callback in library C:\Users\henry\.julia\packages\FFTW\xi4tZ\deps\usr\bin\libfftw3-3.dll
Stacktrace:
[1] __init__() at C:\Users\henry\.julia\packages\FFTW\xi4tZ\src\FFTW.jl:60
[2] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:692
[3] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:776
[4] _require(::Base.PkgId) at .\loading.jl:1001
[5] require(::Base.PkgId) at .\loading.jl:922
[6] require(::Module, ::Symbol) at .\loading.jl:917
during initialization of module FFTW
julia> using FFTW
julia> fft([1 -1])
1×2 Array{Complex{Float64},2}:
0.0+0.0im 2.0+0.0im
Repeating "using" until the library imports does not seem to work in the context of other libraries (e.g. DSP.jl, Wavelets.jl):
julia> using DSP
[ Info: Precompiling DSP [717857b8-e6f2-59f4-9121-6e50c889abd2]
ERROR: LoadError: InitError: ccall: could not find function fftw_threads_set_callback in library C:\Users\henry\.julia\packages\FFTW\xi4tZ\deps\usr\bin\libfftw3-3.dll
Stacktrace:
[1] __init__() at C:\Users\henry\.julia\packages\FFTW\xi4tZ\src\FFTW.jl:60
[2] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:692
[3] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:776
[4] _require(::Base.PkgId) at .\loading.jl:1001
[5] require(::Base.PkgId) at .\loading.jl:922
[6] require(::Module, ::Symbol) at .\loading.jl:917
[7] include at .\boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at .\loading.jl:1105
[9] include(::Module, ::String) at .\Base.jl:31
[10] top-level scope at none:2
[11] eval at .\boot.jl:330 [inlined]
[12] eval(::Expr) at .\client.jl:433
[13] top-level scope at .\none:3
during initialization of module FFTW
in expression starting at C:\Users\henry\.julia\packages\DSP\wwKNu\src\DSP.jl:3
ERROR: Failed to precompile DSP [717857b8-e6f2-59f4-9121-6e50c889abd2] to C:\Users\henry\.julia\compiled\v1.3\DSP\OtML7_PQCoN.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1274
[3] _require(::Base.PkgId) at .\loading.jl:1024
[4] require(::Base.PkgId) at .\loading.jl:922
[5] require(::Module, ::Symbol) at .\loading.jl:917
The library lives here:
julia> pathof(FFTW)
"C:\\Users\\henry\\.julia\\packages\\FFTW\\xi4tZ\\src\\FFTW.jl"
Finally, version info:
julia> versioninfo()
Julia Version 1.3.0-rc1.0
Commit 768b25f6a8 (2019-08-18 00:04 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, sandybridge)
Environment:
JULIA_NUM_THREADS = 8
Help would be appreciated :). Do I just need updated DLLs?
Metadata
Metadata
Assignees
Labels
No labels