GOTCHA
GOTCHA copied to clipboard
Intel compiler mkl wrapping dgemm_: undefined symbol: ompt_start_tool
This bug might be linked to #70 Intel OpenMP breaks Gotcha bug. Intel version used: intel/19.0.3.199 Trying to wrap dgemm_ from mkl I got:
[...] [44825/44825][gotcha.c:343] - Gotcha wrap completed successfully Before wrappee dgemm call ./a.out: symbol lookup error: /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64/libiomp5.so: undefined symbol: ompt_start_tool
I tried with an older INTEL version (intel/18.0.1.163)
and got this different error path: [...] [56481/56481][gotcha.c:343] - Gotcha wrap completed successfully [56481/56481][gotcha_dl.c:40] - User called dlopen(libittnotify.so, 0x101) Bus error
Can you share a reproducer?
Sure, I also made a small test case using dlsym to wrap the dgemm_, and it seems to work.
Here is a reproducer:
https://github.com/hbrunie/bug_repro
@hbrunie is this still a issue?