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

Not compatible with onetbb-2021.6.0 #8487

Closed
1 of 2 tasks
yurivict opened this issue Oct 4, 2022 · 5 comments · Fixed by #8856
Closed
1 of 2 tasks

Not compatible with onetbb-2021.6.0 #8487

yurivict opened this issue Oct 4, 2022 · 5 comments · Fixed by #8856

Comments

@yurivict
Copy link

yurivict commented Oct 4, 2022

Reporting a bug

numba/np/ufunc/tbbpool.cpp:238:45: error: call to non-static member function without an object argument
                tbb::task_scheduler_handle::release(tsh);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
numba/np/ufunc/tbbpool.cpp:263:43: error: no member named 'get' in 'tbb::detail::d1::task_scheduler_handle'
        tsh = tbb::task_scheduler_handle::get();
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
numba/np/ufunc/tbbpool.cpp:301:39: error: no member named 'get' in 'tbb::detail::d1::task_scheduler_handle'
    tsh = tbb::task_scheduler_handle::get();
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
3 errors generated.
  • I have tried using the latest released version of Numba (most recent is
    visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
  • I have included a self contained code sample to reproduce the problem.
    i.e. it's possible to run as 'python bug.py'.
@sklam
Copy link
Member

sklam commented Oct 4, 2022

numba currently do not support tbb-devel>2021.5. a patch has been made to restrict our buildscripts: #8486

@sklam
Copy link
Member

sklam commented Oct 4, 2022

i'm marking this issue as a feature-request to get support for newer tbb

@yurivict
Copy link
Author

yurivict commented Oct 4, 2022

The FreeBSD package for onetbb was updated to 2021.6.0 and this makes Numba broken.

@stuartarchibald
Copy link
Contributor

If there's no option to obtain a supported version of TBB, TBB support can be disabled at compile time via setting the environment variable NUMBA_DISABLE_TBB to non-zero, i.e. export NUMBA_DISABLE_TBB=1.

@stuartarchibald
Copy link
Contributor

#8856 fixes and will be in Numba 0.57.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants