Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hang__su
Beginner
148 Views

how to use libtbb.so in mkl with tensorflow

I compile tensorflow with --config=mkl, And I want to use tbb in mkl, but is's only use libiomp5.so,how to use libtbb.so

ldd tensorflow/bazel-tensorflow/external/mkl/lib/libmklml_intel.so
        linux-vdso.so.1 =>  (0x00007ffefb88d000)
        libiomp5.so => not found
        libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007ff1c0fe5000)
        libm.so.6 => /usr/lib64/libm.so.6 (0x00007ff1c0ce3000)
        libc.so.6 => /usr/lib64/libc.so.6 (0x00007ff1c0922000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff1ca13a000)
0 Kudos
2 Replies
Alice_H_Intel
Employee
148 Views

Hello, 

Thanks for your question. I will investigate this and get back to you soon.

Thanks,

Alice

Alice_H_Intel
Employee
148 Views

Hello,

May I know why you want to use tbb ? The reason I ask is libmklml only support openmp and didn't support tbb. Actually, openmp provide better performance then tbb. If you build tensorflow with mkl, openmp support is default supported.

Thanks,

Alice

Reply