Can't create 4 dimensional dft plan

Bug #680845 reported by Ben Moran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyFFTW
Fix Committed
Undecided
Unassigned

Bug Description

I'm able to create two and three dimensional backward fft plans, but not a 4-d plan (unless I'm doing something wrong).

This is on Ubuntu 9.10, 64-bit, with PyFFTW 0.2.1. It seems the call to fftw_plan_dft returns None.

import fftw3
import numpy as np
N=5

output3 = np.zeros((N,N,N), dtype=complex)
ifft3 = fftw3.Plan(output3, None, direction='backward', flags=['measure'])
# Works fine

output4 = np.zeros((N,N,N,N), dtype=complex)
ifft4 = fftw3.Plan(output4, None, direction='backward', flags=['measure'])
# Exception: Error creating fftw plan fftw_plan_dft for the given parameters

Related branches

Revision history for this message
Jochen Schroeder (cyco) wrote :

Sorry for the delayed reply, real life is in the way. I haven't used 4d plans myself, I'll investigate. Thanks for reporting

Jochen Schroeder (cyco)
Changed in pyfftw:
status: New → Fix Committed
Revision history for this message
Jochen Schroeder (cyco) wrote :

Sorry for taking so long this is now fixed in trunk (commit 49)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.