<?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 Hi Zhen Z, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044062#M20864</link>
    <description>&lt;P&gt;Hi Zhen Z,&lt;/P&gt;

&lt;P&gt;The problem of&amp;nbsp;&lt;EM style="font-size: 12px; line-height: 18px;"&gt;unresolved external symbol zfftf_ referenced in function zfft_ &amp;nbsp; are related to the different name conversion of C and fortran under windows and linux, 32bit and intel64 bit. &amp;nbsp;In the source code : there are three micro to control them&amp;nbsp;&lt;/EM&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;NO_APPEND_FORTRAN,&amp;nbsp;UPPERCASE_FORTRAN,&amp;nbsp;PREPEND_FORTRAN.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px; font-size: 1em;"&gt;Here are some related information i found on internet, &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://mail.scipy.org/pipermail/scipy-user/2011-April/029192.html" target="_blank"&gt;http://mail.scipy.org/pipermail/scipy-user/2011-April/029192.html&lt;/A&gt; &amp;nbsp;=&amp;gt; two patch.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Please check them &amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;manually&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;to add &amp;nbsp;either &amp;nbsp;/DNO_APPEND_FORTRAN' some place&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;'/DPREPEND_FORTRAN'. /DNO_APPEND_FORTRAN','/DUPPERCASE_FORTRAN'&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;and let us know how they work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Ying&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2015 07:33:58 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2015-01-09T07:33:58Z</dc:date>
    <item>
      <title>Build Scipy With MKL failed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044059#M20861</link>
      <description>&lt;P&gt;I use command to build numpy first:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;python %MYPWD%/%NUMPY_VER%/setup.py config &amp;nbsp;--compiler=msvc build_clib --compiler=msvc &amp;nbsp;build_ext&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;the site.cfg content is:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[mkl]&lt;BR /&gt;
	library_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\lib\intel64&lt;BR /&gt;
	include_dirs = C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include&lt;BR /&gt;
	mkl_libs = mkl_rt&lt;BR /&gt;
	lapack_libs =&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Then I build scipy with command:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;python %MYPWD%/%SCIPY_VER%/setup.py config &amp;nbsp;--compiler=msvc build_clib --compiler=msvc &amp;nbsp;build_ext&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It failed with message:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;_fftpackmodule.obj : warning LNK4197: export 'init_fftpack' specified multiple times; using first specificatio&lt;BR /&gt;
	n&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Creating library build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\fftpack\_fftpack.lib and ob&lt;BR /&gt;
	ject build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\fftpack\_fftpack.exp&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol zfftf_ referenced in function zfft&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol zfftb_ referenced in function zfft&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol zffti_ referenced in function get_cache_id_zfft&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol cfftf_ referenced in function cfft&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol cfftb_ referenced in function cfft&lt;BR /&gt;
	zfft.obj : error LNK2019: unresolved external symbol cffti_ referenced in function get_cache_id_cfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol dfftf_ referenced in function drfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol dfftb_ referenced in function drfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol dffti_ referenced in function get_cache_id_drfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol rfftf_ referenced in function rfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol rfftb_ referenced in function rfft&lt;BR /&gt;
	drfft.obj : error LNK2019: unresolved external symbol rffti_ referenced in function get_cache_id_rfft&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol costi_ referenced in function get_cache_id_dct1&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol cost_ referenced in function dct1&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol cosqi_ referenced in function get_cache_id_dct2&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol cosqb_ referenced in function dct2&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol cosqf_ referenced in function dct3&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol dcosti_ referenced in function get_cache_id_ddct1&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol dcost_ referenced in function ddct1&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol dcosqi_ referenced in function get_cache_id_ddct2&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol dcosqb_ referenced in function ddct2&lt;BR /&gt;
	dct.obj : error LNK2019: unresolved external symbol dcosqf_ referenced in function ddct3&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol sinti_ referenced in function get_cache_id_dst1&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol sint_ referenced in function dst1&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol sinqi_ referenced in function get_cache_id_dst2&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol sinqb_ referenced in function dst2&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol sinqf_ referenced in function dst3&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol dsinti_ referenced in function get_cache_id_ddst1&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol dsint_ referenced in function ddst1&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol dsinqi_ referenced in function get_cache_id_ddst2&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol dsinqb_ referenced in function ddst2&lt;BR /&gt;
	dst.obj : error LNK2019: unresolved external symbol dsinqf_ referenced in function ddst3&lt;BR /&gt;
	build\lib.win-amd64-2.7\scipy\fftpack\_fftpack.pyd : fatal error LNK1120: 32 unresolved externals&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please give me your suggestion if you have experience about this. Thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 06:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044059#M20861</guid>
      <dc:creator>zz</dc:creator>
      <dc:date>2015-01-08T06:57:40Z</dc:date>
    </item>
    <item>
      <title>I have the same issue . </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044060#M20862</link>
      <description>&lt;P&gt;please help&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 09:35:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044060#M20862</guid>
      <dc:creator>zz</dc:creator>
      <dc:date>2015-01-08T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Please see this article about</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044061#M20863</link>
      <description>&lt;P&gt;Please see this article about building NumPy and SciPy with MKL:&amp;nbsp;https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The article only discusses building using Intel compilers. But you are using msvc. You may need to make some modifications accordingly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Do you specify fftw in site.cfg? Is it in the correct location?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 17:33:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044061#M20863</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2015-01-08T17:33:39Z</dc:date>
    </item>
    <item>
      <title>Hi Zhen Z,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044062#M20864</link>
      <description>&lt;P&gt;Hi Zhen Z,&lt;/P&gt;

&lt;P&gt;The problem of&amp;nbsp;&lt;EM style="font-size: 12px; line-height: 18px;"&gt;unresolved external symbol zfftf_ referenced in function zfft_ &amp;nbsp; are related to the different name conversion of C and fortran under windows and linux, 32bit and intel64 bit. &amp;nbsp;In the source code : there are three micro to control them&amp;nbsp;&lt;/EM&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;NO_APPEND_FORTRAN,&amp;nbsp;UPPERCASE_FORTRAN,&amp;nbsp;PREPEND_FORTRAN.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px; font-size: 1em;"&gt;Here are some related information i found on internet, &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://mail.scipy.org/pipermail/scipy-user/2011-April/029192.html" target="_blank"&gt;http://mail.scipy.org/pipermail/scipy-user/2011-April/029192.html&lt;/A&gt; &amp;nbsp;=&amp;gt; two patch.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Please check them &amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;manually&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;to add &amp;nbsp;either &amp;nbsp;/DNO_APPEND_FORTRAN' some place&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;'/DPREPEND_FORTRAN'. /DNO_APPEND_FORTRAN','/DUPPERCASE_FORTRAN'&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;and let us know how they work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Ying&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2015 07:33:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044062#M20864</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-01-09T07:33:58Z</dc:date>
    </item>
    <item>
      <title>Hi, Zhang Z</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044063#M20865</link>
      <description>&lt;P&gt;Hi, Zhang Z&lt;/P&gt;

&lt;P&gt;Can you show me how to specify fftw in site.cfg?&lt;/P&gt;

&lt;P&gt;I attached my old site.cfg.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 03:27:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044063#M20865</guid>
      <dc:creator>zz</dc:creator>
      <dc:date>2015-01-12T03:27:56Z</dc:date>
    </item>
    <item>
      <title>Hi, Ying</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044064#M20866</link>
      <description>&lt;P&gt;Hi, Ying&lt;/P&gt;

&lt;P&gt;After add the three options, I got the new error. What's options I can use?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE\mkl\lib\intel64" /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\libs /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\libs /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 odepack.lib linpack_lite.lib mach.lib mkl_rt.lib /EXPORT:initvode build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vodemodule.obj build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\fortranobject.obj /OUT:build\lib.win-amd64-2.7\scipy\integrate\vode.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.pyd.manifest&lt;BR /&gt;
	vodemodule.obj : warning LNK4197: export 'initvode' specified multiple times; using first specification&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; Creating library build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.lib and object build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.exp&lt;BR /&gt;
	vodemodule.obj : error LNK2001: unresolved external symbol _DVODE&lt;BR /&gt;
	vodemodule.obj : error LNK2001: unresolved external symbol _ZVODE&lt;BR /&gt;
	build\lib.win-amd64-2.7\scipy\integrate\vode.pyd : fatal error LNK1120: 2 unresolved external&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 08:07:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044064#M20866</guid>
      <dc:creator>zz</dc:creator>
      <dc:date>2015-01-12T08:07:06Z</dc:date>
    </item>
    <item>
      <title>I'm stuck at the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044065#M20867</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;I'm trying to build scipy-0.15.1 using Visual Studio 2013 (msvc12) against numpy 1.9.1 and Python 2.7.6 x64 all built with Visual Studio 2013.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;S&gt;I'm&lt;/S&gt;&amp;nbsp;I was&amp;nbsp;stuck at the same location as well.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I looked at the symbols in vode.lib and I see the DVODE and ZVODE symbols, but no _DVODE and _ZVODE symbols. &lt;S&gt;Is that the problem? I'll investigate further and see if I can figure this out.&lt;/S&gt;&amp;nbsp;That is the problem. You can temporarily undefine&amp;nbsp;PREPEND_FORTRAN macro for vodemodule.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Kaushal&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;zhen z. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi, Ying&lt;/P&gt;

&lt;P&gt;After add the three options, I got the new error. What's options I can use?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE\mkl\lib\intel64" /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\libs /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\libs /LIBPATH:S:\sc\EEsofTools\Windows\vs2012\win32_64\python\2.7.3\win32_64\release\python\PCbuild\amd64 /LIBPATH:build\temp.win-amd64-2.7 odepack.lib linpack_lite.lib mach.lib mkl_rt.lib /EXPORT:initvode build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vodemodule.obj build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\fortranobject.obj /OUT:build\lib.win-amd64-2.7\scipy\integrate\vode.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.pyd.manifest&lt;BR /&gt;
	vodemodule.obj : warning LNK4197: export 'initvode' specified multiple times; using first specification&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; Creating library build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.lib and object build\temp.win-amd64-2.7\Release\build\src.win-amd64-2.7\scipy\integrate\vode.exp&lt;BR /&gt;
	vodemodule.obj : error LNK2001: unresolved external symbol _DVODE&lt;BR /&gt;
	vodemodule.obj : error LNK2001: unresolved external symbol _ZVODE&lt;BR /&gt;
	build\lib.win-amd64-2.7\scipy\integrate\vode.pyd : fatal error LNK1120: 2 unresolved external&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:01:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044065#M20867</guid>
      <dc:creator>Kaushal_S_</dc:creator>
      <dc:date>2015-01-29T01:01:00Z</dc:date>
    </item>
    <item>
      <title>I have build three times to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044066#M20868</link>
      <description>&lt;P&gt;I have build three times to finish it.&lt;/P&gt;

&lt;P&gt;1&amp;nbsp;&amp;nbsp; genreal build with no option to change upper/lower case&lt;/P&gt;

&lt;P&gt;2&amp;nbsp;&amp;nbsp; run build with option ""-DUPPERCASE_FORTRAN&amp;nbsp; -DNO_APPEND_FORTRAN -DPREPEND_FORTRAN "&lt;/P&gt;

&lt;P&gt;3&amp;nbsp;&amp;nbsp; run build again with option ""-DUPPERCASE_FORTRAN&amp;nbsp; -DNO_APPEND_FORTRAN "&lt;/P&gt;

&lt;P&gt;Hope this can help you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Below is part of my build script:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;pushd %MYPWD%\%SCIPY_VER%&lt;/P&gt;

&lt;P&gt;python %MYPWD%/%SCIPY_VER%/setup.py clean --all&lt;/P&gt;

&lt;P&gt;python %MYPWD%/%SCIPY_VER%/setup.py config&amp;nbsp; --compiler=msvc --fcompiler=intelvem build_clib --compiler=msvc --fcompiler=intelvem build_ext &amp;gt;&amp;gt; %MYPWD%\build1.log&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	python %MYPWD%/%SCIPY_VER%/setup.py config&amp;nbsp; --compiler=msvc --fcompiler=intelvem build_clib --compiler=msvc --fcompiler=intelvem build_ext "-DUPPERCASE_FORTRAN&amp;nbsp; -DNO_APPEND_FORTRAN -DPREPEND_FORTRAN "&amp;gt;&amp;gt; %MYPWD%\build2.log&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	python %MYPWD%/%SCIPY_VER%/setup.py config&amp;nbsp; --compiler=msvc --fcompiler=intelvem build_clib --compiler=msvc --fcompiler=intelvem&amp;nbsp;&amp;nbsp; build_ext "-DUPPERCASE_FORTRAN&amp;nbsp; -DNO_APPEND_FORTRAN "&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt; %MYPWD%\build3.log&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:10:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044066#M20868</guid>
      <dc:creator>zz</dc:creator>
      <dc:date>2015-01-29T01:10:34Z</dc:date>
    </item>
    <item>
      <title>Hi, Zhen and Kaushal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044067#M20869</link>
      <description>&lt;P&gt;Hi, Zhen and Kaushal&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The two Fortran compiler options:&lt;/SPAN&gt;&amp;nbsp;"/Qlowercase /us" used in numpy scripts are already removed from Intel(R) Visual Fortran 15.0&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The suggested replacement are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;/names:lowercase and /assume:underscore&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Try update&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;numpy\distutils\fcompiler\intel.py:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Under class IntelVisualFCompiler(BaseIntelFCompiler):&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Change:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def get_flags(self):&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opt = ['/nologo', '/MD', '/nbs', '/Qlowercase', '/us']&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;to:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; def get_flags(self):&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; opt = ['/nologo', '/MD', '/nbs', '/names:lowercase', '/assume:underscore']&lt;/P&gt;

&lt;P&gt;Build and install passed successfully.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 08:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Build-Scipy-With-MKL-failed/m-p/1044067#M20869</guid>
      <dc:creator>Yuan_C_Intel</dc:creator>
      <dc:date>2015-01-30T08:47:00Z</dc:date>
    </item>
  </channel>
</rss>

