<?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 Could you please provide us in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965775#M16210</link>
    <description>Could you please provide us with matrix sizes and parameters you use for calling mkl_dcsrmv?</description>
    <pubDate>Wed, 12 Dec 2012 09:56:42 GMT</pubDate>
    <dc:creator>Sergey_P_Intel2</dc:creator>
    <dc:date>2012-12-12T09:56:42Z</dc:date>
    <item>
      <title>segv mkl_dcscmv from multithreaded applications</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965771#M16206</link>
      <description>&lt;P&gt;dear support,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;i having a segv from calling mkl_dcscmv from my multithreaded applications. the same code works well if i can it from single thread. here is the message i got from gdb, any other info i can provide to help you find out the problem,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Program received signal SIGSEGV, Segmentation fault.&lt;BR /&gt;[Switching to Thread 0x2aac4dad3940 (LWP 13096)]&lt;BR /&gt;0x0000000000551236 in mkl_spblas_lp64_mc3_dcsr0tg__c__mvout_par ()&lt;BR /&gt;(gdb) where&lt;BR /&gt;#0 0x0000000000551236 in mkl_spblas_lp64_mc3_dcsr0tg__c__mvout_par ()&lt;BR /&gt;#1 0x00000000004fd30b in mkl_spblas_lp64_dcsr0tg__c__mvout_omp ()&lt;BR /&gt;#2 0x00000000004fbcce in mkl_spblas_lp64_mkl_dcscmv ()&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2012 04:40:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965771#M16206</guid>
      <dc:creator>benjamin_gu</dc:creator>
      <dc:date>2012-12-06T04:40:19Z</dc:date>
    </item>
    <item>
      <title>How can we reproduce the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965772#M16207</link>
      <description>How can we reproduce the problem? Can you give us the example to check the problem on our side?
also what mk version you are using ?</description>
      <pubDate>Thu, 06 Dec 2012 04:47:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965772#M16207</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-12-06T04:47:57Z</dc:date>
    </item>
    <item>
      <title>i am using version 12.1. but</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965773#M16208</link>
      <description>i am using version 12.1. but the same problem happens with 12.0 and previous versions. I dont know how to help you reproduce the problem. honestly i can't give you my code to debug.:-) is there any other way to debug? does stack trace help?</description>
      <pubDate>Thu, 06 Dec 2012 04:58:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965773#M16208</guid>
      <dc:creator>benjamin_gu</dc:creator>
      <dc:date>2012-12-06T04:58:10Z</dc:date>
    </item>
    <item>
      <title>stack will no helps with that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965774#M16209</link>
      <description>stack will no helps with that case. Can you prepare the test which someone from mkl team can compile and reproduce the problem on our side?</description>
      <pubDate>Thu, 06 Dec 2012 07:23:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965774#M16209</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-12-06T07:23:19Z</dc:date>
    </item>
    <item>
      <title>Could you please provide us</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965775#M16210</link>
      <description>Could you please provide us with matrix sizes and parameters you use for calling mkl_dcsrmv?</description>
      <pubDate>Wed, 12 Dec 2012 09:56:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965775#M16210</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2012-12-12T09:56:42Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Pudov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965776#M16211</link>
      <description>&lt;BLOCKQUOTE&gt;Sergey Pudov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;Could you please provide us with matrix sizes and parameters you use for calling mkl_dcsrmv?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;

The author of this thread seems to have problems with dcsCmv, not dcsRmv. He didn't provide any test program, however, if you want to reproduce the segmentation fault, just download the one I provided for dcsRmv here http://software.intel.com/en-us/forums/topic/339743, change the latest calls from
[cpp]
char transb = 'T';
mkl_dcsrmv(&amp;amp;transb, &amp;amp;n, &amp;amp;k, &amp;amp;one, matdescra, C, J, &amp;amp;_I-&amp;gt;operator[](0), &amp;amp;_I-&amp;gt;operator[](1), rhsT, &amp;amp;one, xT);
[/cpp]
to
[cpp]
char transb = 'N';
mkl_dcscmv(&amp;amp;transb, &amp;amp;k, &amp;amp;n, &amp;amp;one, matdescra, C, J, &amp;amp;_I-&amp;gt;operator[](0), &amp;amp;_I-&amp;gt;operator[](1), rhsT, &amp;amp;one, xT);
[/cpp]
and once again, you will a segmentation fault iff OMP_NUM_THREADS&amp;gt;1, this time with dcscmv.</description>
      <pubDate>Wed, 12 Dec 2012 10:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965776#M16211</guid>
      <dc:creator>asd__asdqwe</dc:creator>
      <dc:date>2012-12-12T10:41:00Z</dc:date>
    </item>
    <item>
      <title>Sorry, it was a typo in my</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965777#M16212</link>
      <description>Sorry, it was a typo in my previous post: I meant mkl_dcscmv functionality of course. 
Re your example: we are able to reproduce the issue with dcsrmv. Right now we need to understand whether both threads related to the same issue in dcs[c|r]mv functionality or not. So requested info still required for further investigations.</description>
      <pubDate>Wed, 12 Dec 2012 10:53:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/segv-mkl-dcscmv-from-multithreaded-applications/m-p/965777#M16212</guid>
      <dc:creator>Sergey_P_Intel2</dc:creator>
      <dc:date>2012-12-12T10:53:12Z</dc:date>
    </item>
  </channel>
</rss>

