<?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 Thank you, I've succeeded to in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147484#M26827</link>
    <description>&lt;P&gt;Thank you, I've succeeded to build the dll using the command line tool.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 11:10:25 GMT</pubDate>
    <dc:creator>Shai_E_</dc:creator>
    <dc:date>2017-10-30T11:10:25Z</dc:date>
    <item>
      <title>Building a Custom Dynamic-link Library in the Visual Studio Development System</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147480#M26823</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I trying to build a custom DLL by following the instructions in&amp;nbsp;https://software.intel.com/en-us/mkl-windows-developer-guide-building-a-custom-dynamic-link-library-in-the-visual-studio-development-system .&lt;/P&gt;

&lt;P&gt;I get the following warning:&lt;/P&gt;

&lt;P&gt;example.def(22): warning LNK4017: cblas_dgemm statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(23): warning LNK4017: cblas_sgemv statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(24): warning LNK4017: cblas_sgemm statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(25): warning LNK4017: LAPACKE_sgetrf statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(26): warning LNK4017: LAPACKE_sgetri statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(27): warning LNK4017: MKL_malloc statement not supported for the target platform; ignored&lt;BR /&gt;
	example.def(27): warning LNK4017: MKL_free statement not supported for the target platform; ignored&lt;/P&gt;

&lt;P&gt;and it seems that the resulted dll doesn't contain these methods.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;

&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:26:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147480#M26823</guid>
      <dc:creator>Shai_E_</dc:creator>
      <dc:date>2017-10-26T14:26:10Z</dc:date>
    </item>
    <item>
      <title>Thanks Shai.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147481#M26824</link>
      <description>&lt;P&gt;Thanks Shai.&lt;/P&gt;

&lt;P&gt;Could you please give more details to reproduce the case on our side:&amp;nbsp; is VS 2013, 2015 or 2017?&lt;/P&gt;

&lt;P&gt;ia32 or 64?&lt;/P&gt;

&lt;P&gt;list&amp;nbsp; of function from xamples.def file.&lt;/P&gt;

&lt;P&gt;version of MKL?&lt;/P&gt;

&lt;P&gt;thanks, Gennady&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 15:48:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147481#M26824</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-10-26T15:48:39Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147482#M26825</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the VS2015 solution, Intel 64 architecture, MKL version 2017 update 3, 17.0.0.051.&lt;/P&gt;

&lt;P&gt;The list of functions is:&lt;/P&gt;

&lt;P&gt;cblas_dgemm&lt;BR /&gt;
	cblas_sgemv&lt;BR /&gt;
	cblas_sgemm&lt;BR /&gt;
	LAPACKE_sgetrf&lt;BR /&gt;
	LAPACKE_sgetri&lt;BR /&gt;
	MKL_malloc&lt;BR /&gt;
	MKL_free&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Shai&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 06:46:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147482#M26825</guid>
      <dc:creator>Shai_E_</dc:creator>
      <dc:date>2017-10-29T06:46:56Z</dc:date>
    </item>
    <item>
      <title>1/ yes, I see also some</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147483#M26826</link>
      <description>&lt;P&gt;1/ yes, I see also some inconsistency when VS Solutions are used. We will take a look at this case.&lt;/P&gt;

&lt;P&gt;2/ You may build the custom dll by using the command line. It works. Here is output I see on my side:&lt;BR /&gt;
	&amp;gt;&lt;STRONG&gt;nmake libintel64&lt;/STRONG&gt;&lt;BR /&gt;
	Microsoft (R) Program Maintenance Utility Version 14.11.25547.0&lt;BR /&gt;
	Copyright (C) Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; set Lib=..\..\lib\intel64;%Lib%;..\..\..\compiler\lib\intel64&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type user_example_list | findstr /V "^[;#]" &amp;gt;&amp;gt; user_def_file.def&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lib .\lib\mkl_cdll_intel64.lib /EXTRACT:"i_malloc_dll.obj" /OUT:".\temp_cdll\i_malloc_dll.obj"&lt;BR /&gt;
	Microsoft (R) Library Manager Version 14.11.25547.0&lt;BR /&gt;
	Copyright (C) Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lib .\lib\mkl_cdll_intel64.lib /EXTRACT:_vml_dll_core.obj /OUT:.\temp_cdll\_vml_dll_core.obj&lt;BR /&gt;
	Microsoft (R) Library Manager Version 14.11.25547.0&lt;BR /&gt;
	Copyright (C) Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; link /DLL /MANIFEST /MACHINE:AMD64 /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libmmt.lib /NODEFAULTLIB:libirc.lib /N&lt;BR /&gt;
	ODEFAULTLIB:svml_dispmt.lib /NODEFAULTLIB:libdecimal.lib /def:user_def_file.def&amp;nbsp; .\temp_cdll\i_malloc_dll.obj .\temp_cdl&lt;/P&gt;

&lt;P&gt;l\_vml_dll_core.obj&amp;nbsp; &amp;nbsp;mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib&amp;nbsp; libiomp5md.lib&amp;nbsp; msvcrt.lib kernel32.lib user&lt;BR /&gt;
	32.lib /out:mkl_custom.dll&lt;BR /&gt;
	Microsoft (R) Incremental Linker Version 14.11.25547.0&lt;BR /&gt;
	Copyright (C) Microsoft Corporation.&amp;nbsp; All rights reserved.&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;Creating library mkl_custom.lib and object mkl_custom.exp&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mt.exe -nologo -manifest mkl_custom.dll.manifest -outputresource:mkl_custom.dll;2&lt;BR /&gt;
	..\compilers_and_libraries\windows\mkl\tools\builder&amp;gt;&lt;/P&gt;

&lt;P&gt;dir /b shows&amp;nbsp; :&lt;BR /&gt;
	mkl_custom.dll&lt;BR /&gt;
	mkl_custom.dll.manifest&lt;BR /&gt;
	mkl_custom.exp&lt;/P&gt;

&lt;P&gt;3/ the similar works as an expected with dynamic cases&amp;nbsp;&lt;STRONG&gt;nmake&amp;nbsp;dllintel64&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 04:23:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147483#M26826</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-10-30T04:23:04Z</dc:date>
    </item>
    <item>
      <title>Thank you, I've succeeded to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147484#M26827</link>
      <description>&lt;P&gt;Thank you, I've succeeded to build the dll using the command line tool.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 11:10:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Building-a-Custom-Dynamic-link-Library-in-the-Visual-Studio/m-p/1147484#M26827</guid>
      <dc:creator>Shai_E_</dc:creator>
      <dc:date>2017-10-30T11:10:25Z</dc:date>
    </item>
  </channel>
</rss>

