Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
169 Views

TBB not found while linking

Hi,

I'm trying to run a small program which uses oneMKL. While linking at the devcloud login system

I see the following error: "/usr/bin/ld: cannot find -ltbb". I also tried to compile in the PBS script before running the program but to no avail.

 

The program is compiled via "dpcpp -std=c++20 -mkl -o myprog myprog.cc".  Switching on verbose mode during compilation, I see that the TBB library directory is specified as needed for the linker.

Looking at the TBB directory

  /glob/development-tools/versions/oneapi/beta07/inteloneapi/tbb/latest/lib/intel64/gcc4.8/

I see libtbb.so.2. At my home installation of the same oneAPI I also have "libtbb.so" in the corresponding directory.

 

Is that some error during installation of oneAPI or do I have to add an additional parameter while linking ("-tbb" does not change anything).

 

RGDS

  Ronald 

0 Kudos
1 Reply
Highlighted
Moderator
137 Views

Hi,


Looks like an MKL related issue. Redirecting this query to MKL/oneMKL forum.


Thanks,

Rahul


0 Kudos