<?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 Re: Custom DLL Build tool in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868225#M8185</link>
    <description>how do I specify the mkl_sequential option in the custom DLL builder? There are only interface, export, name, and xerbla options.&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jan 2008 04:56:01 GMT</pubDate>
    <dc:creator>pat726627</dc:creator>
    <dc:date>2008-01-11T04:56:01Z</dc:date>
    <item>
      <title>Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868223#M8183</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a quick question about the custom DLL build tool in MKL release 10.0 (update 1). I have successfully created a custom DLL with 4 MKL functions (namely DSYEV, DPOTRF, DGEMM, DGESVD) and link it with my own DLL library.&lt;BR /&gt;&lt;BR /&gt;If I want to distribute my library, do I need to include other MKL DLLs as well (such as libguide40.dll) other than the custom built DLL?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 01:37:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868223#M8183</guid>
      <dc:creator>pat726627</dc:creator>
      <dc:date>2008-01-11T01:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868224#M8184</link>
      <description>You should be able to use dumpbin to check for dependencies. If you used mkl_sequential, libguide would certainly not be needed.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 02:15:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868224#M8184</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-11T02:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868225#M8185</link>
      <description>how do I specify the mkl_sequential option in the custom DLL builder? There are only interface, export, name, and xerbla options.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 04:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868225#M8185</guid>
      <dc:creator>pat726627</dc:creator>
      <dc:date>2008-01-11T04:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868226#M8186</link>
      <description>&lt;P&gt;You can specify sequential mkl usage by setting value of "threading" option to "sequential". For more help about custom dll builder tool options, put "nmake help" command in custom dll builder tool folder.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2008 05:34:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868226#M8186</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-01-11T05:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868227#M8187</link>
      <description>Thanks for the quick reply! I have tried out the "threading=sequential" flag in the custom DLL build tool. However the resulting DLL still has a dependency on the libguide40.dll.&lt;BR /&gt;&lt;BR /&gt;The nmake command is:&lt;BR /&gt;&lt;BR /&gt;nmake ia32 interface=cdecl threading=sequential export=mkl_func_list.txt name=mkl_utils&lt;BR /&gt;&lt;BR /&gt;With the corresponding output from the custom builder:&lt;BR /&gt;&lt;BR /&gt;1&amp;gt;Microsoft  Program Maintenance Utility Version 8.00.50727.762&lt;BR /&gt;1&amp;gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;1&amp;gt; if exist .	emp_cdll rd /q /s .	emp_cdll&lt;BR /&gt;1&amp;gt;Microsoft  Library Manager Version 8.00.50727.762&lt;BR /&gt;1&amp;gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;...&lt;BR /&gt;1&amp;gt; link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def .	emp_cdll*.obj ....ia32libmkl_intel_c.lib ....ia32libmkl_intel_thread.lib ....ia32libmkl_core.lib ....ia32libmkl_solver.lib ....ia32liblibguide40.lib msvcrt.lib kernel32.lib user32.lib /out:mkl_utils.dll&lt;BR /&gt;1&amp;gt;Microsoft  Incremental Linker Version 8.00.50727.762&lt;BR /&gt;1&amp;gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;1&amp;gt; Creating library mkl_utils.lib and object mkl_utils.exp&lt;BR /&gt;&lt;BR /&gt;It seems like the custom builder just ignore the threading option, and that can be confirmed by these lines under the "ia32:" section in the makefile:&lt;BR /&gt;&lt;BR /&gt;ia32:&lt;BR /&gt; @echo EXPORTS &amp;gt; user_def_file.def&lt;BR /&gt; ...&lt;BR /&gt; link /DLL /MACHINE:IX86 /NODEFAULTLIB /def:user_def_file.def &lt;BR /&gt; .	emp_cdll*.obj $(xerbla) &lt;BR /&gt; $(IFACE_LIB_32) &lt;BR /&gt; $(mkl32_libpath)mkl_intel_thread.lib &lt;BR /&gt; $(mkl32_libpath)mkl_core.lib &lt;BR /&gt; $(mkl32_libpath)mkl_solver.lib &lt;BR /&gt; $(mkl32_libpath)libguide40.lib &lt;BR /&gt; msvcrt.lib kernel32.lib user32.lib /out:$(name).dll&lt;BR /&gt;&lt;BR /&gt;Of course I can just go ahead and change libguide40.lib to libguide.lib (static version) as well as the mkl_intel_thread.lib in the makefile, but I would like to know if there is a better/right way to correct this problem?&lt;BR /&gt;&lt;BR /&gt;Thank you very much!!&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2008 07:06:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868227#M8187</guid>
      <dc:creator>pat726627</dc:creator>
      <dc:date>2008-01-11T07:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868228#M8188</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;This is a bug in the makefile for the case ia32. We'll fix it in the next MKL release.&lt;/P&gt;
&lt;P&gt;Please, change mkl_intel_thread.lib to mkl_sequential.lib in the target ia32. Also, if you uses sequential MKL, you can remove libguide from the linker command line at all.&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jan 2008 15:36:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868228#M8188</guid>
      <dc:creator>Vladimir_Lunev</dc:creator>
      <dc:date>2008-01-12T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868229#M8189</link>
      <description>Thanks! It is all working now.&lt;BR /&gt;&lt;BR /&gt;Just a related question: what's the different between linking it against mkl_intel_sequential.lib and libguide.lib?&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 00:40:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868229#M8189</guid>
      <dc:creator>pat726627</dc:creator>
      <dc:date>2008-01-14T00:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DLL Build tool</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868230#M8190</link>
      <description>mkl_sequential limits multi-threaded operations to single threaded, stubbing out all OpenMP references, so that libguide is not required. mkl_thread passes parallel operations on to libguide or libiomp.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jan 2008 02:47:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Custom-DLL-Build-tool/m-p/868230#M8190</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-14T02:47:27Z</dc:date>
    </item>
  </channel>
</rss>

