TaoLv commented on issue #18255:
URL: 
https://github.com/apache/incubator-mxnet/issues/18255#issuecomment-626605153


   In my environment, the problem can be mitigated by pre loading the 
libraries. I'm trying to see if we can fix it on build or link stage.
   
   ```
   (mxnet) [lvtao@mlt2-clx020 mxnet-temp]$ export 
LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/lib/intel64_lin/libiomp5.so
   (mxnet) [lvtao@mlt2-clx020 mxnet-temp]$ python3 -c 'import mxnet as mx; 
print(mx.nd.square(mx.nd.random.uniform(shape=(1024,))))'
   
   [0.30119628 0.35146472 0.51149577 ... 0.12286104 0.28916994 0.35195467]
   <NDArray 1024 @cpu(0)>
   
   ```


----------------------------------------------------------------
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]


Reply via email to