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

FFTW could not create plan for fft(n × m × 1 array, 2) #142

Closed
EthanAnderes opened this issue Mar 13, 2020 · 1 comment
Closed

FFTW could not create plan for fft(n × m × 1 array, 2) #142

EthanAnderes opened this issue Mar 13, 2020 · 1 comment

Comments

@EthanAnderes
Copy link

With ENV["JULIA_FFTW_PROVIDER"] = "MKL" I get errors for fft and rfft of a n × m × 1 array along dimension 2.

ENV["JULIA_FFTW_PROVIDER"] = "MKL"
using Pkg 
pkg"build FFTW"
using FFTW
v = rand(32,1)
m = rand(32,32,1)
fft(v,1) #<- works fine
fft(m,2) #<- ERROR

Here is the output I get

julia> fft(m,2) #<- ERROR
ERROR: FFTW could not create plan
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] FFTW.cFFTWPlan{Complex{Float64},-1,false,3}(::Array{Complex{Float64},3}, ::FFTW.FakeArray{Complex{Float64},3}, ::Int64, ::UInt32, ::Float64) at /Users/ethananderes/.julia/packages/FFTW/qqcBj/src/fft.jl:507
 [3] plan_fft(::Array{Complex{Float64},3}, ::Int64; flags::UInt32, timelimit::Float64) at /Users/ethananderes/.julia/packages/FFTW/qqcBj/src/fft.jl:619
 [4] plan_fft at /Users/ethananderes/.julia/packages/FFTW/qqcBj/src/fft.jl:619 [inlined]
 [5] fft(::Array{Complex{Float64},3}, ::Int64) at /Users/ethananderes/.julia/packages/AbstractFFTs/mhQvY/src/definitions.jl:51
 [6] fft(::Array{Float64,3}, ::Int64) at /Users/ethananderes/.julia/packages/AbstractFFTs/mhQvY/src/definitions.jl:198
 [7] top-level scope at REPL[8]:1

Note: with ENV["JULIA_FFTW_PROVIDER"] = "FFTW" everything works fine.

ENV["JULIA_FFTW_PROVIDER"] = "FFTW"
using Pkg 
pkg"build FFTW"
using FFTW
v = rand(32,1)
m = rand(32,32,1)
fft(v,1) #<- works fine
fft(m,2) #<- works fine
@stevengj
Copy link
Member

stevengj commented Oct 8, 2022

Duplicate of #242. Use the real FFTW library, and complain to Intel.

@stevengj stevengj closed this as completed Oct 8, 2022
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