larroy commented 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-525097485 Managed to attach to the train process by putting a delay just after fork ``` (gdb) bt 5 #0 0x00007f5cfb7f819c in __kmp_set_num_threads () from /home/piotr/mxnet/build/mklml/mklml_lnx_2019.0.5.20190502/lib/libiomp5.so #1 0x00007f5c4c8e7d8a in mxnet::engine::OpenMP::set_reserve_cores (this=this@entry=0x7f5c5c129b20 <mxnet::engine::OpenMP::Get()::openMP>, cores=1) at ../src/engine/openmp.cc:77 #2 0x00007f5c4c8f62df in mxnet::engine::ThreadedEnginePerDevice::PushToExecute(mxnet::engine::OprBlock*, bool)::{lambda()#2}::operator()() const (__closure=__closure@entry=0x7ffcec860730) at ../src/engine/threaded_engine_perdevice.cc:140 #3 0x00007f5c4c8f7a02 in mxnet::common::LazyAllocArray<mxnet::engine::ThreadedEnginePerDevice::ThreadWorkerBlock<(dmlc::ConcurrentQueueType)1> >::Get<mxnet::engine::ThreadedEnginePerDevice ::PushToExecute(mxnet::engine::OprBlock*, bool)::{lambda()#2}>(int, mxnet::engine::ThreadedEnginePerDevice::PushToExecute(mxnet::engine::OprBlock*, bool)::{lambda()#2}) (this=this@entry=0x4 8e0148, index=<optimized out>, creator=...) at ../src/engine/../common/lazy_alloc_array.h:113 #4 0x00007f5c4c8f9021 in mxnet::engine::ThreadedEnginePerDevice::PushToExecute (this=0x48dfda0, opr_block=<optimized out>, pusher_thread=<optimized out>) at ../src/engine/threaded_engine_p erdevice.cc:149 (More stack frames follow...) (gdb) ```
---------------------------------------------------------------- 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
