You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/03/06 09:55:56 UTC

[GitHub] [incubator-mxnet] stereomatchingkiss opened a new issue #14343: Cannot generate op.h when build with mkl

stereomatchingkiss opened a new issue #14343: Cannot generate op.h when build with mkl
URL: https://github.com/apache/incubator-mxnet/issues/14343
 
 
   - os : windows 10 64bits
   - compiler : vc2015 64bits update 3
   - mxnet : 1.3.1
   
   I write down the steps of building at [stackoverflow](https://stackoverflow.com/questions/55017740/mxnet-build-with-intel-mkl-always-throw-error-intel-mkl-fatal-error-cannot-loa), please read it until step 14 if you want to know the details.
   
   I use python download from [here](https://www.python.org/downloads/) to generate op.h, but it throw error message
   
       2>  "Running: OpWrapperGenerator.py"
       2>  Traceback (most recent call last):
       2>    File "OpWrapperGenerator.py", line 432, in <module>
       2>      raise(e)
       2>    File "OpWrapperGenerator.py", line 426, in <module>
       2>      f.write(patternStr % ParseAllOps())
       2>    File "OpWrapperGenerator.py", line 320, in ParseAllOps
       2>      cdll.libmxnet = cdll.LoadLibrary(sys.argv[1])
       2>    File "C:\Users\yyyy\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 434, in LoadLibrary
       2>      return self._dlltype(name)
       2>    File "C:\Users\yyyy\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
       2>      self._handle = _dlopen(self._name, mode)
       2>  OSError: [WinError 193] %1 is not a valid Win32 application
   
   Dependency of libmxnet.dll(by dumpbin)
   
       mkl_rt.dll
       KERNEL32.dll
       VCOMP140.DLL
   
   Dependency of mkl_rt.dll(by dumpbin)
   
   `KERNEL32.dll`
   
   I put both of the dll, mkl_rt.dll and libmxnet.dll into a folder could be found by the os, try to generate op.h again, but it still give me the same error, how could I solve this issue? Thanks
   
   ps : Use Anaconda3 can generate op.h, but it cause another issue " **Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.**"

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


With regards,
Apache Git Services