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

pyfftw nthreads error #79

Closed
robbwh opened this issue Mar 18, 2022 · 3 comments
Closed

pyfftw nthreads error #79

robbwh opened this issue Mar 18, 2022 · 3 comments
Labels

Comments

@robbwh
Copy link

robbwh commented Mar 18, 2022

Using the most recent docker container, I am still getting an error related to using multiple threads.

Rapidtide continues running still though.

input freq: 0.4999997615815346
input start time: 0.000
synctime is 0.0
total probe regressor offset is 0.0
there are 225 points in the original regressor
the timepoint spacing is 2.0000009536743164
the input timecourse start time is 0.0
first fMRI point is at 0.0 seconds relative to time origin
os_fmri_x dim-0 shape: 1121
initial_fmri_x dim-0 shape: 225
filtering to arb band
RuntimeError: Undefined plan with nthreads. This is a bug
Exception ignored in: 'pyfftw.pyfftw._fftw_plan_with_nthreads_null'
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.9/site-packages/pyfftw/builders/_utils.py", line 285, in _Xfftn
    FFTW_object = pyfftw.FFTW(input_array, output_array, axes, direction,
RuntimeError: Undefined plan with nthreads. This is a bug
RuntimeError: Undefined plan with nthreads. This is a bug
Exception ignored in: 'pyfftw.pyfftw._fftw_plan_with_nthreads_null'
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.9/site-packages/pyfftw/builders/_utils.py", line 285, in _Xfftn
    FFTW_object = pyfftw.FFTW(input_array, output_array, axes, direction,
RuntimeError: Undefined plan with nthreads. This is a bug
RuntimeError: Undefined plan with nthreads. This is a bug
Exception ignored in: 'pyfftw.pyfftw._fftw_plan_with_nthreads_null'
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.9/site-packages/pyfftw/builders/_utils.py", line 285, in _Xfftn
    FFTW_object = pyfftw.FFTW(input_array, output_array, axes, direction,
RuntimeError: Undefined plan with nthreads. This is a bug
1121 1121 225 225
corrtr=0.40000019073486326
RuntimeError: Undefined plan with nthreads. This is a bug
Exception ignored in: 'pyfftw.pyfftw._fftw_plan_with_nthreads_null'
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.9/site-packages/pyfftw/builders/_utils.py", line 285, in _Xfftn
    FFTW_object = pyfftw.FFTW(input_array, output_array, axes, direction,
RuntimeError: Undefined plan with nthreads. This is a bug
RuntimeError: Undefined plan with nthreads. This is a bug
```Exception ignored in: 'pyfftw.pyfftw._fftw_plan_with_nthreads_null'

...(continues to run)

@robbwh robbwh added the bug label Mar 18, 2022
@robbwh
Copy link
Author

robbwh commented Mar 18, 2022

I think fixed this in my personal installation by installing an earlier build of pyfftw:
pyFFTW/pyFFTW#294

bbfrederick added a commit that referenced this issue Mar 18, 2022
@bbfrederick
Copy link
Owner

I applied the workaround specified in the referenced thread (fell back to "pyfftw=0.13.0=py39h51d1ae8_0") to the Dockerfile. I don't see the error running in Docker - let me know if it's working for you.

@robbwh
Copy link
Author

robbwh commented Mar 18, 2022

really appreciate it--that seems to have fixed it!

@robbwh robbwh closed this as completed Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants