<?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 Intel Math Kernel Library working with Matlab in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902362#M11350</link>
    <description>I have tried to follow the instructions on &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/" target="_blank"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/&lt;/A&gt;, but I'm having problems of getting Intel MKL builder built to be used for Matlab integration (doesn't matter if I used Intel C++ or Fortran compiler)&lt;BR /&gt;&lt;BR /&gt;Fortran compiler error:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;C:\Program Files\Intel\MKL\10.1.1.022\tools\builder&amp;gt;nmake ia32&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\\..\\\\ia32\\lib\\&lt;BR /&gt; if exist .\temp_cdll rd /q /s .\temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .\temp_c&lt;BR /&gt;dll\*.obj   ..\\..\\\\ia32\\lib\\mkl_intel_c.lib  ..\\..\\\\ia32\\lib\\mkl_intel&lt;BR /&gt;_thread.lib  ..\\..\\\\ia32\\lib\\mkl_core.lib  ..\\..\\\\ia32\\lib\\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib bufferoverflowu.lib /ou&lt;BR /&gt;t:"mkl_custom".dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'&lt;BR /&gt;NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN&lt;BR /&gt;\link.EXE"' : return code '0x49d'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;C++ compiler:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;C:\Program Files\Intel\MKL\10.1.1.022\tools\builder&amp;gt;nmake ia32&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\\..\\\\ia32\\lib\\&lt;BR /&gt; if exist .\temp_cdll rd /q /s .\temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .\temp_c&lt;BR /&gt;dll\*.obj   ..\\..\\\\ia32\\lib\\mkl_intel_c.lib  ..\\..\\\\ia32\\lib\\mkl_intel&lt;BR /&gt;_thread.lib  ..\\..\\\\ia32\\lib\\mkl_core.lib  ..\\..\\\\ia32\\lib\\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib bufferoverflowu.lib /ou&lt;BR /&gt;t:"mkl_custom".dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'&lt;BR /&gt;NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN&lt;BR /&gt;\link.EXE"' : return code '0x49d'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;It's not very clear in the instructions on that page of making it work with Matlab. It would be great if someone could help me out with this error.&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Feb 2009 02:13:26 GMT</pubDate>
    <dc:creator>ssylee</dc:creator>
    <dc:date>2009-02-18T02:13:26Z</dc:date>
    <item>
      <title>Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902362#M11350</link>
      <description>I have tried to follow the instructions on &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/" target="_blank"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-with-matlab/&lt;/A&gt;, but I'm having problems of getting Intel MKL builder built to be used for Matlab integration (doesn't matter if I used Intel C++ or Fortran compiler)&lt;BR /&gt;&lt;BR /&gt;Fortran compiler error:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;C:\Program Files\Intel\MKL\10.1.1.022\tools\builder&amp;gt;nmake ia32&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\\..\\\\ia32\\lib\\&lt;BR /&gt; if exist .\temp_cdll rd /q /s .\temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .\temp_c&lt;BR /&gt;dll\*.obj   ..\\..\\\\ia32\\lib\\mkl_intel_c.lib  ..\\..\\\\ia32\\lib\\mkl_intel&lt;BR /&gt;_thread.lib  ..\\..\\\\ia32\\lib\\mkl_core.lib  ..\\..\\\\ia32\\lib\\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib bufferoverflowu.lib /ou&lt;BR /&gt;t:"mkl_custom".dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'&lt;BR /&gt;NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN&lt;BR /&gt;\link.EXE"' : return code '0x49d'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;C++ compiler:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;C:\Program Files\Intel\MKL\10.1.1.022\tools\builder&amp;gt;nmake ia32&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\\..\\\\ia32\\lib\\&lt;BR /&gt; if exist .\temp_cdll rd /q /s .\temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .\temp_c&lt;BR /&gt;dll\*.obj   ..\\..\\\\ia32\\lib\\mkl_intel_c.lib  ..\\..\\\\ia32\\lib\\mkl_intel&lt;BR /&gt;_thread.lib  ..\\..\\\\ia32\\lib\\mkl_core.lib  ..\\..\\\\ia32\\lib\\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib bufferoverflowu.lib /ou&lt;BR /&gt;t:"mkl_custom".dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'&lt;BR /&gt;NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN&lt;BR /&gt;\link.EXE"' : return code '0x49d'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;It's not very clear in the instructions on that page of making it work with Matlab. It would be great if someone could help me out with this error.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 02:13:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902362#M11350</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-18T02:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902363#M11351</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/411672"&gt;ssylee&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .temp_c&lt;BR /&gt;dll*.obj   ..\..\\ia32\lib\mkl_intel_c.lib  ..\..\\ia32\lib\mkl_intel&lt;BR /&gt;_thread.lib  ..\..\\ia32\lib\mkl_core.lib  ..\..\\ia32\lib\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib bufferoverflowu.lib /ou&lt;BR /&gt;t:"mkl_custom".dll&lt;BR /&gt;It's not very clear in the instructions on that page of making it work with Matlab. It would be great if someone could help me out with this error.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;it looks as if you wanted to link to a library which cannot be found (in specified path(s)). As far I as know (but, naturally, might be wrong) the bufferoverflowu.lib is comming from SDK for IA64. The path you specified points to IA32 MKL libs. Why you need that bufferoverflowu.lib? are building for IA64 (then your MKL is wrong)?&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 05:55:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902363#M11351</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-02-18T05:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902364#M11352</link>
      <description>&lt;DIV style="margin:0px;"&gt;Open the Makefile and find out the following lines:&lt;BR /&gt;&lt;BR /&gt;##------------------------------------------------------------------------------&lt;BR /&gt;## Comment next line if you get the message:&lt;BR /&gt;## "LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'"&lt;BR /&gt;##------------------------------------------------------------------------------&lt;BR /&gt;BUF_LIB=bufferoverflowu.lib&lt;BR /&gt;&lt;BR /&gt;Comment this line and try again.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 08:11:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902364#M11352</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-18T08:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902365#M11353</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Open the Makefile and find out the following lines:&lt;BR /&gt;&lt;BR /&gt;##------------------------------------------------------------------------------&lt;BR /&gt;## Comment next line if you get the message:&lt;BR /&gt;## "LINK : fatal error LNK1181: cannot open input file 'bufferoverflowu.lib'"&lt;BR /&gt;##------------------------------------------------------------------------------&lt;BR /&gt;BUF_LIB=bufferoverflowu.lib&lt;BR /&gt;&lt;BR /&gt;Comment this line and try again.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I followed your suggestion and got rid of that error (also saw this snippet in the makefile). However, I have witnessed the following error, and similar instructions were hardpressed to find anywhere in the MKL directory as well as on the Internet:&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;BR /&gt;C:Program FilesIntelMKL10.1.1.022toolsbuilder&amp;gt;nmake ia32&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\..\\ia32\lib\&lt;BR /&gt; if exist .temp_cdll rd /q /s .temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link  /DLL /MACHINE:IX86 /NODEFAULTLIB  /def:user_def_file.def  .temp_c&lt;BR /&gt;dll*.obj   ..\..\\ia32\lib\mkl_intel_c.lib  ..\..\\ia32\lib\mkl_intel&lt;BR /&gt;_thread.lib  ..\..\\ia32\lib\mkl_core.lib  ..\..\\ia32\lib\mkl_solver.&lt;BR /&gt;lib   libiomp5md.lib  msvcrt.lib kernel32.lib user32.lib  /out:"mkl_custom".dll&lt;BR /&gt;Microsoft  Incremental Linker Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;user_def_file.def : error LNK2001: unresolved external symbol xerbla&lt;BR /&gt;mkl_custom.lib : fatal error LNK1120: 1 unresolved externals&lt;BR /&gt;NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 8VCBINl&lt;BR /&gt;ink.EXE"' : return code '0x460'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 19:18:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902365#M11353</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-18T19:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902366#M11354</link>
      <description>&lt;DIV style="margin:0px;"&gt;Could you add "BUF_LIB=" in command line&lt;BR /&gt;&lt;BR /&gt;below the example I used for checking the problem&lt;BR /&gt;nmake ia32 export=_test_list name=_test_dll BUF_LIB=&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;nmake ia32 export=_test_list name=_test_dll&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;nmake ia32 export=_test_list name=_test_dll BUF_LIB=&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;set Lib=%Lib%;..\..\\ia32\lib\&lt;BR /&gt;if exist .temp_cdll rd /q /s .temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def .temp_cdll*.obj ..\..\&lt;BR /&gt;\ia32\lib\mkl_intel_c.lib ..\..\\ia32\lib\mkl_intel_thread.lib ..\..\\ia32\lib\mkl_co&lt;BR /&gt;re.lib ..\..\\ia32\lib\mkl_solver.lib libiomp5md.lib msvcrt.lib kernel32.lib user32.lib /o&lt;BR /&gt;ut:_test_dll.dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Creating library _test_dll.lib and object _test_dll.exp&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;&lt;BR /&gt;--Gennady&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 20:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902366#M11354</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-18T20:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902367#M11355</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Could you add "BUF_LIB=" in command line&lt;BR /&gt;&lt;BR /&gt;below the example I used for checking the problem&lt;BR /&gt;nmake ia32 export=_test_list name=_test_dll BUF_LIB=&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;nmake ia32 export=_test_list name=_test_dll&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;nmake ia32 export=_test_list name=_test_dll BUF_LIB=&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;set Lib=%Lib%;..\..\\ia32\lib\&lt;BR /&gt;if exist .temp_cdll rd /q /s .temp_cdll&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Library Manager Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def .temp_cdll*.obj ..\..\&lt;BR /&gt;\ia32\lib\mkl_intel_c.lib ..\..\\ia32\lib\mkl_intel_thread.lib ..\..\\ia32\lib\mkl_co&lt;BR /&gt;re.lib ..\..\\ia32\lib\mkl_solver.lib libiomp5md.lib msvcrt.lib kernel32.lib user32.lib /o&lt;BR /&gt;ut:_test_dll.dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Creating library _test_dll.lib and object _test_dll.exp&lt;BR /&gt;&lt;BR /&gt;C:AppsIntelMKL10.1toolsbuilder&amp;gt;&lt;BR /&gt;--Gennady&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;This is my output. I don't see anything that you have posted.&lt;BR /&gt;&lt;BR /&gt;C:Program FilesIntelMKL10.1.1.022toolsbuilder&amp;gt;nmake ia32 export=_test_list&lt;BR /&gt; name=_test_dll BUF_LIB=&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 8.00.50727.42&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt; set Lib=%Lib%;..\..\\ia32\lib\&lt;BR /&gt;The system cannot find the file specified.&lt;BR /&gt;NMAKE : fatal error U1077: 'type' : return code '0x1'&lt;BR /&gt;Stop.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2009 20:48:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902367#M11355</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-18T20:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902368#M11356</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I have managed to build the mkl_custom.dll and follow the steps in the instructions before opening Matlab R2008b. However, as I checked the output of "version -modules" in Matlab, I can't find an error message listed in that knowledge base page, but I can't find mkl_custom.dll loaded either. I have changed the environmental variable of BLAS_VERSION to be the exact path of mkl_custom.dll. Is it safe to assume that MKL is not loaded on Matlab?&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 01:34:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902368#M11356</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-19T01:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902369#M11357</link>
      <description>&lt;BR /&gt;
&lt;P&gt;It's unclear - have you built custom dll successfully?&lt;BR /&gt;There are two articles in MKL knowledgebase See the info into the link:&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=63436"&gt;http://software.intel.com/en-us/forums/showthread.php?t=63436&lt;/A&gt; - probably it helps you&lt;/P&gt;
&lt;P&gt;--gif&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2009 04:03:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902369#M11357</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-02-19T04:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Math Kernel Library working with Matlab</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902370#M11358</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;
&lt;P&gt;It's unclear - have you built custom dll successfully?&lt;BR /&gt;There are two articles in MKL knowledgebase See the info into the link:&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=63436"&gt;http://software.intel.com/en-us/forums/showthread.php?t=63436&lt;/A&gt; - probably it helps you&lt;/P&gt;
&lt;P&gt;--gif&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
I already looked at the KB articles. I don't know how to verify if the custom dll is built successfully. I know that mkl_custom.dll is indeed present in the builder directory. I set up BLAS_VERSION and OMP_NUM_THREADS to be what was recommended in the KB article, but I can't run Matlab with the modules loaded, particularly when I tried to multiply 2 large size matrices, for example (i.e. 100 x 100 matrices). I can multiply the 2 matrices in Matlab when I removed those two environment variables from the system, which led me to this question. It would be much appreciated to hear more recommendations to get MKL working with Matlab. Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Feb 2009 20:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-Math-Kernel-Library-working-with-Matlab/m-p/902370#M11358</guid>
      <dc:creator>ssylee</dc:creator>
      <dc:date>2009-02-19T20:15:00Z</dc:date>
    </item>
  </channel>
</rss>

