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

undefines with icpc -tcheck

Hi,

I am trying to use the intel thread checker to verify my program.
I understood you get the most informative result if you build your application with
icpc -tcheck, but I get hundreds of undefines: __kddc_run and others.
I included -L /opt/intel/itt/tcheck/bin/32e, but that didn't help.
I looked into the makefile of the sample program "primes", but can't find any clue.
Thanks in advance for helping out.
Kind regards,
Feike Boomstra

0 Kudos
2 Replies
Highlighted
Beginner
21 Views

I am not sure whether anybody verified the Makefile. You have to include -ltcdata.
The sample file works.

Feike Boomstra

0 Kudos
Highlighted
Black Belt
21 Views


In your -L path, you need the /lib/ directory, not /bin/ . icpc -tcheck should link the necessary files from that library automatically.
0 Kudos