MKL warning (undefined symbol: mkl_get_version_string)
See original GitHub issueI was pointed here since a downstream project (fil profiler) said that this was a bug in threadpoolctl, but I think the library isn’t able to handle our MKL version:
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 232, in 'calling callback function'
File "<PATH>/lib/venv3/lib64/python3.7/site-packages/threadpoolctl.py", line 400, in match_module_callback
self._make_module_from_path(filepath)
File "<PATH>/lib/venv3/lib64/python3.7/site-packages/threadpoolctl.py", line 515, in _make_module_from_path
module = module_class(filepath, prefix, user_api, internal_api)
File "<PATH>/lib/venv3/lib64/python3.7/site-packages/threadpoolctl.py", line 606, in __init__
self.version = self.get_version()
File "<PATH>/lib/venv3/lib64/python3.7/site-packages/threadpoolctl.py", line 711, in get_version
self._dynlib.mkl_get_version_string(res, 200)
File "/opt/python/python-3.7/lib64/python3.7/ctypes/__init__.py", line 372, in __getattr__
func = self.__getitem__(name)
File "/opt/python/python-3.7/lib64/python3.7/ctypes/__init__.py", line 377, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/libmkl_rt.so: undefined symbol: mkl_get_version_string
I’m pretty sure the MKL version (as defined by INTEL_MKL_VERSION) is 20190004 if that helps.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
using MKL in cython fails with undefined symbol in shared ...
I've solved the problem by using static linking of MKL instead. Because I also failed to apply all the commands from static linking...
Read more >MKL FATAL ERROR: undefined symbol: i_free
Hello, I'm trying to use Intel MKL 10.0.4.023 with some third party code (NumPy) on 64-bit Linux. I am able to successfully compile...
Read more >Intel(R) Math Kernel Library Reference Manual
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL(R) PRODUCTS. NO LICENSE,. EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, ...
Read more >INTEL MKL: undefined symbol - OpenGeoSys Community
I installed the latest Version of INTEL MKL and compiled the latest version of OGS with OGS_USE_MKL . On execution I obtain the...
Read more >Re: dld: warning: Undefined symbol '_d_dtoi' - Google Groups
dld: warning: Undefined symbol '_d_dtoi' >> I understand that its a linker error and on either trying to link it >> against libmold.a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just to be safe, use
grep -i(ignore case):Also, can you tell us the result of
nm --demangle /usr/local/lib/libmkl_rt.so | grep "Version". I suspect you only have theMKL_Get_Version_Stringsymbol.