> I'd like to reignite the discussion connected with the following areas and 
> give some update:
> • Removing MKL_USE_SINGLE_DYNAMIC_LIBRARY (mentioned in the 'Build Flags' RFC 
> part)
> • Dynamically linking the OpenMP runtime library which is provided by the 
> compiler/system (mentioned in the 'Build with OpenMP' & 'Interoperability 
> OpenMP' part)
> • Having two runtime OpenMPs in the same process what resulted in the hang 
> ('Interoperability OpenMP' part).
> 
> I think that knowing the root-cause of the hang (described here: #18255) it's 
> worth to reconsider leaving the MKL_USE_SINGLE_DYNAMIC_LIBRARY and using that 
> SDL as the solution of the problem connected with local/global symbol lookup 
> namespaces appeared (RTLD_GLOBAL/RTLD_LOCAL) that appeared in the runtime 
> while linking all the dynamic libraries separately. Providing that the issue 
> reported internally will be resolved.
> 
> I've removed LLVM OpenMP as the start of the process of enabling compiler 
> based OpenMP. Thus, compiling with GCC resulted in linking libgomp (GNU 
> OpenMP). However, it caused some performance drop that needs to be 
> investigated. (#20092).

The bug will be fixed in the next oneAPI release - 2021.3. Just after the 
release I'll open the PR addressing this problem.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-mxnet/issues/19610#issuecomment-842529041

Reply via email to