<?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: Re:MacOS + MKL (BLAS) segmentation fault using debug flags in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237341#M30496</link>
    <description>&lt;P&gt;Of course, go ahead and close it. Maybe someone in the same situation as me will find this post by accident when needed.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 05:58:47 GMT</pubDate>
    <dc:creator>Lecris</dc:creator>
    <dc:date>2020-12-15T05:58:47Z</dc:date>
    <item>
      <title>MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235534#M30482</link>
      <description>&lt;P&gt;I have narrowed down an issue when compiling a simple HelloWorld code using debug flags (`-DCMAKE_BUILD_TYPE=Debug`) on MacOS (11.0.1 with XCode 11.7 and Parallel Studio Xe 19.1.2.258 20200623 or XCode 12.2 and OneApi 2021.1.1). I have uploaded my MWE of this issue, and I wish to confirm if it's not miss-configuration on my part.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;iostream&amp;gt;
#include &amp;lt;mkl.h&amp;gt;

int main() {
	double M[10] = {};
	double X[4] = {};
	double Y[4] = {};
	std::cout &amp;lt;&amp;lt; "Trying BLAS operation:" &amp;lt;&amp;lt; std::endl;
//	for (int i = 0; i &amp;lt; 10; i++)
		cblas_dspmv(CblasColMajor, CblasUpper, 4,
		            1.0f, M, X, 1, 0.0f, Y, 1);
	std::cout &amp;lt;&amp;lt; "Success" &amp;lt;&amp;lt; std::endl;
	return 0;
}
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;PS: I had a similar issue on Linux, but I cannot currently reproduce it.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 08:31:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235534#M30482</guid>
      <dc:creator>Lecris</dc:creator>
      <dc:date>2020-12-09T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235537#M30483</link>
      <description>&lt;P&gt;I should add the Segmentation fault error I get is `EXC_BAD_ACCESS (code=EXC_I386_GPFLT)` in the BLAS function, and when the debug mode is turned off the programm runs normally with appropriate results.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 08:35:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235537#M30483</guid>
      <dc:creator>Lecris</dc:creator>
      <dc:date>2020-12-09T08:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235989#M30484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us!&lt;/P&gt;
&lt;P&gt;As your issue is related to MKL and we have a dedicated forum for MKL related issues. So we are redirecting your thread to &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/bd-p/oneapi-math-kernel-library" target="_self"&gt;MKL Forum&lt;/A&gt; for faster response.&lt;/P&gt;
&lt;P&gt;Have a Good day!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Goutham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="highlighter--hover-tools" style="display: none;"&gt;
&lt;DIV id="highlighter--hover-tools--container"&gt;
&lt;DIV class="highlighter--icon highlighter--icon-copy" title="Copy"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--separator"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--icon highlighter--icon-delete" title="Delete"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Dec 2020 11:09:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1235989#M30484</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-12-10T11:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1236272#M30490</link>
      <description>&lt;P&gt;I have found the porblem, and indeed it was a configuration error.&lt;/P&gt;
&lt;P&gt;I was compiling and linking with `ilp64` while still using default `int` parameters. After switching to `lp64` everything works perfectly fine.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 08:24:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1236272#M30490</guid>
      <dc:creator>Lecris</dc:creator>
      <dc:date>2020-12-11T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re:MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237321#M30495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update. Good to know that it worked. Let me know if I can close this thread from my end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2020 05:37:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237321#M30495</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-12-15T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237341#M30496</link>
      <description>&lt;P&gt;Of course, go ahead and close it. Maybe someone in the same situation as me will find this post by accident when needed.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 05:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237341#M30496</guid>
      <dc:creator>Lecris</dc:creator>
      <dc:date>2020-12-15T05:58:47Z</dc:date>
    </item>
    <item>
      <title>Re:MacOS + MKL (BLAS) segmentation fault using debug flags</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237351#M30498</link>
      <description>&lt;P&gt;Thanks for the confirmation. Intel will no longer monitor this thread. Further responses on this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;--Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Dec 2020 06:20:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MacOS-MKL-BLAS-segmentation-fault-using-debug-flags/m-p/1237351#M30498</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-12-15T06:20:39Z</dc:date>
    </item>
  </channel>
</rss>

