Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel compiler mkl wrapping dgemm_: undefined symbol: ompt_start_tool #94

Open
hbrunie opened this issue Jun 16, 2020 · 5 comments
Open

Comments

@hbrunie
Copy link

hbrunie commented Jun 16, 2020

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 hbrunie changed the title Intel compiler mkl: undefined symbol ompt_start_tool Intel compiler mkl wrapping dgemm_ segfaults Jun 16, 2020
@hbrunie hbrunie changed the title Intel compiler mkl wrapping dgemm_ segfaults Intel compiler mkl wrapping dgemm_: undefined symbol: ompt_start_tool Jun 16, 2020
@hbrunie
Copy link
Author

hbrunie commented Jun 17, 2020

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

@mplegendre
Copy link
Member

Can you share a reproducer?

@hbrunie
Copy link
Author

hbrunie commented Jun 17, 2020

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

@hbrunie
Copy link
Author

hbrunie commented Jun 17, 2020

Here is a reproducer:

https://github.com/hbrunie/bug_repro

@hariharan-devarajan
Copy link
Member

@hbrunie is this still a issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants