Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

undefines with icpc -tcheck

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

Feike Boomstra

TimP
Black Belt
128 Views

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