Commit 6dce3a7d authored by Stephan Kuschel's avatar Stephan Kuschel
Browse files

limit pyfftw to 1 process as a workaround

parent 766d9df2
......@@ -59,6 +59,10 @@ class _fft:
import pyfftw.interfaces.numpy_fft as fftw
fft_module = fftw
# workaround for
# also, scaling is bad, so 1 process wont hurt too much
nproc = 1
fft_kwargs = dict(planner_effort='FFTW_ESTIMATE', threads=nproc)
except ImportError:
# pyFFTW is not available, just import numpys fft
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment