<?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 oneAPI MKL manually linking problem in VS2017 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239102#M30539</link>
    <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-subject"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-subject-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="topic-subject-wrapper"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;Hello everybody,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;I'm trying to manually linking the new oneAPI MKL in Visual Studio 2017.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;I noticed the paths changed, so I couldn't use the setting shown at:&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I did is (x64):&lt;/P&gt;
&lt;P&gt;c/c++--&amp;gt;general--&amp;gt;Additional include directories&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\include&lt;/P&gt;
&lt;P&gt;linker--&amp;gt;general--&amp;gt;Additional library directories&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\lib\intel64&lt;/P&gt;
&lt;P&gt;linker--&amp;gt;input--&amp;gt;additional dependencies&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_intel_lp64.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_intel_thread.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_core.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libiomp5md.lib&lt;/P&gt;
&lt;P&gt;I know I'm missing something, as the VS compiler always returns the following error msg: "LNK1104 cannot open file "libiomp5md.lib", but all additional directories I tried to add failed, so please what other directories should I include/link?&lt;/P&gt;
&lt;P&gt;Everything works fine by using the automatic linking option, but I need to make it work this way too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using Visual Studio Community 2017 in Windows 10 (2004).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sun, 20 Dec 2020 11:00:09 GMT</pubDate>
    <dc:creator>di_luca__daniele1</dc:creator>
    <dc:date>2020-12-20T11:00:09Z</dc:date>
    <item>
      <title>oneAPI MKL manually linking problem in VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239102#M30539</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-subject"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-subject-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="topic-subject-wrapper"&gt;
&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;Hello everybody,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;I'm trying to manually linking the new oneAPI MKL in Visual Studio 2017.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="MessageSubject"&gt;&lt;SPAN style="font-family: inherit;"&gt;I noticed the paths changed, so I couldn't use the setting shown at:&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I did is (x64):&lt;/P&gt;
&lt;P&gt;c/c++--&amp;gt;general--&amp;gt;Additional include directories&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\include&lt;/P&gt;
&lt;P&gt;linker--&amp;gt;general--&amp;gt;Additional library directories&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:\Program Files (x86)\Intel\oneAPI\mkl\2021.1.1\lib\intel64&lt;/P&gt;
&lt;P&gt;linker--&amp;gt;input--&amp;gt;additional dependencies&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_intel_lp64.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_intel_thread.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_core.lib&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;libiomp5md.lib&lt;/P&gt;
&lt;P&gt;I know I'm missing something, as the VS compiler always returns the following error msg: "LNK1104 cannot open file "libiomp5md.lib", but all additional directories I tried to add failed, so please what other directories should I include/link?&lt;/P&gt;
&lt;P&gt;Everything works fine by using the automatic linking option, but I need to make it work this way too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm using Visual Studio Community 2017 in Windows 10 (2004).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Dec 2020 11:00:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239102#M30539</guid>
      <dc:creator>di_luca__daniele1</dc:creator>
      <dc:date>2020-12-20T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI MKL manually linking problem in VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239114#M30541</link>
      <description>&lt;P&gt;I see 32-bit and 64-bit versions of libiomp5md.lib in&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...\ONEAPI\compiler\latest\windows\compiler\lib\ia32_win&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;...\ONEAPI\compiler\latest\windows\compiler\lib\intel64_win,&lt;/P&gt;
&lt;P&gt;but those are directories containing components of the Intel Fortran and C compilers.&lt;/P&gt;
&lt;P&gt;The corresponding DLLs are in&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ONEAPI\compiler\latest\windows\redist\ia32_win\compiler&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ONEAPI\compiler\latest\windows\redist\intel64_win\compiler&lt;/P&gt;
&lt;P&gt;If you did not install the OneAPI C++ or Fortran compilers, you will probably need to obtain OpenMP libraries (and DLLs?)&amp;nbsp; from elsewhere, but I have not chosen that route and so I cannot give you specific advice.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 13:13:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239114#M30541</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-12-20T13:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI MKL manually linking problem in VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239141#M30544</link>
      <description>&lt;P&gt;thank you mecej4,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as you said, it works that way by using the OneApi C++, but it doesn't when I try to compile it by using VisualC++, I wonder where I might find those OpenMP missing files elsewhere..&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 16:38:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1239141#M30544</guid>
      <dc:creator>di_luca__daniele1</dc:creator>
      <dc:date>2020-12-20T16:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI MKL manually linking problem in VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1240040#M30566</link>
      <description>&lt;P&gt;There is one problem we detected recently. The standalone version of MKL doesn't contain libiomp5md.lib library (similar to Linux package as well). It might be a reason when Users couldn't build oneMKL based application with OpenMP threading runtime.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is escalated and we will keep this thread updated when the fix will happen.&lt;/P&gt;
&lt;P&gt;As a workaround, the User could take and install &lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html" target="_self"&gt;oneAPI Base toolkit&lt;/A&gt;, install only C/C++ compiler and libiopm5md.lib would be installed on your system.&lt;/P&gt;
&lt;P&gt;-Gennady&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 03:58:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1240040#M30566</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-12-23T03:58:55Z</dc:date>
    </item>
    <item>
      <title>Re:oneAPI MKL manually linking problem in VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1295857#M31665</link>
      <description>&lt;P&gt;The issue is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2021 04:24:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/oneAPI-MKL-manually-linking-problem-in-VS2017/m-p/1295857#M31665</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-07-05T04:24:48Z</dc:date>
    </item>
  </channel>
</rss>

