<?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 Impossible to use MKL in Visual Studio 2017 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Impossible-to-use-MKL-in-Visual-Studio-2017/m-p/1142485#M26420</link>
    <description>&lt;P&gt;Hello, I know that this topic has been widely addressed but in my case I have tried with all the proposed solutions that I have found and no one worked for me. The testing code is the following:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;// ConsoleApplication6.cpp : Defines the entry point for the console application.
#include "stdafx.h"
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include "mkl.h"
#define min(x,y) (((x) &amp;lt; (y)) ? (x) : (y))

int main()
{
	double *A, *B, *C;
	int m, n, k, i, j;
	double alpha, beta;

	m = 2000, k = 200, n = 1000;
	alpha = 1.0; beta = 0.0;
		
	A = new double[m*k];
	B = new double[k*n];
	C = new double[m*n];

	for (i = 0; i &amp;lt; (m*k); i++)
		A&lt;I&gt; = (double)(i + 1);

	for (i = 0; i &amp;lt; (k*n); i++)
		B&lt;I&gt; = (double)(-i - 1);

	for (i = 0; i &amp;lt; (m*n); i++)
		C&lt;I&gt; = 0.0;

	cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
		m, n, k, alpha, A, k, B, n, beta, C, n);

	delete[] A, B, C;

	return 0;
}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;I get the next error:&lt;/P&gt;

&lt;DIV&gt;Severity&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Code&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Description&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Project&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;File&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Line&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Suppression State&lt;/DIV&gt;

&lt;DIV&gt;Error (active)&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;E1696&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;cannot open source file "mkl.h"&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;DIV&gt;&lt;SPAN style="font-size: 1em;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;Error&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;C1083&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;Cannot open include file: 'mkl.h': No such file or directory&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;The program versions are:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Visual Studio Community 2017 15.6.0&lt;/LI&gt;
	&lt;LI&gt;Microsoft .NET Framework 4.7.03056&lt;/LI&gt;
	&lt;LI&gt;Intel MKL 2018.3.210&lt;/LI&gt;
	&lt;LI&gt;Intel C++ Compiler 18.0&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The Intel Performance Library option inside Configuration Properties is set to Sequential but it didn't link correctly.&lt;/P&gt;

&lt;P&gt;I don't know if it could be a compatibility issue between the latest releases of those programs... I will appreciate your responds&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 10:42:02 GMT</pubDate>
    <dc:creator>sanchez_fernandez__a</dc:creator>
    <dc:date>2018-06-19T10:42:02Z</dc:date>
    <item>
      <title>Impossible to use MKL in Visual Studio 2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Impossible-to-use-MKL-in-Visual-Studio-2017/m-p/1142485#M26420</link>
      <description>&lt;P&gt;Hello, I know that this topic has been widely addressed but in my case I have tried with all the proposed solutions that I have found and no one worked for me. The testing code is the following:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;// ConsoleApplication6.cpp : Defines the entry point for the console application.
#include "stdafx.h"
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include "mkl.h"
#define min(x,y) (((x) &amp;lt; (y)) ? (x) : (y))

int main()
{
	double *A, *B, *C;
	int m, n, k, i, j;
	double alpha, beta;

	m = 2000, k = 200, n = 1000;
	alpha = 1.0; beta = 0.0;
		
	A = new double[m*k];
	B = new double[k*n];
	C = new double[m*n];

	for (i = 0; i &amp;lt; (m*k); i++)
		A&lt;I&gt; = (double)(i + 1);

	for (i = 0; i &amp;lt; (k*n); i++)
		B&lt;I&gt; = (double)(-i - 1);

	for (i = 0; i &amp;lt; (m*n); i++)
		C&lt;I&gt; = 0.0;

	cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
		m, n, k, alpha, A, k, B, n, beta, C, n);

	delete[] A, B, C;

	return 0;
}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;I get the next error:&lt;/P&gt;

&lt;DIV&gt;Severity&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Code&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Description&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Project&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;File&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Line&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;Suppression State&lt;/DIV&gt;

&lt;DIV&gt;Error (active)&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;E1696&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;cannot open source file "mkl.h"&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;DIV&gt;&lt;SPAN style="font-size: 1em;"&gt;State&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;Error&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;C1083&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;Cannot open include file: 'mkl.h': No such file or directory&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; white-space: pre;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;The program versions are:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Visual Studio Community 2017 15.6.0&lt;/LI&gt;
	&lt;LI&gt;Microsoft .NET Framework 4.7.03056&lt;/LI&gt;
	&lt;LI&gt;Intel MKL 2018.3.210&lt;/LI&gt;
	&lt;LI&gt;Intel C++ Compiler 18.0&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The Intel Performance Library option inside Configuration Properties is set to Sequential but it didn't link correctly.&lt;/P&gt;

&lt;P&gt;I don't know if it could be a compatibility issue between the latest releases of those programs... I will appreciate your responds&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 10:42:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Impossible-to-use-MKL-in-Visual-Studio-2017/m-p/1142485#M26420</guid>
      <dc:creator>sanchez_fernandez__a</dc:creator>
      <dc:date>2018-06-19T10:42:02Z</dc:date>
    </item>
    <item>
      <title>yes, no all issue with VS2017</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Impossible-to-use-MKL-in-Visual-Studio-2017/m-p/1142486#M26421</link>
      <description>&lt;P&gt;yes, no all issue with VS2017 integration are still resolved for now, but you always may compile and link your mkl based application manaully.Please look at the existing KB Article follow this link -&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc#" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc#&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;and&amp;nbsp; try to follow with the tips:&amp;nbsp;&lt;/SPAN&gt;&lt;A id="manual" name="manual" style="box-sizing: border-box;"&gt;Use Intel® MKL in Microsoft* Visual Studio 2017/2015/2012/2010 - Manually&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 04:30:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Impossible-to-use-MKL-in-Visual-Studio-2017/m-p/1142486#M26421</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-06-20T04:30:28Z</dc:date>
    </item>
  </channel>
</rss>

