<?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 Compile and Run executable with Intel Parallel Studio in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compile-and-Run-executable-with-Intel-Parallel-Studio/m-p/1076079#M22568</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I compiled an executable using Visual Studio Community 2015 with Intel Parallel Studio XE 2016 (Student License).&lt;/P&gt;

&lt;P&gt;Very interesting, if set Use Intel MKL as "sequential" in Configuration Properties-&amp;gt;Intel Performance Libraries-&amp;gt;Intel Math Kernel Library, then it runs normally. If I set it as No, then it gives me an application error "0xc000007b".&lt;/P&gt;

&lt;P&gt;Even confusing, if I compiled the codes by setting it as&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;"sequential", when I double click the executable, it gives me same above application error. Note that I have set the environment variable:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\redist\ia32\mkl&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Anybody has a clue on how to successfully run the executable?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2016 22:20:35 GMT</pubDate>
    <dc:creator>wei_t_</dc:creator>
    <dc:date>2016-04-05T22:20:35Z</dc:date>
    <item>
      <title>Compile and Run executable with Intel Parallel Studio</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compile-and-Run-executable-with-Intel-Parallel-Studio/m-p/1076079#M22568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I compiled an executable using Visual Studio Community 2015 with Intel Parallel Studio XE 2016 (Student License).&lt;/P&gt;

&lt;P&gt;Very interesting, if set Use Intel MKL as "sequential" in Configuration Properties-&amp;gt;Intel Performance Libraries-&amp;gt;Intel Math Kernel Library, then it runs normally. If I set it as No, then it gives me an application error "0xc000007b".&lt;/P&gt;

&lt;P&gt;Even confusing, if I compiled the codes by setting it as&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;"sequential", when I double click the executable, it gives me same above application error. Note that I have set the environment variable:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\redist\ia32\mkl&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Anybody has a clue on how to successfully run the executable?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2016 22:20:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compile-and-Run-executable-with-Intel-Parallel-Studio/m-p/1076079#M22568</guid>
      <dc:creator>wei_t_</dc:creator>
      <dc:date>2016-04-05T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Hi Wei, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compile-and-Run-executable-with-Intel-Parallel-Studio/m-p/1076080#M22569</link>
      <description>&lt;P&gt;Hi Wei,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could you please send the small test case or the exe to us so we can see what wrong?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;According to your message , &amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;If I set it as No, then it gives me an application error. &amp;nbsp;generally,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;If I set it as No, then it gives me an application error . &amp;nbsp;Generally, if mkl is not linked, you should get the compilation error, like&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;mkl.h is not found&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;or &amp;nbsp;below&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1&amp;gt;------ Build started: Project: matrix_multiplication_c, Configuration: Debug Win32 ------&lt;BR /&gt;
	1&amp;gt;dgemm_with_timing.obj : error LNK2019: unresolved external symbol _cblas_dgemm referenced in function _main&lt;BR /&gt;
	1&amp;gt;dgemm_with_timing.obj : error LNK2019: unresolved external symbol _dsecnd referenced in function _main&lt;BR /&gt;
	1&amp;gt;dgemm_with_timing.obj : error LNK2019: unresolved external symbol _MKL_malloc referenced in function _main&lt;BR /&gt;
	1&amp;gt;dgemm_with_timing.obj : error LNK2019: unresolved external symbol _MKL_free referenced in function _main&lt;BR /&gt;
	1&amp;gt;C:\Users\yhu5\Desktop\11.3\matrix_multiplication_c\Debug\matrix_multiplication_c.exe : fatal error LNK1120: 4 unresolved externals&lt;/P&gt;

&lt;P&gt;There is one C and fortran sample code under MKL install forder, for example, &amp;nbsp;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.2.180\windows\mkl\samples. You can build it as test case. &amp;nbsp;or&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I attach one, could you please try it and let me know the output when compile. with or without&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;"sequential"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 05:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compile-and-Run-executable-with-Intel-Parallel-Studio/m-p/1076080#M22569</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-04-06T05:35:07Z</dc:date>
    </item>
  </channel>
</rss>

