<?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 dstegr function causes segmentation fault in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833209#M5812</link>
    <description>Hello, we have finally reproduced the problem and has already found the cause of the problem. The problem escalated and would be fixed soon. I will let you know when the fix would be availble.&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
    <pubDate>Thu, 28 Apr 2011 06:59:43 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2011-04-28T06:59:43Z</dc:date>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833193#M5796</link>
      <description>My colleague and I tested a very simple program using 'dstegr' in MKL, but we found that the functions seems to be not good at all. The code is here...&lt;BR /&gt;&lt;PRE&gt;[cpp]#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;#include &lt;MKL_LAPACK.H&gt;&lt;BR /&gt;&lt;BR /&gt;#define N 2000&lt;BR /&gt;&lt;BR /&gt;int main(int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt; char jobz='V', range='I';&lt;BR /&gt; MKL_INT n=N;&lt;BR /&gt; double d&lt;N&gt;, e&lt;N&gt;;&lt;BR /&gt; double vl=0.0, vu=0.1, abstol=0.000001;&lt;BR /&gt; MKL_INT il=1, iu=10, m=0, ldz=N;&lt;BR /&gt; double w&lt;N&gt;, z[N*N], work[18*N];&lt;BR /&gt; MKL_INT isuppz[2*N], iwork[10*N];&lt;BR /&gt; MKL_INT liwork=10*N, lwork=18*N;&lt;BR /&gt; MKL_INT info=0;&lt;BR /&gt;&lt;BR /&gt; double duration;&lt;BR /&gt; MKL_INT i;&lt;BR /&gt; clock_t start, finish;&lt;BR /&gt;&lt;BR /&gt; for(i=0;i&lt;N&gt;&lt;/N&gt; {&lt;BR /&gt; d&lt;I&gt;=4.0;&lt;BR /&gt; e&lt;I&gt;=1.0;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; start = clock();&lt;BR /&gt;&lt;BR /&gt; dstegr_(&amp;amp;jobz,&amp;amp;range,&amp;amp;n,d,e,&amp;amp;vl,&amp;amp;vu,&amp;amp;il,&amp;amp;iu,&amp;amp;abstol,&amp;amp;m,w,z,&amp;amp;ldz,isuppz,work,&amp;amp;lwork,iwork,&amp;amp;liwork,&amp;amp;info);&lt;BR /&gt;&lt;BR /&gt; finish = clock();&lt;BR /&gt; duration = (double)(finish - start) / CLOCKS_PER_SEC;&lt;BR /&gt; printf( "%f seconds\n", duration );&lt;BR /&gt;&lt;BR /&gt; for(i=0;i&amp;lt;10;i++)&lt;BR /&gt; printf("%.8f:%f:%.8f\n",d&lt;I&gt;,e&lt;I&gt;,w&lt;I&gt;);&lt;BR /&gt;&lt;BR /&gt; return(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;[/cpp]&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/N&gt;&lt;/N&gt;&lt;/N&gt;&lt;/MKL_LAPACK.H&gt;&lt;/TIME.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;&lt;/PRE&gt; &lt;BR /&gt;When using dynamic linking with either ilp64 or lp64 interface, segmentation fault will always come out.&lt;BR /&gt;When using static linking with ilp64 interface, it seemed to be ok.&lt;BR /&gt;When using static linking with lp64 interface, on different platforms, things are also different:&lt;BR /&gt;&lt;BR /&gt; In a Xeon 5450 32G RHEL5.1 machine with Intel 11.0.083 C++ compiler and 10.1.1.019 MKL, when using lp64 interfaces, codes could be run, but segmentation fault occered when return from the function which called "dstegr".&lt;BR /&gt;&lt;BR /&gt;Gdb shows:&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;0x0000000000000001 in ?? ()&lt;BR /&gt;&lt;BR /&gt;and valgrind shows:&lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x40198A: main (tri.c:9)&lt;BR /&gt;==3255== Address 0x7FEFFF0F8 is on thread 1's stack&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x4019A5: main (tri.c:13)&lt;BR /&gt;==3255== Address 0x7FEFFF0E0 is on thread 1's stack&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x4019B3: main (tri.c:13)&lt;BR /&gt;==3255== Address 0x7FEFFF0E8 is on thread 1's stack&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x4019BF: main (tri.c:13)&lt;BR /&gt;==3255== Address 0x7FEFFF0F0 is on thread 1's stack&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x401A05: main (tri.c:26)&lt;BR /&gt;==3255== Address 0x7FEFFB260 is on thread 1's stack&lt;BR /&gt;==3255== Stack overflow in thread 1: can't grow stack to 0x7FEFFB260&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Process terminating with default action of signal 11 (SIGSEGV)&lt;BR /&gt;==3255== Access not within mapped region at address 0x7FEFFB260&lt;BR /&gt;==3255== at 0x401A05: main (tri.c:26)&lt;BR /&gt;==3255== &lt;BR /&gt;==3255== Invalid write of size 8&lt;BR /&gt;==3255== at 0x48022D8: _vgnU_freeres (vg_preloaded.c:56)&lt;BR /&gt;==3255== Address 0x7FD111158 is on thread 1's stack&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; In other two machines, one is Xeon 5504 RHEL 5.3 with Intel 11.1 compiler and 10.2 MKL, another is Xeon EX-4870 RHEL 6 with Intel parallel studio XE 2011, using lp64 will also cause segmentatoin fault, and the function seemed not run. Gdb gave the information below:&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;0x0000000000411b57 in mkl_lapack_dlar1v ()&lt;BR /&gt;&lt;BR /&gt;We ran the code OK with the netlib LAPACK lib, so we thought the function in MKL is not correct implemented. Could this issue be confirmed and fixed soon?</description>
      <pubDate>Wed, 27 Apr 2011 02:56:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833193#M5796</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T02:56:07Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833194#M5797</link>
      <description>&lt;DIV&gt;???&lt;/DIV&gt;&lt;DIV&gt;I don't think this is the MKL's problem.&lt;/DIV&gt;&lt;DIV&gt;You can try to allocate the all working arrays dynamically&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;( for example&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;double* w = (double*) malloc( N * sizeof(double) );insted ofdoublew&lt;N&gt;,z[N*N]) and check how it will work.&lt;/N&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2011 03:31:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833194#M5797</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-04-27T03:31:52Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833195#M5798</link>
      <description>You are running out of stack. With N=2000, you require a stack of about 40 Mbytes. &lt;BR /&gt;&lt;BR /&gt;If you compile with the /F40000000 option, your code will run without errors on Windows. Find out how to adjust the maximum run-time stack for your OS.&lt;BR /&gt;&lt;BR /&gt;If you change N, you will have to recompute how much stack is required, and specify that to the compiler. &lt;BR /&gt;&lt;BR /&gt;Gennady's suggestion is better in the long run.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2011 07:13:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833195#M5798</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-04-27T07:13:36Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833196#M5799</link>
      <description>In fact, we used dynamic memory allocation at first. While we met the segmentation fault, we changed the code to static arrays. So we don't think changing memory allocation mode will give us any help.</description>
      <pubDate>Wed, 27 Apr 2011 08:00:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833196#M5799</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T08:00:03Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833197#M5800</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=334681" class="basic" href="https://community.intel.com/en-us/profile/334681/"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV&gt;???&lt;/DIV&gt;&lt;DIV&gt;I don't think this is the MKL's problem.&lt;/DIV&gt;&lt;DIV&gt;You can try to allocate the all working arrays dynamically&lt;SPAN style="font-family: Verdana,Arial,Helvetica,sans-serif;"&gt;( for example&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;double* w = (double*) malloc( N * sizeof(double) );insted ofdoublew&lt;N&gt;,z[N*N]) and check how it will work.&lt;/N&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;In fact, we used dynamic memory allocation at first. While we met the segmentation fault, we changed the code to static arrays. So we don't think changing memory allocation mode will give us any help.</description>
      <pubDate>Wed, 27 Apr 2011 08:00:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833197#M5800</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T08:00:12Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833198#M5801</link>
      <description>In this case, which version of MKL do you use? and Could you give us your linking line?&lt;DIV&gt;we will try to reproduce the problem with dynamically allocated arrays.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:16:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833198#M5801</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-04-27T08:16:49Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833199#M5802</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" class="basic" href="https://community.intel.com/en-us/profile/9662/"&gt;mecej4&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;You are running out of stack. With N=2000, you require a stack of about 40 Mbytes. &lt;BR /&gt;&lt;BR /&gt;If you compile with the /F40000000 option, your code will run without errors on Windows. Find out how to adjust the maximum run-time stack for your OS.&lt;BR /&gt;&lt;BR /&gt;If you change N, you will have to recompute how much stack is required, and specify that to the compiler. &lt;BR /&gt;&lt;BR /&gt;Gennady's suggestion is better in the long run.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have changed my code again in dynamic allocation mode, like this:&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;[bash]#include &lt;STDLIB.H&gt;
#include &lt;TIME.H&gt;
#include &lt;MKL_LAPACK.H&gt;

#define N 2000

int main(int argc, char *argv[])
{
    char jobz='V', range='I';
    double *d, *e, *w, *z, *work;
    double vl=0.0, vu=0.1, abstol=0.000001;
    MKL_INT n=N, il=1, iu=10, m=0, ldz=N, info=0;
    MKL_INT *isuppz, *iwork, liwork=10*N, lwork=18*N;

    double duration;
    MKL_INT i;
    clock_t start, finish;

    d=(double*)malloc(N*sizeof(double));
    e=(double*)malloc(N*sizeof(double));
    w=(double*)malloc(N*sizeof(double));
    z=(double*)malloc(N*N*sizeof(double));
    work=(double*)malloc(18*N*sizeof(double));
    iwork=(MKL_INT *)malloc(10*N*sizeof(MKL_INT));
    isuppz=(MKL_INT *)malloc(2*N*sizeof(MKL_INT));

    for(i=0;i&lt;N&gt;=4.0;
        e&lt;I&gt;=1.0;
    }

    start = clock();

    dstegr_(&amp;amp;jobz,&amp;amp;range,&amp;amp;n,d,e,&amp;amp;vl,&amp;amp;vu,&amp;amp;il,&amp;amp;iu,&amp;amp;abstol,&amp;amp;m,w,z,&amp;amp;ldz,isuppz,work,&amp;amp;lwork,iwork,&amp;amp;liwork,&amp;amp;info);

    finish = clock(); 
    duration = (double)(finish - start) / CLOCKS_PER_SEC; 
    printf( "%f secondsn", duration ); 

    for(i=0;i&amp;lt;10;i++)
    printf("%.8f:%f:%.8fn",d&lt;I&gt;,e&lt;I&gt;,w&lt;I&gt;);

    free(isuppz);
    free(iwork);
    free(work);
    free(z);
    free(w);
    free(d);
    free(e);
    return(0);
}

&lt;BR /&gt;[/bash]&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/N&gt;&lt;/MKL_LAPACK.H&gt;&lt;/TIME.H&gt;&lt;/STDLIB.H&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;compile the code: &lt;BR /&gt;
icc -g -o tri tri.c -I$MKLROOT/include -L$MKLROOT/lib/em64t
-Wl,-Bstatic -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5
-lpthread&lt;BR /&gt;
&lt;BR /&gt;
then run again:&lt;BR /&gt;
0.010000 seconds&lt;BR /&gt;
1.99999754:0.500001:2.00000246&lt;BR /&gt;
1.49999692:0.666668:2.00000986&lt;BR /&gt;
1.33332950:0.750002:2.00002218&lt;BR /&gt;
1.24999538:0.800003:2.00003944&lt;BR /&gt;
1.19999458:0.833337:2.00006162&lt;BR /&gt;
1.16666044:0.857147:2.00008874&lt;BR /&gt;
1.14285010:0.875005:2.00012078&lt;BR /&gt;
1.12499215:0.888895:2.00015775&lt;BR /&gt;
1.11110244:0.900007:2.00019966&lt;BR /&gt;
1.09999051:0.909099:2.00024649&lt;BR /&gt;
Segmentation fault&lt;BR /&gt;
&lt;BR /&gt;
Even if I added a printf before the return function of the program, the info CAN be prinited out correctly.&lt;BR /&gt;
I guess the function made some modification in the stack, so functions cann't return normally.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833199#M5802</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T08:18:21Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833200#M5803</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=334681" class="basic" href="https://community.intel.com/en-us/profile/334681/"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;In this case, which version of MKL do you use? and Could you give us your linking line?&lt;DIV&gt;we will try to reproduce the problem with dynamically allocated arrays.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;We have 3 platforms.&lt;BR /&gt;&lt;BR /&gt;Xeon 5450 / 32G / RHEL5.1 / Intel 11.0.083 compiler / 10.1.1.019 MKL&lt;BR /&gt; on this machine, codes can get computaiton result while using static library.&lt;BR /&gt;&lt;BR /&gt;Xeon 5504 / 4G / RHEL 5.3 / Intel 11.1 compiler / 10.2 MKL&lt;BR /&gt;Xeon E7-4870 / 128G / RHEL 6 / Intel parallel studio XE 2011&lt;BR /&gt; on these two machines, codes can not get any result and report segmentation fault directly.&lt;BR /&gt;&lt;BR /&gt;Before we ran the program, we had already set the memory limit and the stack limit to "unlimited".</description>
      <pubDate>Wed, 27 Apr 2011 08:28:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833200#M5803</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T08:28:26Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833201#M5804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've reproduced your problem even with N=200 (the same problem for static and dynamic MKL libraries)&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;0x0000000000411e57 in mkl_lapack_dlar1v ()&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0 0x0000000000411e57 in mkl_lapack_dlar1v ()&lt;BR /&gt;#1 0x0000000000407883 in mkl_lapack_dlarrv ()&lt;BR /&gt;#2 0x0000000000404ab0 in mkl_lapack_dstemr ()&lt;BR /&gt;#3 0x00000000004029b9 in mkl_lapack_dstegr ()&lt;BR /&gt;#4 0x000000000040252c in dstegr_ ()&lt;BR /&gt;#5 0x0000000000402176 in main (argc=1, argv=0x7fff985e4068) at dsteqr+.c:35&lt;BR /&gt;&lt;BR /&gt;But your linking line is not fully correct&lt;BR /&gt;&lt;BR /&gt;icc -g -o tri tri.c -I$MKLROOT/include -L$MKLROOT/lib/em64t -Wl,-Bstatic -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread&lt;BR /&gt;&lt;BR /&gt;Pleasetry &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Link Line Advisor&lt;/A&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833201#M5804</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-04-27T08:39:46Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833202#M5805</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=93649" class="basic" href="https://community.intel.com/en-us/profile/93649/"&gt;Victor Pasko (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I've reproduced your problem even with N=200 (the same problem for static and dynamic MKL libraries)&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;0x0000000000411e57 in mkl_lapack_dlar1v ()&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0 0x0000000000411e57 in mkl_lapack_dlar1v ()&lt;BR /&gt;#1 0x0000000000407883 in mkl_lapack_dlarrv ()&lt;BR /&gt;#2 0x0000000000404ab0 in mkl_lapack_dstemr ()&lt;BR /&gt;#3 0x00000000004029b9 in mkl_lapack_dstegr ()&lt;BR /&gt;#4 0x000000000040252c in dstegr_ ()&lt;BR /&gt;#5 0x0000000000402176 in main (argc=1, argv=0x7fff985e4068) at dsteqr+.c:35&lt;BR /&gt;&lt;BR /&gt;But your linking line is not fully correct&lt;BR /&gt;&lt;BR /&gt;icc -g -o tri tri.c -I$MKLROOT/include -L$MKLROOT/lib/em64t -Wl,-Bstatic -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread&lt;BR /&gt;&lt;BR /&gt;Pleasetry &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Link Line Advisor&lt;/A&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. It's the same problem we met on the latter two machines I had introduced in my last post. It occurs in 10.2 or newer MKL. &lt;/P&gt;&lt;P&gt;In 10.1, things looks quite good until the caller function returns.&lt;/P&gt;&lt;P&gt;The MKL Link Line Advisor is quite a good and interest tool, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:55:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833202#M5805</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-27T08:55:05Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833203#M5806</link>
      <description>&lt;SPAN style="font-size: small;"&gt;&lt;P&gt;I do not advise to use function dstegr. See &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=73653&amp;amp;o=d&amp;amp;s=lr"&gt;http://software.intel.com/en-us/forums/showthread.php?t=73653&amp;amp;o=d&amp;amp;s=lr&lt;/A&gt;&lt;/P&gt;&lt;/SPAN&gt;</description>
      <pubDate>Wed, 27 Apr 2011 08:59:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833203#M5806</guid>
      <dc:creator>yuriisig</dc:creator>
      <dc:date>2011-04-27T08:59:28Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833204#M5807</link>
      <description>&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;quote "It occurs in 10.2 or newer MKL...."&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation .&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;quote "It occurs in 10.2 or newer MKL...."I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:27:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833204#M5807</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-04-27T13:27:54Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833205#M5808</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1303944682437="54" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=425948" href="https://community.intel.com/en-us/profile/425948/" class="basic"&gt;?? ?&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;P class="dp-highlighter"&gt;&lt;SPAN&gt;#defineN2000&lt;BR /&gt;......................&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="alt"&gt;&lt;SPAN&gt;double...., z[N*N], ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="tiny_quote"&gt;&lt;A jquery1303944413968="237" hoverintent_t="undefined" hoverintent_s="1" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" href="http://software.intel.com/en-us/profile/9662/" class="basic"&gt;mecej4&lt;/A&gt;offered the correct decision: ".../F40000000 ..."&lt;BR /&gt;Intel MKL is not guilty.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2011 23:04:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833205#M5808</guid>
      <dc:creator>yuriisig</dc:creator>
      <dc:date>2011-04-27T23:04:25Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833206#M5809</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=312233" class="basic" href="https://community.intel.com/en-us/profile/312233/"&gt;yuriisig&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1303944682437="54" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=425948" href="https://community.intel.com/en-us/profile/425948/" class="basic"&gt;?? ?&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;P class="dp-highlighter"&gt;&lt;SPAN&gt;#defineN2000&lt;BR /&gt;......................&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="alt"&gt;&lt;SPAN&gt;double...., z[N*N], ....&lt;/SPAN&gt;&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV id="tiny_quote"&gt;&lt;A jquery1303944413968="237" hoverintent_t="undefined" hoverintent_s="1" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" href="http://software.intel.com/en-us/profile/9662/" class="basic"&gt;mecej4&lt;/A&gt;offered the correct decision: ".../F40000000 ..."&lt;BR /&gt;Intel MKL is not guilty.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. /Fn parameter does not exist under Linux icc&lt;/P&gt;&lt;P&gt;2. Stack size is not the key point. Dynamic allocation of memory also made seg fault.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:29:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833206#M5809</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-28T01:29:37Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833207#M5810</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=334681" class="basic" href="https://community.intel.com/en-us/profile/334681/"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;quote "It occurs in 10.2 or newer MKL...."&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation .&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;quote "It occurs in 10.2 or newer MKL...."I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I updated the MKL to 10.3 update 3 last night (the E7-4870 machine with RHEL 6 x64), and seg fault is still there.&lt;/P&gt;&lt;P&gt;Is it possible that the problem has relationship with compiler/glibc/kernel/linux distribution/other libs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 01:34:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833207#M5810</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-28T01:34:48Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833208#M5811</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=425948" class="basic" href="https://community.intel.com/en-us/profile/425948/"&gt;?? ?&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=334681" class="basic" href="https://community.intel.com/en-us/profile/334681/"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;quote "It occurs in 10.2 or newer MKL...."&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation .&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;quote "It occurs in 10.2 or newer MKL...."I checked the problem with the latest 10.3.Update3 version and couldn't reproduce the segmentation.&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I updated the MKL to 10.3 update 3 last night (the E7-4870 machine with RHEL 6 x64), and seg fault is still there.&lt;/P&gt;&lt;P&gt;Is it possible that the problem has relationship with compiler/glibc/kernel/linux distribution/other libs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just now I tried install MKL 10.3 update3 on the Xeon 5450 RHEL 5.1 machine and didn't work neither...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 05:00:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833208#M5811</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-28T05:00:10Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833209#M5812</link>
      <description>Hello, we have finally reproduced the problem and has already found the cause of the problem. The problem escalated and would be fixed soon. I will let you know when the fix would be availble.&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Apr 2011 06:59:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833209#M5812</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-04-28T06:59:43Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833210#M5813</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1303977283875="57" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=425948" href="https://community.intel.com/en-us/profile/425948/" class="basic"&gt;?? ?&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;1. /Fn parameter does not exist under Linux icc&lt;P&gt;2. Stack size is not the key point. Dynamic allocation of memory also made seg fault.&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;okey.&lt;BR /&gt;&lt;BR /&gt;But what for you use this procedure: it unreliable. And I about it already wrote.</description>
      <pubDate>Thu, 28 Apr 2011 08:04:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833210#M5813</guid>
      <dc:creator>yuriisig</dc:creator>
      <dc:date>2011-04-28T08:04:16Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833211#M5814</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=312233" class="basic" href="https://community.intel.com/en-us/profile/312233/"&gt;yuriisig&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1303977283875="57" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=425948" href="https://community.intel.com/en-us/profile/425948/" class="basic"&gt;?? ?&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;1. /Fn parameter does not exist under Linux icc&lt;P&gt;2. Stack size is not the key point. Dynamic allocation of memory also made seg fault.&lt;/P&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;okey.&lt;BR /&gt;&lt;BR /&gt;But what for you use this procedure: it unreliable. And I about it already wrote.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is used in a solver package named PSEPS (Parallel Symmetric Eigenvalue Package of Solver) which is developed by my collegue. I really know nothing about the scientific meaning and how and why he use the function. My duty is to maintain the machines and the system environments. Anyway, I had told him about your suggestion. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 09:37:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833211#M5814</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-28T09:37:11Z</dc:date>
    </item>
    <item>
      <title>dstegr function causes segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833212#M5815</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=334681" class="basic" href="https://community.intel.com/en-us/profile/334681/"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="border: 1px inset; padding: 5px; background-color: #e5e5e5; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;Hello, we have finally reproduced the problem and has already found the cause of the problem. The problem escalated and would be fixed soon. I will let you know when the fix would be availble.&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's really good news for me. I'll wait for the solution.&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2011 09:44:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/dstegr-function-causes-segmentation-fault/m-p/833212#M5815</guid>
      <dc:creator>____4</dc:creator>
      <dc:date>2011-04-28T09:44:31Z</dc:date>
    </item>
  </channel>
</rss>

