samskalicky commented on issue #13438: libc getenv is not threadsafe
URL: 
https://github.com/apache/incubator-mxnet/issues/13438#issuecomment-448006700
 
 
   So far, we've been able to verify that compiling mxnet without openmp does 
not trigger the segfault. This validates that the problem is between one thread 
in mxnet running openmp and another thread in mxnet calling getenv. 
   
   Thus the current workaround (to avoid the segfault) is to recompile mxnet 
without openmp. This will cause performance degredation for any operators that 
used to run using openmp (ie. those that are not using BLAS/LAPACK routines or 
MKLDNN). 

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