<?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 Invalid configuration parameters - encountered with 1D FFT in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792593#M2332</link>
    <description>Dima,&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Although the GetValue-retrieved configuration values looked good, somewhere else there must have been a bad configuration value. Another function parameter was an array and it had values written beyond its malloc'ed length and thus this overwriting must have messed up some configuration values. With a larger malloc the Invalid Configuration problem is gone.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Ted&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Mar 2011 18:29:06 GMT</pubDate>
    <dc:creator>Ted_Christopher</dc:creator>
    <dc:date>2011-03-03T18:29:06Z</dc:date>
    <item>
      <title>Invalid configuration parameters - encountered with 1D FFT</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792590#M2329</link>
      <description>&lt;DIV id="_mcePaste"&gt;Hi,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I have been running a large code on my Mac OSX machine using icc and a bunch of MKL routines. These routines have included 2DFFT's. Anyway upon adding a 1DFFT-using code segment I have hit an "Invalid configuration parameters" error when the first (backward) 1DFFT call is made.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I often write my own small test routines when adding a MKL routine to my usage. This supplements the limited MKL manual. Anyway I have done this with 1DFFT's and encountered no problem. But when the same code is used in a larger program I hit the Invalid Configuration. I printed out a bunch of GetValue-obtained values just prior to the DftiComputeBackwards call. You can see these below and they match the output I get in my simple (and successful) test program.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I have also tried call by value and passing the address of the configuration variable. No change.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Below is the relevant program output.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Thanks for any help, Ted&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; BACKWARD_SCALE - Status 0, scale 0.031250&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; PACKED_FORMAT - Status 0, format 56&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; DIMENSION - Status 0, dimension 1&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; LENGTHS - Status 0, length 32&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; PLACEMENT - Status 0, placement 43&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; FORWARD_DOMAIN - Status 0, forward 33&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; PRECISION - Status 0, precision 35&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; REAL_STORAGE - Status 0, real storage 42&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; REAL_INPUT_STRIDES - Status 0, in strides 0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; REAL_OUTPUT_STRIDES - Status 0, out strides 0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; NUMBER_OF_USER_THREADS - Status 0, user threads 1&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; COMPLEX_STORAGE - Status 0, complex storage 39&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; DFTI_CONJUGATE_EVEN_STORAGE - Status 0, conjugate even storage 40&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; DFTI_COMMIT_STATUS - Status 0, commit status 30&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; DFTI_INPUT_DISTANCE - Status 0, input distance 0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-&amp;gt; DFTI_OUTPUT_DISTANCE - Status 0, output distance 0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;ERROR message: MKL DFTI ERROR: Invalid configuration parameters&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Error status = 2&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Test Failed : DftiComputeBackward(*setupReal, timeData)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Feb 2011 18:30:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792590#M2329</guid>
      <dc:creator>Ted_Christopher</dc:creator>
      <dc:date>2011-02-28T18:30:47Z</dc:date>
    </item>
    <item>
      <title>Invalid configuration parameters - encountered with 1D FFT</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792591#M2330</link>
      <description>Hi Ted,&lt;BR /&gt;&lt;BR /&gt;If your test and your larger program give the same output that you've provided and then one passes and the other fails, then probably the issue is somwhere else. The configuration listed in your post looks good.The star at "*setupReal" looks suspicious. The difference between the test and larger problem may also be in the way they are linked with MKL.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Dima&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2011 02:04:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792591#M2330</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2011-03-01T02:04:12Z</dc:date>
    </item>
    <item>
      <title>Invalid configuration parameters - encountered with 1D FFT</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792592#M2331</link>
      <description>Hi Dima,&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you for the suggestion. The asterisk (*) is there as I had passed in setupReal via address. I have also done it via value-passing.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;The compilation specifications for the simple (and successful) program are the same as for the big code.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;I will try playing with it some more.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Ted&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Mar 2011 18:30:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792592#M2331</guid>
      <dc:creator>Ted_Christopher</dc:creator>
      <dc:date>2011-03-01T18:30:04Z</dc:date>
    </item>
    <item>
      <title>Invalid configuration parameters - encountered with 1D FFT</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792593#M2332</link>
      <description>Dima,&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Although the GetValue-retrieved configuration values looked good, somewhere else there must have been a bad configuration value. Another function parameter was an array and it had values written beyond its malloc'ed length and thus this overwriting must have messed up some configuration values. With a larger malloc the Invalid Configuration problem is gone.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;	&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Ted&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Mar 2011 18:29:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792593#M2332</guid>
      <dc:creator>Ted_Christopher</dc:creator>
      <dc:date>2011-03-03T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Invalid configuration parameters - encountered with 1D FFT</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792594#M2333</link>
      <description>&lt;P&gt;Ted,&lt;BR /&gt;&lt;BR /&gt;When you do DftiGetValue(hand,DFTI_INPUT_STRIDES,array), make sure the size of the array is 1 more than the dimensionality of transform. In 1D case the array should be capable of holding two MKL_LONG items.&lt;BR /&gt;The same refers to DFTI_OUTPUT_STRIDES. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Dima&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2011 04:39:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Invalid-configuration-parameters-encountered-with-1D-FFT/m-p/792594#M2333</guid>
      <dc:creator>Dmitry_B_Intel</dc:creator>
      <dc:date>2011-03-04T04:39:12Z</dc:date>
    </item>
  </channel>
</rss>

