cjolivier01 edited a comment on issue #17641: OpenMP Error URL: https://github.com/apache/incubator-mxnet/issues/17641#issuecomment-590527708 Another thing to note is that ompenmp with llvm also installs libgomp.so as a symlink to libomp.so, so there's a good chance that libomp.so will be loaded no matter what, depending upon whether a system had clang/openmp installed at all and where that is in the link order. So unless I am missing some clever logic, what mkl doing with its dynamic loading is a cause for concern. Also of note, clang seems to also put a symlink to libiomp5 (in addition to libgomp): ```bash [chriso@chriso-ripper:~/src/mxnet (master)]ls -l /usr/local/lib/lib*omp*.so* lrwxrwxrwx 1 root root 9 Feb 20 14:37 /usr/local/lib/libgomp.so -> libomp.so lrwxrwxrwx 1 root root 9 Feb 20 14:37 /usr/local/lib/libiomp5.so -> libomp.so -rw-r--r-- 1 root root 953376 Feb 20 14:36 /usr/local/lib/libomp.so -rw-r--r-- 1 root root 66072 Feb 20 14:36 /usr/local/lib/libomptarget.so ``` So it seems link order is important?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
