larroy edited a comment on issue #14979: [BUG] Using a package with MKL and GPU 
versions, using python to open a new process will cause an error
URL: 
https://github.com/apache/incubator-mxnet/issues/14979#issuecomment-525103793
 
 
   I think it might be a bug in intel omp library or some sort of interaction, 
with gnuomp everything works as expected: I compiled without MKL.
   
   ```
   (py3_venv) piotr@ip-172-31-22-252:0: ~/mxnet_other [master]> python test.py
   parent pid: 42977
   train pid: 43182
   10 9...
   go
   HybridSequential(
     (0): Dense(None -> 10, linear)
   )
   (py3_venv) piotr@ip-172-31-22-252:0: ~/mxnet_other [master]> 
   
   ```
   
   ```
   (py3_venv) piotr@ip-172-31-22-252:0: ~/mxnet_other [master]> ldd 
build/libmxnet.so | grep omp
           libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 
(0x00007ff7a8b48000)
   ```
   
   Seems mixing omp implementations might not be safe after all. 

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


With regards,
Apache Git Services

Reply via email to