Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

undefines with icpc -tcheck

f_p_boomstra
Beginner
435 Views
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
f_p_boomstra
Beginner
435 Views
I am not sure whether anybody verified the Makefile. You have to include -ltcdata.
The sample file works.

Feike Boomstra

0 Kudos
TimP
Honored Contributor III
435 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
Reply