<?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 Massi, why not try another in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946640#M14933</link>
    <description>&lt;P&gt;Massi, why not try another variant without ILP64! &amp;nbsp;is your problem is really huge? you can just try to use the ordinary LP64 version first.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2013 06:11:39 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2013-07-12T06:11:39Z</dc:date>
    <item>
      <title>Segmentation Fault in MKL PBLAS/ScaLAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946633#M14926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to use MKL PBLAS/ScaLAPACK routine as proposed in the following link: &lt;A href="http://software.intel.com/en-us/articles/using-cluster-mkl-pblasscalapack-fortran-routine-in-your-c-program"&gt;http://software.intel.com/en-us/articles/using-cluster-mkl-pblasscalapack-fortran-routine-in-your-c-program&lt;/A&gt;. The source code (downloadable from the same site) is also attached to this post.&lt;/P&gt;
&lt;P&gt;I am using the Intel® Composer 2011.2.137, compiler icc 12.0.2 20110112, and OpenMPI 1.4.3.&lt;/P&gt;
&lt;P&gt;According to the Intel® Math Kernel Library Link Line Advisor I am compiling by&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;mpicc -w -o pdgemv pdgemv.c -I$(MKLROOT)/include -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -lpthread -limf -lm -openmp -DMKL_ILP64&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Compiling is fine, but running the program via&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;mpirun -n 4 ./pdgemv&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;causes the following segmentation fault:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;[node266:15074] *** Process received signal ***&lt;BR /&gt;[node266:15074] Signal: Segmentation fault (11)&lt;BR /&gt;[node266:15074] Signal code: Address not mapped (1)&lt;BR /&gt;[node266:15074] Failing at address: 0x44000098&lt;BR /&gt;[node266:15074] [ 0] /lib64/libpthread.so.0 [0x3f8420eb10]&lt;BR /&gt;[node266:15074] [ 1] /openmpi/1.4.3/intel--co-2011.2.137--binary/lib/libmpi.so.0(MPI_Comm_size+0x5a) [0x2abdef96c17a]&lt;BR /&gt;[node266:15074] [ 2] /intel/co-2011.2.137/binary/mkl/lib/intel64/libmkl_blacs_intelmpi_ilp64.so(ilp64_Cblacs_pinfo+0x92) [0x2abdef3be4a2]&lt;BR /&gt;[node266:15074] *** End of error message ***&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't understand what is wrong, hope someone can help me. Thanks and kind regards.&lt;/P&gt;
&lt;P&gt;Massi&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 16:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946633#M14926</guid>
      <dc:creator>Massimiliano_B_1</dc:creator>
      <dc:date>2013-07-10T16:27:11Z</dc:date>
    </item>
    <item>
      <title>Your code stopped on segfault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946634#M14927</link>
      <description>&lt;P&gt;Your code stopped on segfault exception.In your case I think that this&lt;STRONG&gt; Failing at address: 0x44000098&amp;nbsp;&lt;/STRONG&gt;could be either a faulting ip or wrong memory address beign referenced.Probably the address referenced is unreadeable memory or has not been mapped(heap) or has not been commited by your app.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 17:15:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946634#M14927</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-10T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Do you have any updates?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946635#M14928</link>
      <description>&lt;P&gt;Do you have any updates?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946635#M14928</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-11T08:01:23Z</dc:date>
    </item>
    <item>
      <title>Hi iliyapolak,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946636#M14929</link>
      <description>&lt;P&gt;Hi &lt;A href="http://software.intel.com/en-us/user/542548"&gt;iliyapolak&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;thank you for your answer, but I don't understand how can I solve this issue.&lt;/P&gt;
&lt;P&gt;I have to add also that I cannot set the linux environment variables as shown in the link I posted:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;$source /opt/intel/mkl/10.x.x.0xx/tools/environment/mklvarsem64t.sh&lt;BR /&gt;$source /opt/intel/mpi/3.x.x/bin64/mpivars.sh&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;because I cannot find these paths and files in my linux intel composer version.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 11:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946636#M14929</guid>
      <dc:creator>Massimiliano_B_1</dc:creator>
      <dc:date>2013-07-11T11:04:00Z</dc:date>
    </item>
    <item>
      <title>Hi Massimiliano,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946637#M14930</link>
      <description>&lt;P&gt;Hi Massimiliano,&lt;/P&gt;
&lt;P&gt;sorry,but I do not know how to solve it.At least you can ask Intel devs for help.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 18:33:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946637#M14930</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-11T18:33:41Z</dc:date>
    </item>
    <item>
      <title>Btw if you want you can post</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946638#M14931</link>
      <description>&lt;P&gt;Btw if you want you can post callstack of the failed process.Maybe we can get some more relevant info regarding the bug.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2013 18:36:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946638#M14931</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-11T18:36:11Z</dc:date>
    </item>
    <item>
      <title>Hi massi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946639#M14932</link>
      <description>&lt;P&gt;Hi massi,&lt;/P&gt;
&lt;P&gt;I saw you are using OpenMPI, but -lmkl_blacs_&lt;STRONG&gt;intelmpi&lt;/STRONG&gt;_ilp64 are for Intel MPI and MPICH2. This may be the cause.&lt;/P&gt;
&lt;P&gt;You may try the command like&lt;/P&gt;
&lt;P&gt;source /opt/intel/composer_xe_2011.2.137/bin/iccvars.sh intel64&lt;/P&gt;
&lt;P&gt;soruce /opt/intel/composer_xe_2011.2.137/mkl/bin/mklvars.sh intel64&lt;/P&gt;
&lt;P&gt;(The two commands&amp;nbsp;are the corresponding part of old version of mkl and compiler)&lt;/P&gt;
&lt;P&gt;and your openmpi path setting&lt;/P&gt;
&lt;P&gt;And the link advisor line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;$(MKLROOT)/lib/intel64/libmkl_scalapack_ilp64.a -Wl,--start-group&amp;nbsp; $(MKLROOT)/lib/intel64/libmkl_intel_ilp64.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_openmpi_ilp64.a -Wl,--end-group -lpthread -lm -DMKL_ILP64&lt;/P&gt;
&lt;P&gt;and let us know how it works.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;
&lt;P&gt;libmkl_blacs_lp64.a&lt;/P&gt;
&lt;P&gt;LP64 version ofBLACSroutines supporting the following MPICH versions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Myricom* MPICH version 1.2.5.10&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;ANL* MPICH version 1.2.5.2&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;libmkl_blacs_ilp64.a&lt;/P&gt;
&lt;P&gt;ILP64 version ofBLACSroutines supporting the following MPICH versions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Myricom* MPICH version 1.2.5.10&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;ANL* MPICH version 1.2.5.2&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;libmkl_blacs_intelmpi_lp64.a&lt;/P&gt;
&lt;P&gt;LP64 version ofBLACSroutines supporting Intel MPI and MPICH2&lt;/P&gt;
&lt;P&gt;libmkl_blacs_intelmpi_ilp64.a&lt;/P&gt;
&lt;P&gt;ILP64 version ofBLACSroutines supporting Intel MPI and MPICH2&lt;/P&gt;
&lt;P&gt;libmkl_blacs_intelmpi20_lp64.a&lt;/P&gt;
&lt;P&gt;A soft link tolib/intel64/libmkl_blacs_intelmpi_lp64.a&lt;/P&gt;
&lt;P&gt;libmkl_blacs_intelmpi20_ilp64.a&lt;/P&gt;
&lt;P&gt;A soft link tolib/intel64/libmkl_blacs_intelmpi_ilp64.a&lt;/P&gt;
&lt;P&gt;libmkl_blacs_openmpi_lp64.a&lt;/P&gt;
&lt;P&gt;LP64 version ofBLACSroutines supporting OpenMPI.&lt;/P&gt;
&lt;P&gt;libmkl_blacs_openmpi_ilp64.a&lt;/P&gt;
&lt;P&gt;ILP64 version ofBLACSroutines supporting OpenMPI.&lt;/P&gt;
&lt;P&gt;libmkl_blacs_sgimpt_lp64.a&lt;/P&gt;
&lt;P&gt;LP64 version ofBLACSroutines supporting SGI MPT.&lt;/P&gt;
&lt;P&gt;libmkl_blacs_sgimpt_ilp64.a&lt;/P&gt;
&lt;P&gt;ILP64 version ofBLACSroutines supporting SGI MPT.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 01:57:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946639#M14932</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2013-07-12T01:57:09Z</dc:date>
    </item>
    <item>
      <title>Massi, why not try another</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946640#M14933</link>
      <description>&lt;P&gt;Massi, why not try another variant without ILP64! &amp;nbsp;is your problem is really huge? you can just try to use the ordinary LP64 version first.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 06:11:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946640#M14933</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2013-07-12T06:11:39Z</dc:date>
    </item>
    <item>
      <title>Hi all,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946641#M14934</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;first of all I want to thank you all for your help.&lt;/P&gt;
&lt;P&gt;I have followed the hint of &lt;A href="http://software.intel.com/en-us/user/404581"&gt;Ying H&lt;/A&gt;, now I set the environment variables with&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;source /opt/intel/composer_xe_2011.2.137/bin/iccvars.sh intel64&lt;/P&gt;
&lt;P&gt;soruce /opt/intel/composer_xe_2011.2.137/mkl/bin/mklvars.sh intel64&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;and I link to mkl_blacs_&lt;STRONG&gt;openmpi&lt;/STRONG&gt;_ilp64 instead of mkl_blacs_&lt;STRONG&gt;intelmpi&lt;/STRONG&gt;_ilp64. I'm wondering about a note given by the Intel® Math Kernel Library Link Line Advisor:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;If you are using a non-default MPI, assign the same appropriate value to MKL_BLACS_MPI on all nodes. Set MKL_BLACS_MPI variable to one of the following values: INTELMPI, MPICH2 or MSMPI.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which value should I set,if I have to, to &lt;STRONG&gt;MKL_BLACS_MPI&lt;/STRONG&gt;? Maybe I'm missing some other environment variable?&lt;/P&gt;
&lt;P&gt;I still compile without any problem&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;mpicc -o pdgemv pdgemv.c -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_ilp64 -Wl,--start-group&amp;nbsp;-lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_openmpi_ilp64 -Wl,--end-group&amp;nbsp;-liomp5&amp;nbsp;-lpthread -limf -lm -DMKL_ILP64&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;but at run time I get the following error from every mpi task:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;[node078:02059] *** Process received signal ***&lt;/P&gt;
&lt;P&gt;[node078:02059] Signal: Floating point exception (8)&lt;BR /&gt;[node078:02059] Signal code: &lt;STRONG&gt;Integer divide-by-zero&lt;/STRONG&gt; (1)&lt;BR /&gt;[node078:02059] Failing at address: 0x2b8428108a7e&lt;/P&gt;
&lt;P&gt;[node078:02059] [ 0] /lib64/libpthread.so.0 [0x3a9a80eb10]&lt;BR /&gt;[node078:02059] [ 1] composerxe-2011.2.137/mkl/lib/intel64/libmkl_scalapack_ilp64.so(numroc_+0xe) [0x2b8428108a7e]&lt;BR /&gt;[node078:02059] *** End of error message ***&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Compiling and running in debug mode I get the following output&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 1}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value &lt;BR /&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,&amp;nbsp;&amp;nbsp;&amp;nbsp; 0}:&amp;nbsp; On entry to &lt;BR /&gt;&lt;STRONG&gt;DESCINIT parameter number&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 had an illegal value&lt;/STRONG&gt; &lt;BR /&gt;[node078:31137] *** Process received signal ***&lt;BR /&gt;[node078:31137] Signal: Floating point exception (8)&lt;BR /&gt;[node078:31137] Signal code: &lt;STRONG&gt;Integer divide-by-zero&lt;/STRONG&gt; (1)&lt;BR /&gt;[node078:31137] Failing at address: 0x405f64&lt;BR /&gt;[node078:31137] [ 0] /lib64/libpthread.so.0 [0x3a9a80eb10]&lt;BR /&gt;[node078:31137] [ 1] pdgemv [0x405f64]&lt;BR /&gt;[node078:31137] [ 2] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3a9a01d994]&lt;BR /&gt;[node078:31137] [ 3] pdgemv [0x4057c9]&lt;BR /&gt;[node078:31137] *** End of error message ***&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;and analyzing the core file with gdb i get:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Program terminated with signal 8, Arithmetic exception.&lt;BR /&gt;#0&amp;nbsp; 0x0000000000405f64 in main (argc=1, argv=0x200000001) at pdgemv.c:87&lt;BR /&gt;87&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sat= (myrow*nb)+i+(i/nb)*nb;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;because actually &lt;STRONG&gt;nb&lt;/STRONG&gt; &lt;STRONG&gt;has been set to 0 by&amp;nbsp;numroc_&lt;/STRONG&gt;. According to this I think that I get the warning from descinit as explained in this topic: &lt;A href="http://software.intel.com/en-us/forums/topic/293296"&gt;http://software.intel.com/en-us/forums/topic/293296&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have also tried to change to LP64 as proposed by &lt;A href="http://software.intel.com/en-us/user/335030"&gt;Gennady Fedorov&lt;/A&gt;, but nothing seems to change.&lt;/P&gt;
&lt;P&gt;Still I cannot fix this issue...Thank you all again, if you need other informations please ask me!&lt;/P&gt;
&lt;P&gt;Ciao!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2013 16:09:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946641#M14934</guid>
      <dc:creator>Massimiliano_B_1</dc:creator>
      <dc:date>2013-07-12T16:09:00Z</dc:date>
    </item>
    <item>
      <title>It seems that either variable</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946642#M14935</link>
      <description>&lt;P&gt;It seems that either variable "i" or "nb" could be 0.Can you post those values?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2013 14:50:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946642#M14935</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-14T14:50:50Z</dc:date>
    </item>
    <item>
      <title>My advise is to step-in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946643#M14936</link>
      <description>&lt;P&gt;My advise is to step-in through the code arround the call site of arithmetic exception and post the result of those two variable mentioned in my previous post.Can you do it with GDB?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2013 14:52:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946643#M14936</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-14T14:52:29Z</dc:date>
    </item>
    <item>
      <title>The value of nb seems to be</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946644#M14937</link>
      <description>&lt;P&gt;The value of nb seems to be modified and set to 0 after calling&amp;nbsp;Cblacs_gridinfo...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 09:51:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946644#M14937</guid>
      <dc:creator>Massimiliano_B_1</dc:creator>
      <dc:date>2013-07-15T09:51:44Z</dc:date>
    </item>
    <item>
      <title>so this is the culprit of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946645#M14938</link>
      <description>&lt;P&gt;so this is the culprit of division by zero exception&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 12:13:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946645#M14938</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-07-25T12:13:45Z</dc:date>
    </item>
    <item>
      <title>I detected two issues in your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946646#M14939</link>
      <description>I detected two issues in your test case:

...
   &lt;STRONG&gt;descinit_&lt;/STRONG&gt;( descy, &amp;amp;M, &amp;amp;ONE,   &amp;amp;nb, &amp;amp;ONE,  &amp;amp;ZERO, &amp;amp;ZERO, &amp;amp;ictxt, &amp;amp;my, &amp;amp;info );
   double *x = ( double * )&lt;STRONG&gt;malloc&lt;/STRONG&gt;( nx*sizeof(double) );
   double *y = ( double * )&lt;STRONG&gt;calloc&lt;/STRONG&gt;( my,sizeof(double) );
   double *A = ( double* )&lt;STRONG&gt;malloc&lt;/STRONG&gt;( mA*nA*sizeof(double) );
...

1. After &lt;STRONG&gt;descinit_&lt;/STRONG&gt; is called there are no any verifications that the call was successful.

2. Your're mixing two memory allocation CRT functions, that is, &lt;STRONG&gt;malloc&lt;/STRONG&gt; and &lt;STRONG&gt;calloc&lt;/STRONG&gt;. It looks like harmless but I'd like to inform that it is possible pointers &lt;STRONG&gt;x&lt;/STRONG&gt; and &lt;STRONG&gt;A&lt;/STRONG&gt; could be 64-byte aligned and pointer &lt;STRONG&gt;y&lt;/STRONG&gt; could be 32-byte aligned. So, just in case verify alignments of these three pointers.</description>
      <pubDate>Thu, 25 Jul 2013 13:24:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Segmentation-Fault-in-MKL-PBLAS-ScaLAPACK/m-p/946646#M14939</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-25T13:24:47Z</dc:date>
    </item>
  </channel>
</rss>

