skimage.io - undefined symbol: omp_get_num_procs

折月煮酒 提交于 2021-01-28 12:22:58

问题


I try to import skimage.io and have the following error: ...mkl/intel64/libmkl_intel_thread.so: undefined symbol: omp_get_num_procs

I have an mkl lib in my LD_LIBRARY_PATH, if I delete it than I have: ImportError: libmkl_rt.so: cannot open shared object file: No such file or directory


回答1:


on my workstation, it is the problem with libiomp5.so. You can find the location of the so file with command (i.e. sudo find / -name libiomp5.so on Linux) and add the directory of its location to etc/ld.so.conf.d/intel_mkl_settings.conf right after the MKL installation directory(/opt/intel/mkl/lib/intel64). That helps specify the location of omp library. Hope this helps.



来源:https://stackoverflow.com/questions/27990755/skimage-io-undefined-symbol-omp-get-num-procs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!