<?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 @Gennady ,Thanks for the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088601#M23076</link>
    <description>&lt;P&gt;@Gennady ,Thanks for the reply&lt;/P&gt;

&lt;P&gt;The version using are&lt;/P&gt;

&lt;P&gt;Windows-&amp;gt;2017.2.187&lt;BR /&gt;
	Unix-&amp;gt;2017.2.174&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2017 07:05:01 GMT</pubDate>
    <dc:creator>cibin_W_</dc:creator>
    <dc:date>2017-04-21T07:05:01Z</dc:date>
    <item>
      <title>intel MKL library working fine in windows but cause "segmentation fault" in unix after the method "mkl_dcsrcoo"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088599#M23074</link>
      <description>&lt;P&gt;I have attached a sample code below:&lt;/P&gt;

&lt;P&gt;&lt;EM style="font-size: 1em;"&gt;&lt;STRONG&gt;main&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 1em;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;=====&lt;BR /&gt;
	int main(int argc, char **argv)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Mat test = makeTestMat(3, 3);&lt;BR /&gt;
	&lt;STRONG&gt;wlsFilter&lt;/STRONG&gt;(test, test);&lt;BR /&gt;
	return 0;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&lt;STRONG&gt;&lt;EM&gt;wlsFilter&lt;/EM&gt;&lt;/STRONG&gt;:&lt;BR /&gt;
	=======&lt;BR /&gt;
	void wlsFilter(Mat&amp;amp; src, Mat&amp;amp; dst, float lambda, float alpha)&lt;BR /&gt;
	{&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; float eps = 2.2204e-11;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; float smallNum = 0.0001;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat L;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; cv::log(src + eps, L);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; int r = src.rows;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; int c = src.cols;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; int k = r*c;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat dy;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; diffy(L, dy);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dy = F(dy, lambda, alpha, smallNum);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; copyMakeBorder(dy, dy, 0, 1, 0, 0, BORDER_CONSTANT, Scalar::all(0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dy = dy.t();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dy = dy.reshape(1, k);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat dx;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; diffx(L, dx);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dx = F(dx, lambda, alpha, smallNum);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; copyMakeBorder(dx, dx, 0, 0, 0, 1, BORDER_CONSTANT, Scalar::all(0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dx = dx.t();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dx = dx.reshape(1, k);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat B = Mat(k, 2, CV_32FC1);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dx.copyTo(B.col(0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; dy.copyTo(B.col(1));&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat e = dx.clone();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Mat w;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; copyMakeBorder(dx, w, r, 0, 0, 0, BORDER_CONSTANT, Scalar::all(0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; w = w.rowRange(0, w.rows - r);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat s = dy.clone();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Mat n;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; copyMakeBorder(dy, n, 1, 0, 0, 0, BORDER_CONSTANT, Scalar::all(0));&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; n = n.rowRange(0, n.rows - 1);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Mat D = 1 - (e + w + s + n);&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;solveSparse_MKL&lt;/STRONG&gt;(src, B, D, r, dst);&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;solveSparse_MKL&lt;/STRONG&gt;&lt;/EM&gt;:&lt;BR /&gt;
	================&lt;BR /&gt;
	void solveSparse_MKL(Mat&amp;amp; img, Mat&amp;amp; B, Mat&amp;amp; D, int r, Mat &amp;amp;dst)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT* i_csr = 0;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT* j_csr = 0;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; double* a_csr = 0;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; _DOUBLE_PRECISION_t* rhs = 0;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; MKL_INT nNonZeros = &lt;STRONG&gt;spDiag2_MKL&lt;/STRONG&gt;(B, -r, -1, D, i_csr, j_csr, a_csr);&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;spDiag2_MKL&lt;/STRONG&gt;&lt;/EM&gt;:&lt;BR /&gt;
	============&lt;BR /&gt;
	int spDiag2_MKL(Mat&amp;amp; B, int d1, int d2, Mat&amp;amp; D, MKL_INT*&amp;amp; i_csr, MKL_INT*&amp;amp; j_csr, double*&amp;amp; a_csr)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT* rowind = 0;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT* colind = 0;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; double* acoo = 0;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; MKL_INT nnz = 0;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; Vec2i off1, off2;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; if (d1 &amp;gt; 0) { off1 = Vec2i(0, d1); }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; else { off1 = Vec2i(-d1, 0); }&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; if (d2 &amp;gt; 0) { off2 = Vec2i(0, d2); }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; else { off2 = Vec2i(-d2, 0); }&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; B.rows; ++i)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i1 = i + off1[0];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int j1 = i + off1[1];&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i2 = i + off2[0];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int j2 = i + off2[1];&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i1 &amp;lt; B.rows &amp;amp;&amp;amp; j1 &amp;lt; B.rows)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nnz++;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i2 &amp;lt; B.rows &amp;amp;&amp;amp; j2 &amp;lt; B.rows)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nnz++;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++nnz;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rowind = new MKL_INT[nnz];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; colind = new MKL_INT[nnz];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; acoo = new double[nnz];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT ind = 0;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; B.rows; ++i)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i1 = i + off1[0];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int j1 = i + off1[1];&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int i2 = i + off2[0];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int j2 = i + off2[1];&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i1 &amp;lt; B.rows &amp;amp;&amp;amp; j1 &amp;lt; B.rows)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (j1 &amp;gt; i1)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowind[ind] = i1 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colind[ind] = j1 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acoo[ind] = B.at&amp;lt;float&amp;gt;(i, 0);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++ind;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowind[ind] = j1 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colind[ind] = i1 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acoo[ind] = B.at&amp;lt;float&amp;gt;(i, 0);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++ind;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i2 &amp;lt; B.rows &amp;amp;&amp;amp; j2 &amp;lt; B.rows)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (j2 &amp;gt; i2)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowind[ind] = i2 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colind[ind] = j2 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acoo[ind] = B.at&amp;lt;float&amp;gt;(i, 1);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++ind;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowind[ind] = j2 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colind[ind] = i2 + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acoo[ind] = B.at&amp;lt;float&amp;gt;(i, 1);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++ind;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowind[ind] = i + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; colind[ind] = i + 1;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; acoo[ind] = D.at&amp;lt;float&amp;gt;(i);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ++ind;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT m = B.rows;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT n = B.rows;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; a_csr = new double[nnz];&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; i_csr = new MKL_INT[m + 1]; // m+1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; j_csr = new MKL_INT[nnz];&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; MKL_INT info;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; MKL_INT job[8] = { 2, // COO to CSR&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1, // 1 based indexing in CSR rows&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1, // 1 based indexing in CSR cols&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0, //&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nnz, // number of the non-zero elements&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0, // job indicator&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; };&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &lt;STRONG&gt;mkl_dcsrcoo&lt;/STRONG&gt;(job, &amp;amp;m, a_csr, j_csr, i_csr, &amp;amp;nnz, acoo, rowind, colind, &amp;amp;info);&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	.&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Description:&lt;/P&gt;

&lt;P&gt;I the above code "&lt;STRONG&gt;&lt;SPAN style="font-weight: 700; font-size: 13.008px;"&gt;mkl_dcsrcoo&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;STRONG&gt;(job, &amp;amp;m, a_csr, j_csr, i_csr, &amp;amp;nnz, acoo, rowind, colind, &amp;amp;info)&lt;/STRONG&gt;;&lt;/SPAN&gt;"&lt;/P&gt;

&lt;P&gt;The values of &lt;STRONG&gt;m,nnz,acoo,rowind,colind&lt;/STRONG&gt; are same in both windows and unix&amp;nbsp;&lt;BR /&gt;
	But the &lt;STRONG&gt;a_csr&lt;/STRONG&gt;,&lt;STRONG&gt;j_csr&lt;/STRONG&gt;,&lt;STRONG&gt;i_csr&lt;/STRONG&gt; values &lt;EM&gt;differs.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Can you pls tell why its differs?&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Before calling the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;"&gt;mkl_dcsrcoo&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;"&gt;the values are same,but after calling the method the values differs,so i hope the issue occurs in the "mkl_dcsrcoo" method.&lt;BR /&gt;
	Pls suggest any solutions?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px;"&gt;CIBIN&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 17:13:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088599#M23074</guid>
      <dc:creator>cibin_W_</dc:creator>
      <dc:date>2017-04-20T17:13:09Z</dc:date>
    </item>
    <item>
      <title>if input results are same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088600#M23075</link>
      <description>&lt;P&gt;if input results are same then the output results have to be the same too for all OS. Could you reduce the case, extract your input date and make the standalone reproducer? we will have a look at the problem.&lt;/P&gt;

&lt;P&gt;and what version of mkl do you use? we will check the list of known issues associated with this routine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 03:36:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088600#M23075</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-04-21T03:36:18Z</dc:date>
    </item>
    <item>
      <title>@Gennady ,Thanks for the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088601#M23076</link>
      <description>&lt;P&gt;@Gennady ,Thanks for the reply&lt;/P&gt;

&lt;P&gt;The version using are&lt;/P&gt;

&lt;P&gt;Windows-&amp;gt;2017.2.187&lt;BR /&gt;
	Unix-&amp;gt;2017.2.174&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 07:05:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088601#M23076</guid>
      <dc:creator>cibin_W_</dc:creator>
      <dc:date>2017-04-21T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Sorry, that is not enough</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088602#M23077</link>
      <description>&lt;P&gt;Sorry, that is not enough information to run your code. You should provide code with no ellipses (missing code lines indicated by dots), and your code should contain all the declarations and #include lines necessary to make it compilable.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 09:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088602#M23077</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2017-04-21T09:51:07Z</dc:date>
    </item>
    <item>
      <title>The minimal source is :</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088603#M23078</link>
      <description>&lt;P&gt;The minimal source is :&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;code:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;#include "iostream"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #include "stdio.h"&lt;BR /&gt;
	#include &amp;lt;vector&amp;gt;&lt;/P&gt;

&lt;P&gt;#include "mkl_service.h"&lt;BR /&gt;
	#include "mkl_pardiso.h"&lt;BR /&gt;
	#include "mkl_types.h"&lt;BR /&gt;
	#include "mkl_dss.h"&lt;BR /&gt;
	#include "mkl_types.h"&lt;BR /&gt;
	#include "mkl_spblas.h"&lt;/P&gt;

&lt;P&gt;using namespace std;&lt;BR /&gt;
	using std::vector;&lt;/P&gt;

&lt;P&gt;//-----------------------------------------------------------------------------------------------------&lt;BR /&gt;
	//&lt;BR /&gt;
	//-----------------------------------------------------------------------------------------------------&lt;BR /&gt;
	void solveSparse_MKL()&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; _DOUBLE_PRECISION_t rhs[9] = { 0,0.333333,0.666667,0.111111,0.444444,0.777778,0.222222,0.555556,0.888889 };&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT nnz = 23;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT nRows = 9;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT nCols = 9;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT nRhs = 1;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT rhs_len = 9;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; double acoo[] = { -0.0537308, -0.0512116, 1.10494, -4.17055, -1.73111, 6.95287, -7.78207, 0, 10.5132, -1.73111, -0.865586, 3.65043, -5.3765, -2.14414, 13.5568, -8.98329, 0, 19.9095, -1.30956, 4.04067, -2.5529, 10.239, 12.5362 };&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT rowind[] = { 1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,8,8,9 };&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT colind[] = { 4, 2, 1, 5, 3, 2, 6, 4, 3, 7, 5, 4, 8, 6, 5, 9, 7, 6, 8, 7, 9, 8, 9 };&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT info;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT job[8] = { 2, // COO to CSR&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, // 1 based indexing in CSR rows&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, // 1 based indexing in CSR cols&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, //&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nnz, // number of the non-zero elements&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0, // job indicator&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT* i_csr = new MKL_INT[nCols + 1]; // m+1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT* j_csr = new MKL_INT[nnz];&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; double* a_csr = new double[nnz];&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkl_dcsrcoo(job, &amp;amp;nCols, a_csr, j_csr, i_csr, &amp;amp;nnz, acoo, rowind, colind, &amp;amp;info);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _DOUBLE_PRECISION_t* solValues = new _DOUBLE_PRECISION_t[rhs_len];&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Allocate storage for the solver handle and the right-hand side.&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; _MKL_DSS_HANDLE_t handle = 0;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; _INTEGER_t error;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT opt = MKL_DSS_DEFAULTS;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT sym = MKL_DSS_SYMMETRIC;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; MKL_INT type = MKL_DSS_POSITIVE_DEFINITE;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ---------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialize the solver&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ---------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_create(handle, opt);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // -------------------------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Define the non-zero structure of the matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // -------------------------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_define_structure(handle, sym, i_csr, nRows, nCols, j_csr, nnz);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Reorder the matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_reorder(handle, opt, 0);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Factor the matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_factor_real(handle, type, a_csr);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Get the solution vector &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // ------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_solve_real(handle, opt, rhs, nRhs, solValues);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt; "------------------------------" &amp;lt;&amp;lt; endl;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt; "solution " &amp;lt;&amp;lt; endl;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt; "------------------------------" &amp;lt;&amp;lt; endl;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int j = 0; j &amp;lt; rhs_len; ++j)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt; solValues&lt;J&gt; &amp;lt;&amp;lt; endl;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // --------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // Deallocate solver storage &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // --------------------------&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; error = dss_delete(handle, opt);&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (error != MKL_DSS_SUCCESS)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Solver returned error code %d\n", error);&lt;/J&gt;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; delete[] a_csr;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; delete[] i_csr;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; delete[] j_csr;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; delete[] solValues;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;//-----------------------------------------------------------------------------------------------------&lt;BR /&gt;
	// &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&lt;BR /&gt;
	//-----------------------------------------------------------------------------------------------------&lt;BR /&gt;
	int main(void)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; solveSparse_MKL();&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; getchar();&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;
	}&lt;BR /&gt;
	// c:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\examples\examples_core_c.zip\&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Expected result:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;------------------------------&lt;BR /&gt;
	solution&lt;BR /&gt;
	------------------------------&lt;BR /&gt;
	0.0384921&lt;BR /&gt;
	0.494602&lt;BR /&gt;
	0.582386&lt;BR /&gt;
	0.320155&lt;BR /&gt;
	0.502434&lt;BR /&gt;
	0.591085&lt;BR /&gt;
	0.358512&lt;BR /&gt;
	0.513289&lt;BR /&gt;
	0.598997&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Get the expected result in Windows,but in ubuntu it gives &lt;STRONG&gt;"segmentation fault"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 11:49:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088603#M23078</guid>
      <dc:creator>cibin_W_</dc:creator>
      <dc:date>2017-04-21T11:49:33Z</dc:date>
    </item>
    <item>
      <title>I see no problem with RH7.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088604#M23079</link>
      <description>&lt;P&gt;I see no problem with RH7.&lt;/P&gt;

&lt;P&gt;./u731522]$ ./a.out&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20160801&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Advanced Vector Extensions (Intel(R) AVX) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;------------------------------&lt;BR /&gt;
	solution&lt;BR /&gt;
	------------------------------&lt;BR /&gt;
	0.0384921&lt;BR /&gt;
	0.494602&lt;BR /&gt;
	0.582386&lt;BR /&gt;
	0.320155&lt;BR /&gt;
	0.502434&lt;BR /&gt;
	0.591085&lt;BR /&gt;
	0.358512&lt;BR /&gt;
	0.513289&lt;BR /&gt;
	0.598997&lt;/P&gt;

&lt;P&gt;How did you link the case?&lt;/P&gt;

&lt;P&gt;Could you get more details about your OS?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could you add&amp;nbsp;&lt;SPAN style="font-size: 16.26px;"&gt;&amp;nbsp;&amp;nbsp; mkl_get_version(&amp;amp;Version); &amp;nbsp;routine and show the output?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;--Gennady&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 05:15:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088604#M23079</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-04-24T05:15:09Z</dc:date>
    </item>
    <item>
      <title>mkl_get_version(&amp;Version):</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088605#M23080</link>
      <description>&lt;P&gt;mkl_get_version(&amp;amp;Version):&lt;/P&gt;

&lt;P&gt;====================&lt;/P&gt;

&lt;P&gt;Major version: 2017&lt;BR /&gt;
	Minor version: 0&lt;BR /&gt;
	Update version: 2&lt;BR /&gt;
	Product status: Product&lt;BR /&gt;
	Build: 20170126&lt;BR /&gt;
	Platform: Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: Intel(R) Streaming SIMD Extensions 2 (Intel(R) SSE2) enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;Os details:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2017-05-03 15:32:08.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9501i15E22B9A86F4CBBB/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot from 2017-05-03 15:32:08.png" alt="Screenshot from 2017-05-03 15:32:08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 10:05:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088605#M23080</guid>
      <dc:creator>cibin_W_</dc:creator>
      <dc:date>2017-05-03T10:05:14Z</dc:date>
    </item>
    <item>
      <title>I linked using:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088606#M23081</link>
      <description>&lt;P&gt;I linked and generated exe using:&lt;/P&gt;

&lt;P&gt;========================&lt;/P&gt;

&lt;P&gt;1--&amp;gt;g++ -std=c++11 -DMKL_ILP64 -m64 -I/include -c -O2 -Iinclude -Iinclude/opencv -Iinclude/opencv2 -Iboost -Iboost/boost -Idlib/include -Itbb/include -I/opt/intel/compilers_and_libraries/linux/mkl/include -I. -MMD -MP -MF "build/Release/GNU-Linux/main.o.d" -c main.cpp&lt;BR /&gt;
	2--&amp;gt;g++ -o test main.o -L${MKLROOT}/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_tbb_thread -lmkl_core -ltbb -lstdc++ -lpthread -lm -ldl&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 10:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088606#M23081</guid>
      <dc:creator>cibin_W_</dc:creator>
      <dc:date>2017-05-03T10:42:00Z</dc:date>
    </item>
    <item>
      <title>I see no problems with the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088607#M23082</link>
      <description>&lt;P&gt;I see no problems with the same conditions: MKL 2017 u2, ilp64 mode, tbb layer, SS2 ISA. &amp;nbsp;But I used RH7.&lt;/P&gt;

&lt;P&gt;pls see output below.&lt;/P&gt;

&lt;P&gt;g++ &lt;STRONG&gt;-DMKL_ILP64&lt;/STRONG&gt; -m64 -I/opt/intel/compilers_and_libraries_2017/mkl/include mkl_dcsrcoo_test.cpp &amp;nbsp;\&lt;BR /&gt;
	-L/opt/intel/compilers_and_libraries_2017/mkl/lib/intel64/lib/intel64 \&lt;BR /&gt;
	-Wl,--no-as-needed -lmkl_intel_&lt;STRONG&gt;ilp64&lt;/STRONG&gt; -lmkl_&lt;STRONG&gt;tbb&lt;/STRONG&gt;_thread -lmkl_core -ltbb -lstdc++ -lpthread -lm -ldl&lt;BR /&gt;
	.....]$ ./a.out&lt;BR /&gt;
	Major version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2017&lt;BR /&gt;
	Minor version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	Update version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;
	Product status: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Product&lt;BR /&gt;
	Build: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20170126&lt;BR /&gt;
	Platform: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Intel(R) 64 architecture&lt;BR /&gt;
	Processor optimization: &amp;nbsp;Intel(R) Streaming SIMD Extensions 2 (&lt;STRONG&gt;Intel(R) SSE2)&lt;/STRONG&gt; enabled processors&lt;BR /&gt;
	================================================================&lt;/P&gt;

&lt;P&gt;------------------------------&lt;BR /&gt;
	solution&lt;BR /&gt;
	------------------------------&lt;BR /&gt;
	0.0384921&lt;BR /&gt;
	0.494602&lt;BR /&gt;
	0.582386&lt;BR /&gt;
	0.320155&lt;BR /&gt;
	0.502434&lt;BR /&gt;
	0.591085&lt;BR /&gt;
	0.358512&lt;BR /&gt;
	0.513289&lt;BR /&gt;
	0.598997&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 08:41:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/intel-MKL-library-working-fine-in-windows-but-cause-quot/m-p/1088607#M23082</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-05-18T08:41:24Z</dc:date>
    </item>
  </channel>
</rss>

