GOTCHA icon indicating copy to clipboard operation
GOTCHA copied to clipboard

Intel compiler mkl wrapping dgemm_: undefined symbol: ompt_start_tool

Open hbrunie opened this issue 4 years ago • 5 comments

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

hbrunie avatar Jun 16 '20 23:06 hbrunie

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

hbrunie avatar Jun 17 '20 00:06 hbrunie

Can you share a reproducer?

mplegendre avatar Jun 17 '20 00:06 mplegendre

Sure, I also made a small test case using dlsym to wrap the dgemm_, and it seems to work.

hbrunie avatar Jun 17 '20 00:06 hbrunie

Here is a reproducer:

https://github.com/hbrunie/bug_repro

hbrunie avatar Jun 17 '20 00:06 hbrunie

@hbrunie is this still a issue?

hariharan-devarajan avatar Oct 05 '23 04:10 hariharan-devarajan