<?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 with DSYEVD in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-with-DSYEVD/m-p/915164#M12505</link>
    <description>&lt;P&gt;It seems to be an issue with loading BLAS function dynamically. What is the link line?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Michael.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2008 14:00:07 GMT</pubDate>
    <dc:creator>Michael_C_Intel4</dc:creator>
    <dc:date>2008-04-30T14:00:07Z</dc:date>
    <item>
      <title>Segmentation Fault with DSYEVD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-with-DSYEVD/m-p/915163#M12504</link>
      <description>A segmentation fault occurs when I run following simple c code complied by dynamically on using MKL libraries on Linux:&lt;BR /&gt;&lt;BR /&gt; int n=3;&lt;BR /&gt; double a[9]={1, 0.2, 0.1,&lt;BR /&gt;   0.2, 1.1, 0.05,&lt;BR /&gt;   0.1, 0.05, 0.9};&lt;BR /&gt; &lt;BR /&gt; double eigval[3];&lt;BR /&gt; &lt;BR /&gt; double work[37];&lt;BR /&gt; int lwork=37;&lt;BR /&gt;&lt;BR /&gt; int iwork[18];&lt;BR /&gt; int liwork=18;&lt;BR /&gt;&lt;BR /&gt; int info=0;&lt;BR /&gt;  &lt;BR /&gt; DSYEVD("V","U", &amp;amp;n, a, &amp;amp;n, eigval, work, &amp;amp;lwork, iwork, &amp;amp;liwork, &amp;amp;info);&lt;BR /&gt;&lt;BR /&gt;I am using BLAS functions with dynamic access to libs with no problem, only the LAPACK function does not work. However, the static usage of the code is working properly.&lt;BR /&gt;&lt;BR /&gt;Here is what I get when running valgrind:&lt;BR /&gt;&lt;BR /&gt;==21353== Jump to the invalid address stated on the next line&lt;BR /&gt;==21353== at 0x0: ???&lt;BR /&gt;==21353== by 0x4209925: mkl_lapack_dsytd2 (in /opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so)&lt;BR /&gt;==21353== by 0x437C49F: mkl_lapack_xdsytrd (in /opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so)&lt;BR /&gt;==21353== by 0x40427FFF: ???&lt;BR /&gt;==21353== Address 0x0 is not stack'd, malloc'd or (recently) free'd&lt;BR /&gt;==21353== &lt;BR /&gt;==21353== Process terminating with default action of signal 11 (SIGSEGV)&lt;BR /&gt;==21353== Bad permissions for mapped region at address 0x0&lt;BR /&gt;==21353== at 0x0: ???&lt;BR /&gt;==21353== by 0x4209925: mkl_lapack_dsytd2 (in /opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so)&lt;BR /&gt;==21353== by 0x437C49F: mkl_lapack_xdsytrd (in /opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so)&lt;BR /&gt;==21353== by 0x40427FFF: ???&lt;BR /&gt;==21353== &lt;BR /&gt;</description>
      <pubDate>Sun, 02 Mar 2008 17:49:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-with-DSYEVD/m-p/915163#M12504</guid>
      <dc:creator>jjaffari</dc:creator>
      <dc:date>2008-03-02T17:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault with DSYEVD</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-with-DSYEVD/m-p/915164#M12505</link>
      <description>&lt;P&gt;It seems to be an issue with loading BLAS function dynamically. What is the link line?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Michael.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:00:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-with-DSYEVD/m-p/915164#M12505</guid>
      <dc:creator>Michael_C_Intel4</dc:creator>
      <dc:date>2008-04-30T14:00:07Z</dc:date>
    </item>
  </channel>
</rss>

