<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem building 64 bit numpy using MKL and vc11 (Windows) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011884#M19264</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi, I’ve built numpy (1.9) 64 bit using vc11, the Intel Fortran compiler and the MKL ‘mkl_rt’ library.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;*why? (see end of message for the reason, if interested)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any advice or assistance would be greatly appreciated.&amp;nbsp; If I can offer additional information, I will happily do so.&lt;/P&gt;

&lt;P&gt;The build appears to go just fine (no errors noted), and numpy loads into python just fine as well.&lt;/P&gt;

&lt;P&gt;(I note a warning:&amp;nbsp; ### Warning:&amp;nbsp; python_xerbla.c is disabled ### -- however, it doesn’t appear to be problematic?)&lt;/P&gt;

&lt;P&gt;I have also confirmed that numpy sees the mkl blas and lapack libs.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; numpy.__config__.show()&lt;/P&gt;

&lt;P&gt;lapack_opt_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_lapack', 'mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;blas_opt_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;openblas_lapack_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; NOT AVAILABLE&lt;/P&gt;

&lt;P&gt;lapack_mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_lapack', 'mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;blas_mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Everything *&lt;STRONG&gt;looks&lt;/STRONG&gt;* to be in order upon casual inspection (*I think*, please correct me if I’m wrong!)&lt;/P&gt;

&lt;P&gt;However, there is no performance boost when running a few different tests in numpy (singular value decomposition, for example), and only a single thread appears to be in play.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Running numpy.test(‘full’) reveals 21 errors.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;For instance,&lt;/P&gt;

&lt;P&gt;LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And, the other being a recurring error with f2py,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;ERROR: test_size.TestSizeSumExample.test_transpose&lt;/P&gt;

&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\nose\case.py", line 371, in setUp&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try_run(self.inst, ('setup', 'setUp'))&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\nose\util.py", line 478, in try_run&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return func()&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\numpy\f2py\tests\util.py", line 353, in setUp&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; module_name=self.module_name)&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\numpy\f2py\tests\util.py", line 80, in wrapper&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; raise ret&lt;/P&gt;

&lt;P&gt;RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', 'c:\\users\\jareyn~1\\appdata\\local\\temp\\tmpvykewl&lt;A style="font-size: 1em; line-height: 1.5;"&gt;\\foo.f90&lt;/A&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;']&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Reading .f2py_f2cmap ...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping "real(kind=rk)" to "double"&lt;/P&gt;

&lt;P&gt;Succesfully applied user defined changes from .f2py_f2cmap&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Everything that requires configuration appears to be in agreement with this Intel Application Note, minus use of the Intel C++ compiler:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl"&gt;https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have also referenced the Windows build docs on scipy.org:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.scipy.org/scipylib/building/windows.html#building-scipy"&gt;http://www.scipy.org/scipylib/building/windows.html#building-scipy&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Some info about my configuration:&lt;/P&gt;

&lt;P&gt;site.cfg:&lt;/P&gt;

&lt;P&gt;include_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include&lt;/P&gt;

&lt;P&gt;library_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64&lt;/P&gt;

&lt;P&gt;mkl_libs = mkl_rt&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;PATH = (paths separated by line for easy reading)&lt;/P&gt;

&lt;P&gt;C:\Program Files\Side Effects Software\Houdini 13.0.509\python27;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\Scripts;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;LD_LIBRARY_PATH =&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\compiler\lib\intel64&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you in advance for your time, &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Jay&lt;/P&gt;

&lt;P&gt;PS - Please note that I've cross-posted this message to the numpy-discussion mailing list as well. &amp;nbsp;I will post any useful information I receive here.&lt;/P&gt;

&lt;P&gt;=====&lt;/P&gt;

&lt;P&gt;*why am I doing this?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The reason I’m doing this is because I need numpy with MKL to run with the version of python that comes packaged with Houdini (Python 2.7.5 (default, Oct 24 2013, 17:49:49) [MSC v.1700 64 bit (AMD64)] on win32).&lt;/P&gt;

&lt;P&gt;So, downloading a prebuilt 64 bit numpy isn’t an option due to the unavailability of a compatible compiler version.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2014 00:42:21 GMT</pubDate>
    <dc:creator>Jay_R_</dc:creator>
    <dc:date>2014-10-03T00:42:21Z</dc:date>
    <item>
      <title>Problem building 64 bit numpy using MKL and vc11 (Windows)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011884#M19264</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi, I’ve built numpy (1.9) 64 bit using vc11, the Intel Fortran compiler and the MKL ‘mkl_rt’ library.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;*why? (see end of message for the reason, if interested)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any advice or assistance would be greatly appreciated.&amp;nbsp; If I can offer additional information, I will happily do so.&lt;/P&gt;

&lt;P&gt;The build appears to go just fine (no errors noted), and numpy loads into python just fine as well.&lt;/P&gt;

&lt;P&gt;(I note a warning:&amp;nbsp; ### Warning:&amp;nbsp; python_xerbla.c is disabled ### -- however, it doesn’t appear to be problematic?)&lt;/P&gt;

&lt;P&gt;I have also confirmed that numpy sees the mkl blas and lapack libs.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; numpy.__config__.show()&lt;/P&gt;

&lt;P&gt;lapack_opt_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_lapack', 'mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;blas_opt_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;openblas_lapack_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; NOT AVAILABLE&lt;/P&gt;

&lt;P&gt;lapack_mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_lapack', 'mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;blas_mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;mkl_info:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libraries = ['mkl_rt']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; library_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\lib\\intel64']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define_macros = [('SCIPY_MKL_H', None)]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; include_dirs = ['C:\\Program Files (x86)&lt;A&gt;\\Intel\\Composer&lt;/A&gt; XE 2015\\mkl\\include']&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Everything *&lt;STRONG&gt;looks&lt;/STRONG&gt;* to be in order upon casual inspection (*I think*, please correct me if I’m wrong!)&lt;/P&gt;

&lt;P&gt;However, there is no performance boost when running a few different tests in numpy (singular value decomposition, for example), and only a single thread appears to be in play.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Running numpy.test(‘full’) reveals 21 errors.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;For instance,&lt;/P&gt;

&lt;P&gt;LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And, the other being a recurring error with f2py,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;ERROR: test_size.TestSizeSumExample.test_transpose&lt;/P&gt;

&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\nose\case.py", line 371, in setUp&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try_run(self.inst, ('setup', 'setUp'))&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\nose\util.py", line 478, in try_run&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return func()&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\numpy\f2py\tests\util.py", line 353, in setUp&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; module_name=self.module_name)&lt;/P&gt;

&lt;P&gt;&amp;nbsp; File "C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\lib\site-packages\numpy\f2py\tests\util.py", line 80, in wrapper&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; raise ret&lt;/P&gt;

&lt;P&gt;RuntimeError: Running f2py failed: ['-m', '_test_ext_module_5403', 'c:\\users\\jareyn~1\\appdata\\local\\temp\\tmpvykewl&lt;A style="font-size: 1em; line-height: 1.5;"&gt;\\foo.f90&lt;/A&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;']&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Reading .f2py_f2cmap ...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mapping "real(kind=rk)" to "double"&lt;/P&gt;

&lt;P&gt;Succesfully applied user defined changes from .f2py_f2cmap&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Everything that requires configuration appears to be in agreement with this Intel Application Note, minus use of the Intel C++ compiler:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl"&gt;https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have also referenced the Windows build docs on scipy.org:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.scipy.org/scipylib/building/windows.html#building-scipy"&gt;http://www.scipy.org/scipylib/building/windows.html#building-scipy&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Some info about my configuration:&lt;/P&gt;

&lt;P&gt;site.cfg:&lt;/P&gt;

&lt;P&gt;include_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include&lt;/P&gt;

&lt;P&gt;library_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64&lt;/P&gt;

&lt;P&gt;mkl_libs = mkl_rt&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;PATH = (paths separated by line for easy reading)&lt;/P&gt;

&lt;P&gt;C:\Program Files\Side Effects Software\Houdini 13.0.509\python27;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;C:\Program Files\Side Effects Software\Houdini 13.0.509\python27\Scripts;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;LD_LIBRARY_PATH =&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Intel\Composer XE 2015\compiler\lib\intel64&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you in advance for your time, &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Jay&lt;/P&gt;

&lt;P&gt;PS - Please note that I've cross-posted this message to the numpy-discussion mailing list as well. &amp;nbsp;I will post any useful information I receive here.&lt;/P&gt;

&lt;P&gt;=====&lt;/P&gt;

&lt;P&gt;*why am I doing this?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The reason I’m doing this is because I need numpy with MKL to run with the version of python that comes packaged with Houdini (Python 2.7.5 (default, Oct 24 2013, 17:49:49) [MSC v.1700 64 bit (AMD64)] on win32).&lt;/P&gt;

&lt;P&gt;So, downloading a prebuilt 64 bit numpy isn’t an option due to the unavailability of a compatible compiler version.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2014 00:42:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011884#M19264</guid>
      <dc:creator>Jay_R_</dc:creator>
      <dc:date>2014-10-03T00:42:21Z</dc:date>
    </item>
    <item>
      <title>Jay,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011885#M19265</link>
      <description>&lt;P&gt;Jay,&lt;/P&gt;

&lt;P&gt;Thanks for sharing your experience. Building numpy/scipy using Visual C++ is no easy task. So far I haven't seen a good and smooth solution. If anyone on this forum has a success story, please share with us.&lt;/P&gt;

&lt;P&gt;The easiest way of using MKL with numpy/scipy on Windows is grabbing the Anaconda python distribution (free) with the MKL optimization add-on ($29). See more here: &lt;A href="http://continuum.io/anaconda-addons#mkl" target="_blank"&gt;http://continuum.io/anaconda-addons#mkl&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you insist on building it from scratch yourself then it's probably easier to install a Unix-like environment (e.g. cygwin) on Windows and do it from there.&lt;/P&gt;

&lt;P&gt;If you don't see multiple threads in your testing, check your matrix size. You'll need a reasonable size (for example, a few hundreds elements on both dimensions) to see the benefit of MKL threading. Also check your environment settings, in particular MKL_NUM_THREADS (or, OMP_NUM_THREADS), and MKL_THREADING_LAYER (the value should be INTEL).&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2014 16:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011885#M19265</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2014-10-03T16:52:00Z</dc:date>
    </item>
    <item>
      <title>In cygwin, it seems you would</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011886#M19266</link>
      <description>&lt;P&gt;In cygwin, it seems you would still have the problem that the numpy which comes with it would expect you to use the cygwin gcc compilers, not easily interfaced with MKL.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2014 17:01:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011886#M19266</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-10-03T17:01:11Z</dc:date>
    </item>
    <item>
      <title>Dear all, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011887#M19267</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Just for your reference, we investigate the way to building them on windows and published in the article.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/building-numpyscipy-with-intel-mkl-and-intel-fortran-on-windows" target="_blank"&gt;https://software.intel.com/en-us/articles/building-numpyscipy-with-intel-mkl-and-intel-fortran-on-windows&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
	Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 02:52:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-building-64-bit-numpy-using-MKL-and-vc11-Windows/m-p/1011887#M19267</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-07-28T02:52:02Z</dc:date>
    </item>
  </channel>
</rss>

