You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/11/08 03:17:42 UTC

[GitHub] [incubator-mxnet] TaoLv edited a comment on issue #11417: libomp.so dependency (need REAL fix)

TaoLv edited a comment on issue #11417: libomp.so dependency (need REAL fix)
URL: https://github.com/apache/incubator-mxnet/issues/11417#issuecomment-551361750
 
 
   > btw there's a problem with the mkldnn build. It pulls in libgomp always:
   
   @cjolivier01 It seems that even MXNet is not built with MKL-DNN, there are two omp runtimes linked in libmxnet.so.
   
   I build MXNet with:
   ```
   cmake3 .. -DUSE_CUDA=0 -DUSE_LAPACK=0 -DUSE_MKL_IF_AVAILABLE=0 -DUSE_MKLDNN=0
   ```
   And the `ldd` prints:
   ```
   [lvtao@Mlt2-clx101 build]$ ldd libmxnet.so | grep omp
           libomp.so => /home/lvtao/Workspace/mxnet-official/build/3rdparty/openmp/runtime/src/libomp.so (0x00007f12e5d5d000)
           libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f12e510e000)
   ```
   Ok, I will take a look at that.  This is a recent differenc ebecause I checked about three months ago and it wasn't pulling them both in.
   
   When will mkldnn optionally pull in libomp?
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services