You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm experiencing a problem using DSP.jl and FFTW.jl together. Digging into it, I was able to locate part of the problem from the build of FFTW.jl. The problem arises with ENV["JULIA_FFTW_PROVIDER"] = "MKL" (and Pkg.build("FFTW") afterwards) and the order of which packages are imported.
This works (with provider "MKL" and "FFTW")
using FFTW, DSP
a = rand(100000)
y1 = fft(a)
y2 = fft(a)
y1 == y2 # true
This does not work (with "MKL")
using DSP, FFTW # <- importing DSP first triggers error
a = rand(100000)
y1 = fft(a)
y2 = fft(a)
y1 == y2 # false
Also, for shorter length vectors a the error is not triggered.
I'm not sure how to debug further. Any suggestions?
This is not a big problem since I can just use provider "FFTW".
versioninfo():
Julia Version 1.3.1
Commit 2d5741174c (2019-12-30 21:36 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.6.0)
CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Hi, I'm experiencing a problem using DSP.jl and FFTW.jl together. Digging into it, I was able to locate part of the problem from the build of FFTW.jl. The problem arises with
ENV["JULIA_FFTW_PROVIDER"] = "MKL"
(and Pkg.build("FFTW") afterwards) and the order of which packages are imported.This works (with provider "MKL" and "FFTW")
This does not work (with "MKL")
Also, for shorter length vectors
a
the error is not triggered.I'm not sure how to debug further. Any suggestions?
This is not a big problem since I can just use provider "FFTW".
versioninfo()
:EDIT: Had pinned [email protected] in above status, issue persist for [email protected]. Corrected in status print
The text was updated successfully, but these errors were encountered: