<?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: Invalid status in sample_scond.f in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968161#M16345</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;The error status=-2012 is raised correctly to indicate the error in the input parameters which the code example passes to the subroutine &lt;/SPAN&gt;&lt;SPAN&gt;scond&lt;/SPAN&gt;&lt;SPAN&gt;(). &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Namely, the status=-2012 indicates about the parameter &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt; whose value &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt;=120 is too large. Probably, it must be &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt;=119;because m&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;athematically, the length of resulting sequence of the convolution operation would be na+nb-1, not na+nb.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 24 Oct 2005 17:09:58 GMT</pubDate>
    <dc:creator>Yevgeny_Latkin__Inte</dc:creator>
    <dc:date>2005-10-24T17:09:58Z</dc:date>
    <item>
      <title>Invalid status in sample_scond.f</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968160#M16344</link>
      <description>&lt;DIV&gt;Hi. I'm testing MKL's convolution using sample_scond.f (/opt/intel/mkl/8.0/examples/vslf/essl/vsl_wrappers), but I'm getting an invalid status at vslsconvexec1d. Here is the return:&lt;/DIV&gt;
&lt;DIV&gt;ERROR: scond(): bad status= -2012&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Below is part of the code:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;program teste&lt;BR /&gt;real a(100),b(20), c(120)&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;integer nciclo, nstride, na, nb, nc, ini&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;BR /&gt;nciclo = 900000&lt;BR /&gt;nstride = 1&lt;BR /&gt;na=100&lt;BR /&gt;nb=20&lt;BR /&gt;nc=120&lt;BR /&gt;ini=0&lt;BR /&gt;&lt;BR /&gt;do i=1,100&lt;BR /&gt; a(i) = i&lt;BR /&gt;enddo&lt;BR /&gt;&lt;BR /&gt;do i=1,20&lt;BR /&gt; b(i) = i&lt;BR /&gt;enddo&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;do i=1,120&lt;BR /&gt;  c(i) = 0&lt;BR /&gt;enddo&lt;BR /&gt;........&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;do i=1,nciclo&lt;BR /&gt; call scond(a,nstride,b,nstride,c,nstride,na,nb,ini,nc)&lt;BR /&gt;enddo&lt;BR /&gt;end&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Anyclue?&lt;/DIV&gt;
&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;
&lt;DIV&gt;Anselmo&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Oct 2005 01:49:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968160#M16344</guid>
      <dc:creator>ansa</dc:creator>
      <dc:date>2005-10-20T01:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid status in sample_scond.f</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968161#M16345</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;The error status=-2012 is raised correctly to indicate the error in the input parameters which the code example passes to the subroutine &lt;/SPAN&gt;&lt;SPAN&gt;scond&lt;/SPAN&gt;&lt;SPAN&gt;(). &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Namely, the status=-2012 indicates about the parameter &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt; whose value &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt;=120 is too large. Probably, it must be &lt;/SPAN&gt;&lt;SPAN&gt;nc&lt;/SPAN&gt;&lt;SPAN&gt;=119;because m&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;athematically, the length of resulting sequence of the convolution operation would be na+nb-1, not na+nb.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Oct 2005 17:09:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968161#M16345</guid>
      <dc:creator>Yevgeny_Latkin__Inte</dc:creator>
      <dc:date>2005-10-24T17:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid status in sample_scond.f</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968162#M16346</link>
      <description>&lt;DIV&gt;This is the case. I changed the nc value to 119 and the program works fine. I thought that ifnc is greater tha nb+nb-1 the programwould work, but you mustset nc to the exact value.I would like to know how did you get the information about the status code. Thanks.&lt;/DIV&gt;
&lt;DIV&gt;Anselmo&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Oct 2005 23:48:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968162#M16346</guid>
      <dc:creator>ansa</dc:creator>
      <dc:date>2005-10-28T23:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid status in sample_scond.f</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968163#M16347</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;Anselmo,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;Please excuse me for not responding this long time; I have overlooked your message. And I must also apologize for not identifying myself as an Intel employee at my previous posting; that was my 1st experience with this forum and I made a technical mistake.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;You are asking, how I got the information about the status code. Im one of the authors of the code and of the MKL Reference Manual. Unfortunately, the MKL 8.0 version of the Manual doesnt include information about the error codes for the convolution and correlation software. We are working on this issue.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;As for allowing nc&amp;gt;na+nb-1, such idea looks interesting. But, what value should be stored to c(120) in this case? Do you assume that the tail of the resulting array must be fulfilled with zeros?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;Yevgeny Latkin (Intel Employee)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Nov 2005 18:30:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968163#M16347</guid>
      <dc:creator>Yevgeny_Latkin__Inte</dc:creator>
      <dc:date>2005-11-21T18:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid status in sample_scond.f</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968164#M16348</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hi &lt;SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;Yevgeny .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;EM&gt;...&lt;FONT face="Times New Roman" size="3"&gt;Do you assume that the tail of the resulting array must be fulfilled with zeros?...&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;Sure, this is what we did with ours convolution's home code. Maybe you could warn the user and don't stop the program, only advice him.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;Best regards.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;Anselmo&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Nov 2005 01:14:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-status-in-sample-scond-f/m-p/968164#M16348</guid>
      <dc:creator>ansa</dc:creator>
      <dc:date>2005-11-22T01:14:37Z</dc:date>
    </item>
  </channel>
</rss>

