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

Numba with TBB warning, disabled #9555

Open
1 task
dpineiden opened this issue May 3, 2024 · 2 comments
Open
1 task

Numba with TBB warning, disabled #9555

dpineiden opened this issue May 3, 2024 · 2 comments
Labels
more info needed This issue needs more information

Comments

@dpineiden
Copy link

Reporting a bug

/home/david/.cache/pypoetry/virtualenvs/gnssml-FCwMErw_-py3.10/lib/python3.10/site-packages/numba/np/ufunc/parallel.py:371: NumbaWarning: The TBB threading layer requires TBB version 2021 update 6 or later i.e., TBB_INTERFACE_VERSION >= 12060. Found TBB_INTERFACE_VERSION = 12050. The TBB threading layer is disabled.
warnings.warn(problem)

@kh-abd-kh
Copy link

I had the same problem and it turned out because i installed tbb with pip which is non-standard location.
you should look for the correct location
in my case

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/:/usr/lib/:/usr/lib64/:/home/mabd/.local/lib/

solved the problem ; of course change mabd to your username

you can check by
numba -s|grep True

CUDA Device Initialized : True
CUDA NVIDIA Bindings Available : True
CUDA Minor Version Compatibility Available : True
llvmlite Using SVML Patched LLVM : True
TBB Threading Layer Available : True
OpenMP Threading Layer Available : True
Workqueue Threading Layer Available : True

@kc611 kc611 added the more info needed This issue needs more information label May 7, 2024
@kc611
Copy link
Collaborator

kc611 commented May 7, 2024

Hi @dpineiden, Thanks for the report. Could you please give some more context as to how the error was encountered so that we can provide a proper solution.

Helpful information would include the CPU info,OS version along with the code/logical path that produces the said error.

(And also confirm if @kh-abd-kh 's solution works in your case.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed This issue needs more information
Projects
None yet
Development

No branches or pull requests

3 participants