I'm trying to build trace for a program using Trace Collector, but I'm getting such error:
mpicc test.o -L$VT_LIB_DIR -lVT $VT_ADD_LIBS -o build/test.out
/opt/intel/itac/7.2.0.011/itac/lib_impi3/libVT.a(VT_ipc.o): In function `VT_IPCThreadLevel':
/nfs/isv/disks/sv-ssg_dpd_pdsd-mpi_users/dyulov/testing/ITAC/ITAC_P_7_2_0_05/ict/tracing/vampirtrace/src/generic/VT_ipc.c:(.text+0x316b): undefined reference to `PMPI_Query_thread'
Could you please tell me where the problem could be?
The program itself is very simple and not using ITC API.
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.