<?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: segmentation fault when calling dsyevr in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853846#M6759</link>
    <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
I downloaded and installed build 056, still getting a segmentation fault with a different stack trace:&lt;BR /&gt;&lt;BR /&gt;#0 0x7fb3e3453dc0	dsyevr_() (/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_intel_lp64.so:??)&lt;BR /&gt;#1 0x400ea2	main() (/home/hagai/test/main.cpp:213)&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Oct 2009 09:17:35 GMT</pubDate>
    <dc:creator>hagai_sela</dc:creator>
    <dc:date>2009-10-07T09:17:35Z</dc:date>
    <item>
      <title>segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853844#M6757</link>
      <description>Hi,&lt;BR /&gt;I am getting a segmentation fault when I call dsyevr. I check the parameters and they seem OK (you can see the values at the bottom of the stack trace). Am I missing anything?&lt;BR /&gt;&lt;BR /&gt;#0 0x7f53e4bc0a13	mkl_lapack_dlar1v() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_lapack.so:??)&lt;BR /&gt;#1 0x7f53e64154eb	mkl_lapack_dlar1v() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_core.so:??)&lt;BR /&gt;#2 0x7f53e4bce203	mkl_lapack_dlarrv() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_lapack.so:??)&lt;BR /&gt;#3 0x7f53e6415ea1	mkl_lapack_dlarrv() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_core.so:??)&lt;BR /&gt;#4 0x7f53e4c7766b	mkl_lapack_dstemr() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_lapack.so:??)&lt;BR /&gt;#5 0x7f53e641c0c1	mkl_lapack_dstemr() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_core.so:??)&lt;BR /&gt;#6 0x7f53e4c1e194	mkl_lapack_dsyevr() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_lapack.so:??)&lt;BR /&gt;#7 0x7f53e641c81f	mkl_lapack_dsyevr() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_core.so:??)&lt;BR /&gt;#8 0x7f53e75d87bf	dsyevr_() (/opt/intel/Compiler/11.1/038/mkl/lib/em64t/libmkl_intel_lp64.so:??)&lt;BR /&gt;#9 0x400af3	ldsyevr(JOBZ=86 'V', RANGE=65 'A', UPLO=76 'L', N=7, A=0x1214010, LDA=7, VL=0, VU=0, IL=0, IU=0, ABSTOL=2.2250738585072014e-308, M=0x7fffefa8b0d4, W=0x12141a0, Z=0x12141e0, LDZ=7, ISUPPZ=0x1214370, WORK=0x12143b0, LWORK=182, IWORK=0x1214970, LIWORK=70) (/home/hagai/test/main.cpp:18)&lt;BR /&gt;#10 0x400cbb	main() (/home/hagai/test/main.cpp:70)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Hagai.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2009 18:46:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853844#M6757</guid>
      <dc:creator>hagai_sela</dc:creator>
      <dc:date>2009-10-06T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853845#M6758</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
hagai,&lt;BR /&gt;it seems to me that recently we fixed the similar problem with "dssyevr". this fix available in the latest update2.&lt;BR /&gt;You can find this fix into: MKL v.10.2 Update 2 or &lt;BR /&gt;Intel Compiler Proffesional Edition, version 11.1 for Linux ( build 056 ). For more info about which versions of MKL is shippied with Intel CPE please see the link"http://software.intel.com/en-us/articles/which-version-of-ipp--mkl--tbb-is-installed-with-intel-compiler-professional-edition/"&lt;BR /&gt;&lt;BR /&gt;if the probelm is still there, let us know&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 04:58:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853845#M6758</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-10-07T04:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853846#M6759</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
I downloaded and installed build 056, still getting a segmentation fault with a different stack trace:&lt;BR /&gt;&lt;BR /&gt;#0 0x7fb3e3453dc0	dsyevr_() (/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_intel_lp64.so:??)&lt;BR /&gt;#1 0x400ea2	main() (/home/hagai/test/main.cpp:213)&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 09:17:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853846#M6759</guid>
      <dc:creator>hagai_sela</dc:creator>
      <dc:date>2009-10-07T09:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853847#M6760</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/317867"&gt;hagai_sela&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; I downloaded and installed build 056, still getting a segmentation fault with a different stack trace:&lt;BR /&gt;&lt;BR /&gt;#0 0x7fb3e3453dc0	dsyevr_() (/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_intel_lp64.so:??)&lt;BR /&gt;#1 0x400ea2	main() (/home/hagai/test/main.cpp:213)&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hagai,&lt;BR /&gt;how can we investigate the probelm? Can you get the test case? ( you can the private thread for that).&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 17:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853847#M6760</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-10-07T17:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853848#M6761</link>
      <description>Hi,&lt;BR /&gt;I have no problem releasing the code, the attached code should reproduce it.&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 20:26:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853848#M6761</guid>
      <dc:creator>hagai_sela</dc:creator>
      <dc:date>2009-10-07T20:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853849#M6762</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/317867"&gt;hagai_sela&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;I have no problem releasing the code, the attached code should reproduce it.&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi Hagai,&lt;BR /&gt;&lt;BR /&gt;I'm an MKL LAPACK developer. I've investigated the issue. The problem is that parameters VL, VU, IL, IU are accidentally accessed by dsyevr even though they shouldn't be referenced in case of range='A'. This is a bug and we'll fix it in a future release.&lt;BR /&gt;&lt;BR /&gt;To make dsyevr work just declare dummyvariables for VL, VU, IL, IU:&lt;BR /&gt;&lt;BR /&gt;double vl, vu;&lt;BR /&gt;int il, iu;&lt;BR /&gt;&lt;BR /&gt;and pass them instead of NULL pointer to dsyevr:&lt;BR /&gt;&lt;BR /&gt;&amp;amp;vl, //NULL,&lt;BR /&gt;&amp;amp;vu, //NULL,&lt;BR /&gt;&amp;amp;il, //NULL,&lt;BR /&gt;&amp;amp;iu, //NULL,&lt;BR /&gt;&lt;BR /&gt;This will help.&lt;BR /&gt;&lt;BR /&gt;Thanks for the good testcase.&lt;BR /&gt;&lt;BR /&gt;Michael.</description>
      <pubDate>Thu, 08 Oct 2009 08:07:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853849#M6762</guid>
      <dc:creator>Michael_C_Intel4</dc:creator>
      <dc:date>2009-10-08T08:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853850#M6763</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/317867"&gt;hagai_sela&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;Workaround seems to work. Thanks!&lt;BR /&gt;one more thing - I have a core i7 machine, and I noticed the function doesn't use all 8 cpus when running. I am running it on a 151x151 size matrix. Is this the expected behaviour?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Hagai.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Yes, this is an expected behavior because of the size is very small for to be threaded for 8 core. The reason is treading overhead. You can change the number of thread you are running this application by setting or environment variables or mkl_set_num_threads( number of threads ); Moreover for the small size of input matrix the sequential version may be faster.&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2009 15:14:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853850#M6763</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-10-09T15:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault when calling dsyevr</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853851#M6764</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/317867"&gt;hagai_sela&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I downloaded and installed build 056, still getting a segmentation fault with a different stack trace:&lt;BR /&gt;&lt;BR /&gt;#0 0x7fb3e3453dc0 dsyevr_() (/opt/intel/Compiler/11.1/056/mkl/lib/em64t/libmkl_intel_lp64.so:??)&lt;BR /&gt;#1 0x400ea2 main() (/home/hagai/test/main.cpp:213)&lt;BR /&gt;&lt;BR /&gt;Hagai.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;
&lt;P&gt;Hello Hagai,&lt;BR /&gt;Intel MKL 10.2 Update 3 is now available. The problem discussed into this tread has been fixed into this update.Please see the &lt;STRONG&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=70747"&gt;Intel MKL 10.2 Update 3 is now available&lt;/A&gt;&lt;/STRONG&gt; announce. You can find there the link to the Intel registration center to download.&lt;BR /&gt;Could you please let us know if the problem is still exists? &lt;BR /&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2009 15:40:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segmentation-fault-when-calling-dsyevr/m-p/853851#M6764</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-12-22T15:40:59Z</dc:date>
    </item>
  </channel>
</rss>

