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

HENzsearch and tbb library #107

Open
giallixx opened this issue May 13, 2021 · 4 comments
Open

HENzsearch and tbb library #107

giallixx opened this issue May 13, 2021 · 4 comments

Comments

@giallixx
Copy link

When using HENzsearch a warning appears saying TBB threading layer is disabled. Is this an important issue ?

HENzsearch -f .1 -F 2. -N 2 --fast ULX_xmm_epn_det04_ev.nc
0%| | 0/17756 [00:00<?, ?it/s]/home/gianluca/stingray/lib64/python3.6/site-packages/numba/np/ufunc/parallel.py:365: NumbaWarning: The TBB threading layer requires TBB version 2019.5 or later i.e., TBB_INTERFACE_VERSION >= 11005. Found TBB_INTERFACE_VERSION = 10002. The TBB threading layer is disabled.
warnings.warn(problem)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17756/17756 [27:44<00:00, 10.67it/s]

I tried to check whether tbb is present on my system:

pip install tbb
Requirement already satisfied: tbb in /data/gianluca/stingray/lib/python3.6/site-packages (2021.2.0)

@matteobachetti
Copy link
Member

matteobachetti commented May 13, 2021

@stuartarchibald looking at a previous Numba issue, the solution should be a tbb update. However, here the installed version (2021.2.0) seems more recent than needed (2019.5 or later). Any ideas? Thanks in advance

@matteobachetti
Copy link
Member

@giallixx have you tried with a more recent python version, e.g. 3.8?

@stuartarchibald
Copy link

TBB changed its ABI in the 2021 series. Numba 0.53.x (latest) needs TBB 2019.5-2020.x, the upcoming Numba 0.54 uses TBB 2021 (the conda packages encode this). IIRC there's also a general problem with detection of pip installed TBB in that Numba sometimes can't see it because it could well not be on a path the dynamic link resolver knows about.

@giallixx
Copy link
Author

python version 3.6 is the latest available version on the linux distribution I am currently using.

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

No branches or pull requests

3 participants