xinyu-intel edited a comment on issue #11449: Hotfix for USE_BLAS=mkl compile 
bug
URL: https://github.com/apache/incubator-mxnet/pull/11449#issuecomment-400924403
 
 
   `USE_MKLML=1` skipped when `USE_BLAS=mkl` will cause the following error:
   ```
   /usr/bin/ld: warning: libmklml_intel.so, needed by 
/home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so, not 
found (try using -rpath or -rpath-link)
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_sgemm_alloc'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_sscal'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_saxpy'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `vsExp'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_sgemm_pack'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_sgemm_free'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_sgemm_compute'
   /home/chenxiny/incubator-mxnet/3rdparty/mkldnn/install/lib/libmkldnn.so: 
undefined reference to `cblas_gemm_s8u8s32'
   collect2: error: ld returned 1 exit status
   make: *** [bin/im2rec] Error 1
   make: *** Waiting for unfinished jobs....
   ```
   @szha 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to