Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1637 Discussions

TBB not found while linking

RKriemann
Beginner
811 Views

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
RahulV_intel
Moderator
779 Views

Hi,


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


Thanks,

Rahul


0 Kudos
Reply