Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

Latest Update no more TBB and Bug

abarb
Beginner
996 Views

With this Latest Update I can't run "-m Tbb" or run this simple example:

import time
import dask.array as da

t0 = time.time()

x = da.random.random((10000, 10000), chunks=(4096, 4096))
x.dot(x.T).sum().compute()

print(time.time() - t0)
0 Kudos
1 Solution
Todd_T_Intel
Employee
996 Views

Andre,

In 2018 Update 3, the "tbb" package was refactored into two packages: one for the native runtimes and one with the python bindings. The native package is named "tbb", and the python module is "tbb4py". You will need both for the environment to function as before. Try using "conda install -c intel tbb4py".

Best, Todd

View solution in original post

0 Kudos
6 Replies
Todd_T_Intel
Employee
996 Views

Andre,

Can you tell us which platform you are running on and send the output of "conda list"?

Thank you, Todd

0 Kudos
abarb
Beginner
996 Views

AMD64 (Intel Haswell, Z97, Windows 10 x64)

Microsoft Windows [Version 10.0.17677.1000]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\andre>conda list
# packages in environment at C:\IntelPython3:
#
# Name                    Version                   Build  Channel
absl-py                   0.2.2                    py36_0
asn1crypto                0.24.0             py36_intel_1  [intel]  intel
astor                     0.6.2                    py36_0
backcall                  0.1.0              py36_intel_0  [intel]  intel
backports                 1.0                py36_intel_6  [intel]  intel
backports.weakref         1.0.post1        py36hf2695fa_0
bkcharts                  0.2              py36h7e685f7_0
bleach                    1.5.0              py36_intel_0  [intel]  intel
bokeh                     0.12.16                  py36_0
bzip2                     1.0.6             vc14_intel_14  [vc14 intel]  intel
cairo                     1.14.12              hf171d8a_3
certifi                   2018.1.18          py36_intel_0  [intel]  intel
cffi                      1.11.5             py36_intel_1  [intel]  intel
chardet                   3.0.4              py36_intel_0  [intel]  intel
click                     6.7              py36hec8c647_0
cloudpickle               0.5.3                    py36_0
colorama                  0.3.9              py36_intel_0  [intel]  intel
conda                     4.5.4                    py36_0
conda-env                 2.6.0                h36134e3_1
cryptography              2.2.2              py36_intel_1  [intel]  intel
cycler                    0.10.0             py36_intel_5  [intel]  intel
cython                    0.28.2             py36_intel_4  [intel]  intel
cytoolz                   0.9.0.1          py36hfa6e2cd_0
daal                      2018.0.3.20180405               0    intel
dask                      0.17.5                   py36_0
dask-core                 0.17.5                   py36_0
decorator                 4.3.0              py36_intel_0  [intel]  intel
distarray                 0.6.0              py36_intel_4  [intel]  intel
distributed               1.21.8                   py36_0
django                    2.0.5            py36hd476221_0
django-filter             1.1.0                     <pip>
djangorestframework       3.7.3                     <pip>
entrypoints               0.2.3              py36_intel_0  [intel]  intel
EoN                       0.98.2                    <pip>
freetype                  2.8                vc14_intel_0  [vc14 intel]  intel
gast                      0.2.0                    py36_0
get_terminal_size         1.0.0              py36_intel_5  [intel]  intel
grpcio                    1.11.0           py36he025d50_0
hdf5                      1.10.1             vc14_intel_0  [vc14 intel]  intel
heapdict                  1.0.0                    py36_2
html5lib                  0.9999999                py36_0
icc_rt                    2018.0.3                intel_0  [intel]  intel
icu                       58.2                 ha66f8fd_1
idna                      2.6                py36_intel_0  [intel]  intel
impi_rt                   2018.0.3                intel_0  [intel]  intel
intelpython               2018.0.3                      0    intel
ipykernel                 4.6.1              py36_intel_0  [intel]  intel
ipyparallel               6.0.2              py36_intel_0  [intel]  intel
ipython                   6.3.1              py36_intel_1  [intel]  intel
ipython_genutils          0.2.0              py36_intel_0  [intel]  intel
ipywidgets                7.0.0              py36_intel_0  [intel]  intel
jedi                      0.12.0             py36_intel_0  [intel]  intel
jinja2                    2.9.6              py36_intel_0  [intel]  intel
jpeg                      9b                   hb83a4c4_2
jsonschema                2.6.0              py36_intel_0  [intel]  intel
jupyter_client            5.1.0              py36_intel_0  [intel]  intel
jupyter_console           5.1.0              py36_intel_0  [intel]  intel
jupyter_core              4.4.0              py36_intel_1  [intel]  intel
libpng                    1.6.34             vc14_intel_1  [vc14 intel]  intel
libprotobuf               3.5.2                he0781b1_0
llvmlite                  0.20.0             py36_intel_0  [intel]  intel
locket                    0.2.0            py36hfed976d_1
markdown                  2.6.11                   py36_0
markupsafe                1.0                py36_intel_0  [intel]  intel
matplotlib                2.0.2           np113py36_intel_1  [intel]  intel
menuinst                  1.4.14           py36hfa6e2cd_0
mistune                   0.7.4              py36_intel_1  [intel]  intel
mkl                       2018.0.3                intel_1    intel
mkl_fft                   1.0.0           np113py36_intel_15  [intel]  intel
mkl_random                1.0.0           np113py36_intel_6  [intel]  intel
mpi4py                    3.0.0              py36_intel_0  [intel]  intel
mpmath                    1.0.0              py36_intel_0  [intel]  intel
msgpack-python            0.5.6            py36he980bc4_0
nbconvert                 5.2.1              py36_intel_0  [intel]  intel
nbformat                  4.4.0              py36_intel_0  [intel]  intel
networkx                  2.0                       <pip>
nose                      1.3.7             py36_intel_16  [intel]  intel
notebook                  5.2.2              py36_intel_0  [intel]  intel
numba                     0.35.0             py36_intel_0  [intel]  intel
numexpr                   2.6.2           np113py36_intel_5  [intel]  intel
numpy                     1.13.3             py36_intel_6  [intel]  intel
openmp                    2018.0.3                intel_0    intel
openssl                   1.0.2o             vc14_intel_0  [vc14 intel]  intel
packaging                 17.1                     py36_0
pandas                    0.20.3          np113py36_intel_4  [intel]  intel
pandocfilters             1.4.1              py36_intel_0  [intel]  intel
parso                     0.2.0              py36_intel_0  [intel]  intel
partd                     0.3.8            py36hc8e763b_0
path.py                   11.0.1             py36_intel_0  [intel]  intel
pickleshare               0.7.4              py36_intel_1  [intel]  intel
pip                       9.0.3                    py36_0    intel
pixman                    0.34.0               hcef7cb0_3
prompt_toolkit            1.0.15             py36_intel_0  [intel]  intel
protobuf                  3.5.2            py36h6538335_0
psutil                    5.4.5            py36hfa6e2cd_0
pycairo                   1.13.3           py36h21e00d2_1
pycosat                   0.6.3            py36h413d8a4_0
pycparser                 2.18               py36_intel_0  [intel]  intel
pydaal                    2018.0.0.20170814 np113py36_intel_0  [intel]  intel
pygments                  2.2.0              py36_intel_1  [intel]  intel
pyopengl                  3.1.1a1             np113py36_0
pyopenssl                 17.5.0             py36_intel_0  [intel]  intel
pyparsing                 2.2.0              py36_intel_0  [intel]  intel
pyqt                      5.9.2            py36h1aa27d4_0
pyqtgraph                 0.10.0                   py36_0
pysocks                   1.6.7              py36_intel_0  [intel]  intel
pytables                  3.4.2           np113py36_intel_2  [intel]  intel
python                    3.6.3                  intel_12  [intel]  intel
python-dateutil           2.6.0              py36_intel_3  [intel]  intel
pytz                      2018.4             py36_intel_0  [intel]  intel
pywin32                   223              py36hfa6e2cd_1
pyyaml                    3.12               py36_intel_4  [intel]  intel
pyzmq                     16.0.2             py36_intel_4  [intel]  intel
qt                        5.9.5            vc14he4a7d60_0
requests                  2.18.4             py36_intel_0  [intel]  intel
rpy2                      2.8.6                     <pip>
ruamel_yaml               0.15.35          py36hfa6e2cd_1
scikit-learn              0.19.0          np113py36_intel_6  [intel]  intel
scipy                     1.0.0                     <pip>
scipy                     0.19.1          np113py36_intel_23  [intel]  intel
setuptools                39.0.1                   py36_0    intel
simplegeneric             0.8.1              py36_intel_5  [intel]  intel
sip                       4.19.8           py36h6538335_0
six                       1.11.0                   py36_2    intel
sortedcontainers          1.5.10                   py36_0
sqlite                    3.23.1             vc14_intel_0  [vc14 intel]  intel
sympy                     1.1.1              py36_intel_3  [intel]  intel
tbb                       2018.0.4                 vc14_0  [vc14]  intel
tblib                     1.3.2            py36h30f5020_0
tcl                       8.6.4             vc14_intel_19  [vc14 intel]  intel
tensorboard               1.8.0            py36he025d50_0
tensorflow                1.8.0                         0
tensorflow-base           1.8.0            py36h1a1b453_0
termcolor                 1.1.0                    py36_1
testpath                  0.3.1              py36_intel_0  [intel]  intel
tk                        8.6.4             vc14_intel_27  [vc14 intel]  intel
toolz                     0.9.0                    py36_0
tornado                   4.5.2              py36_intel_0  [intel]  intel
traitlets                 4.3.2              py36_intel_1  [intel]  intel
urllib3                   1.22               py36_intel_0  [intel]  intel
vc                        14.0                          2    intel
vs2015_runtime            14.0.25420              intel_0  [intel]  intel
wcwidth                   0.1.7              py36_intel_5  [intel]  intel
werkzeug                  0.14.1                   py36_0
wheel                     0.31.0             py36_intel_0  [intel]  intel
widgetsnbextension        3.2.0                    py36_0    intel
win_inet_pton             1.0.1              py36_intel_0  [intel]  intel
win_unicode_console       0.5                py36_intel_0  [intel]  intel
wincertstore              0.2                py36_intel_0  [intel]  intel
xz                        5.2.3              vc14_intel_1  [vc14 intel]  intel
yaml                      0.1.7                hc54c509_2
zict                      0.1.3            py36h2d8e73e_0
zlib                      1.2.11             vc14_intel_4  [vc14 intel]  intel

 

0 Kudos
Todd_T_Intel
Employee
997 Views

Andre,

In 2018 Update 3, the "tbb" package was refactored into two packages: one for the native runtimes and one with the python bindings. The native package is named "tbb", and the python module is "tbb4py". You will need both for the environment to function as before. Try using "conda install -c intel tbb4py".

Best, Todd

0 Kudos
abarb
Beginner
996 Views

Thanks, now everything works!

Todd T. (Intel) wrote:

Andre,

In 2018 Update 3, the "tbb" package was refactored into two packages: one for the native runtimes and one with the python bindings. The native package is named "tbb", and the python module is "tbb4py". You will need both for the environment to function as before. Try using "conda install -c intel tbb4py".

Best, Todd

0 Kudos
Todd_T_Intel
Employee
996 Views

Great!

0 Kudos
abarb
Beginner
996 Views

Todd , everything was perfect until this latest update when I tried run with and without TBB and I could run only with -m TBB but I could not run without TBB... it would not a problem if the IDE PyCharm could run -m TBB but it can't run -m TBB (pycharm 2018.2.2 https://youtrack.jetbrains.com/issue/PY-31655)

 

Edited:

Thanks Intel Python Group for this:

 

The following packages will be UPDATED:

    absl-py:          0.4.0-py36h28b3542_0       --> 0.4.1-py36_0
    dask:             0.19.0-py36_0              --> 0.19.1-py36_0
    dask-core:        0.19.0-py36_0              --> 0.19.1-py36_0
    distributed:      1.23.0-py36_0              --> 1.23.1-py36_0
    django:           2.1-py36_0                 --> 2.1.1-py36_0
    icc_rt:           2018.0.3-intel_0     intel [intel] --> 2019.0-intel_117      intel
    impi_rt:          2018.0.3-intel_0     intel [intel] --> 2019.0-intel_117      intel
    libmklml:         2018.0.3-0                 --> 2018.0.3-1
    sortedcontainers: 2.0.4-py36_0               --> 2.0.5-py36_0
    tbb:              2018.0.4-vc14_0      intel [vc14 ] --> 2019.0-vc14_intel_117 intel [vc14]
    tbb4py:           2018.0.4-py36_vc14_0 intel [vc14 ] --> 2019.0-py36_intel_0   intel [vc14]

0 Kudos
Reply