<?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: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &amp;gt; 2^24 and non- in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1500317#M34721</link>
    <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems the behavior is not an intended one as per the below data. We are discussing this issue internally. We will be back with an update soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="358"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="230"&gt;MKL&lt;/TD&gt;
&lt;TD width="64"&gt;IPP&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="2" width="64"&gt;Transform Sizes&lt;/TD&gt;
&lt;TD width="230"&gt;32-bit platforms -&amp;nbsp;maximum size is 2^31-1&lt;/TD&gt;
&lt;TD width="64"&gt;FFT - Powers of 2 only (**)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="230"&gt;64-bit platforms - 2&lt;SUP&gt;64&lt;/SUP&gt;&amp;nbsp;maximum size&lt;/TD&gt;
&lt;TD width="64"&gt;DFT -2&lt;SUP&gt;32&lt;/SUP&gt;&amp;nbsp;maximum size (**)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 12:00:28 GMT</pubDate>
    <dc:creator>ShanmukhS_Intel</dc:creator>
    <dc:date>2023-06-29T12:00:28Z</dc:date>
    <item>
      <title>'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-pow 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1496284#M34669</link>
      <description>&lt;P&gt;We are trying to track down an issue where we are unable to use the MKL FFT library to do certain sizes of 1d transforms. From experimentation it seems that any size is allowed if it less than 2^24 in length, but only powers of 2 are allowed past that point (so&amp;nbsp; 2^25, 26, etc).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The documentation would seem to indicate that arbitrary sizes are allowed up to a much higher limit than this, but perhaps there is a issue with how we are setting up the descriptor. Does anyone have suggestions for what our mistake may have been, or can anyone confirm that they have some example of a 1d FFT working for non-power-of-two sizes beyond 2^24?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are running through python, so below is a paired down example that pulls in the mkl runtime library using ctypes. This should be reproduceable using the version of mkl on pypi (2013.1.0).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import os, sys, ctypes, numpy, fnmatch

# pick up lib from pypi mkl wheel
libdir = os.path.join(sys.prefix, "lib")
libs = [fn for fn in os.listdir(libdir) if fnmatch.fnmatch(fn, 'libmkl_rt.so*')]
lib = ctypes.CDLL(os.path.join(libdir, libs[0]))

#MKL constants  taken from mkl_df_defines.h
DFTI_REAL = 33
DFTI_DOUBLE = 36

def check_status(status):
    if status:
        lib.DftiErrorMessage.restype = ctypes.c_char_p
        msg = lib.DftiErrorMessage(status)
        raise RuntimeError(msg)

def fft(N):
    invec = numpy.zeros(N, dtype=numpy.float64)   # Create input / output
    outvec = numpy.zeros(N//2 + 1, dtype=numpy.complex128)
    
    desc = ctypes.c_void_p(1)  # Setup descriptor
    f = lib.DftiCreateDescriptor
    f.argtypes = [ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_int]
    status = f(ctypes.byref(desc), DFTI_DOUBLE, DFTI_REAL, 1, N)
    lib.DftiCommitDescriptor(desc)
    check_status(status)

    f = lib.DftiComputeForward # Run fft
    f.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
    status = f(desc, invec.ctypes.data, outvec.ctypes.data)
    check_status(status)

for N in [2**24, 2**25, 2**24+100]:
    try:
        fft(int(N))
        print(f'{N} works')
    except RuntimeError as e:
        print(f'{N} fails')
        raise e&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The output is the following&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;16777216 works
33554432 works
16777316 fails
Traceback (most recent call last):
  File "/home/ahnitz/projects/debug/m2.py", line 40, in &amp;lt;module&amp;gt;
    raise e
  File "/home/ahnitz/projects/debug/m2.py", line 36, in &amp;lt;module&amp;gt;
    fft(int(N))
  File "/home/ahnitz/projects/debug/m2.py", line 32, in fft
    check_status(status)
  File "/home/ahnitz/projects/debug/m2.py", line 16, in check_status
    raise RuntimeError(msg)
RuntimeError: b'Intel MKL DFTI ERROR: Invalid configuration parameters'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 21:33:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1496284#M34669</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-06-15T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-pow 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1497060#M34682</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing the details. We have tried reproducing the shared code at our end. Please find the results below. we will get back to you soon with an update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;16777216 works&lt;/P&gt;&lt;P&gt;33554432 works&lt;/P&gt;&lt;P&gt;16777316 fails&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp;File "/home/abc/samply.py", line 40, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;raise e&lt;/P&gt;&lt;P&gt;&amp;nbsp;File "/home/abc/samply.py", line 36, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;fft(int(N))&lt;/P&gt;&lt;P&gt;&amp;nbsp;File "/home/abc/samply.py", line 32, in fft&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;check_status(status)&lt;/P&gt;&lt;P&gt;&amp;nbsp;File "/home/abc/samply.py", line 16, in check_status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;raise RuntimeError(msg)&lt;/P&gt;&lt;P&gt;RuntimeError: b'Intel MKL DFTI ERROR: Invalid configuration parameters'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jun 2023 14:30:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1497060#M34682</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-19T14:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and n</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1498263#M34698</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/170714"&gt;@ShanmukhS_Intel&lt;/a&gt;&amp;nbsp;thanks for verifying this problem. Can you confirm if the behavior is intended or not? The documentation seems to indicate that while ipp has some limitations that MKL is generic in regard to transform size.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/onemkl-ipp-choosing-an-fft.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/technical/onemkl-ipp-choosing-an-fft.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:58:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1498263#M34698</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-06-22T17:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1500317#M34721</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems the behavior is not an intended one as per the below data. We are discussing this issue internally. We will be back with an update soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="358"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="230"&gt;MKL&lt;/TD&gt;
&lt;TD width="64"&gt;IPP&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD rowspan="2" width="64"&gt;Transform Sizes&lt;/TD&gt;
&lt;TD width="230"&gt;32-bit platforms -&amp;nbsp;maximum size is 2^31-1&lt;/TD&gt;
&lt;TD width="64"&gt;FFT - Powers of 2 only (**)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="230"&gt;64-bit platforms - 2&lt;SUP&gt;64&lt;/SUP&gt;&amp;nbsp;maximum size&lt;/TD&gt;
&lt;TD width="64"&gt;DFT -2&lt;SUP&gt;32&lt;/SUP&gt;&amp;nbsp;maximum size (**)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 12:00:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1500317#M34721</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-06-29T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-pow 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1502389#M34777</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This should be reproduceable using the version of mkl on pypi (2013.1.0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; Seems the issue is reproducible with 2023.1.0  and considering the above as a typo. We would like you to correct us if we are wrong.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2023 17:25:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1502389#M34777</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-07-06T17:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and n</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1502390#M34778</link>
      <description>&lt;P&gt;Thanks for the catch, yes that was a typo! I did intend to say 2023.1.0 as you already surmised.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 17:29:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1502390#M34778</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-07-06T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1504763#M34817</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the confirmation. There was some discrepancy in the sizes being mentioned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working on your issue internally. We will get back to you soon with an update regarding the size confirmation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 14:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1504763#M34817</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-07-26T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-pow 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1508408#M34868</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have tested all the sizes mentioned earlier by you, by running the code sample provided by Intel MKL. We could see the size 16777316 worked fine, which failed in the previous case as you mentioned. However, we could see some inconsistencies with certain other valid sizes, and we are&amp;nbsp;investigating and working on the resolution. Thanks for letting us know. Below is the log for your reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Intel(R) oneAPI Math Kernel Library Version 2023.2-Product Build 20230613 for Intel(R) 64 architecture applications&lt;/P&gt;&lt;P&gt;Example basic_sp_real_dft_1d&lt;/P&gt;&lt;P&gt;Forward-Backward single-precision real-to-complex out-of-place 1D transform&lt;/P&gt;&lt;P&gt;Configuration parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_PRECISION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= DFTI_SINGLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_FORWARD_DOMAIN&amp;nbsp;&amp;nbsp;&amp;nbsp;= DFTI_REAL&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_DIMENSION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_LENGTHS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= {16777316}&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_PLACEMENT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= DFTI_NOT_INPLACE&lt;/P&gt;&lt;P&gt;&amp;nbsp;DFTI_CONJUGATE_EVEN_STORAGE&amp;nbsp;= DFTI_COMPLEX_COMPLEX&lt;/P&gt;&lt;P&gt;Create DFTI descriptor&lt;/P&gt;&lt;P&gt;Set configuration: out-of-place&lt;/P&gt;&lt;P&gt;Set configuration: CCE storage&lt;/P&gt;&lt;P&gt;Commit the descriptor&lt;/P&gt;&lt;P&gt;Allocate data arrays&lt;/P&gt;&lt;P&gt;Initialize data for real-to-complex FFT&lt;/P&gt;&lt;P&gt;Compute forward transform&lt;/P&gt;&lt;P&gt;Verify the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;Check if err is below errthr 7.15e-06&lt;/P&gt;&lt;P&gt;&amp;nbsp;Verified, maximum error was 2.92e-07&lt;/P&gt;&lt;P&gt;Initialize data for complex-to-real FFT&lt;/P&gt;&lt;P&gt;Compute backward transform&lt;/P&gt;&lt;P&gt;Verify the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;Check if err is below errthr 7.15e-06&lt;/P&gt;&lt;P&gt;&amp;nbsp;Verified, maximum error was 2.38e-07&lt;/P&gt;&lt;P&gt;Free DFTI descriptor&lt;/P&gt;&lt;P&gt;Free data arrays&lt;/P&gt;&lt;P&gt;TEST PASSED&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In addition, you could refer to the sample provided by Intel MKL under the below path for reference.&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\2023.2.0\examples\examples_core_c.zip\c\dft\source\basic_sp_real_dft_1d.c&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2023 14:40:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1508408#M34868</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-07-26T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and n</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1515107#M34967</link>
      <description>&lt;P&gt;Is there any update on this? Does it seem sensible that whatever issue was identified would explain why this doesn't work with the python distributed versions rather than directly compiling this version?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 17:38:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1515107#M34967</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-08-17T17:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1523195#M35108</link>
      <description>&lt;P&gt;Is there any update on this issue? Is a resolution still being worked out or is there any information to clarify what the problem is?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 02:39:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1523195#M35108</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-09-13T02:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1535973#M35346</link>
      <description>&lt;P&gt;This issue is still unresolved in the latest versions. e.g.&amp;nbsp;mkl-2023.2.0-py2.py3-none-manylinux1_x86_64.whl, the same test script posted above still fails. Is there any progress on the resolution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:27:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1535973#M35346</guid>
      <dc:creator>ahnitz</dc:creator>
      <dc:date>2023-10-20T19:27:45Z</dc:date>
    </item>
    <item>
      <title>Re:'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-pow 2</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1550359#M35540</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The reason the Python calls behave differently from those in C is that they are NOT the same calls.&amp;nbsp;DftiCreateDescriptor&amp;nbsp;is a preprocessor macro (as seen in&lt;/P&gt;&lt;P&gt;mkl_dfti.h) that may be "resolved" to any of 4 special cases ({single,double}x{1d,md}), before falling back to the original library "symbol"&amp;nbsp;DftiCreateDescriptor.&lt;/P&gt;&lt;P&gt;For the double-precision, 1D case here,&amp;nbsp;DftiCreateDescriptor&amp;nbsp;is "resolved" by the preprocessor to&amp;nbsp;DftiCreateDescriptor_d_1d&amp;nbsp;(with a different signature), which&lt;/P&gt;&lt;P&gt;"resolution" does NOT happen with Python's&amp;nbsp;ctypes.CDLL('libmkl_rt.so').DftiCreateDescriptor. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hence, a different (unsupported) code path is taken in Python, whereas in C&lt;/P&gt;&lt;P&gt;there is no issue in this case.&lt;/P&gt;&lt;P&gt;For this and other intricacies (including possible type mismatches), extracting the symbols from the library (e.g.,&amp;nbsp;libmkl_rt.so) is NOT recommended or supported.&lt;/P&gt;&lt;P&gt;However, if the you still wish to go down this unsupported, unrecommended path, you can use&lt;/P&gt;&lt;P&gt;f = lib.DftiCreateDescriptor_d_1d&lt;/P&gt;&lt;P&gt;f.argtypes = [ctypes.POINTER(ctypes.c_void_p), ctypes.c_int,&lt;/P&gt;&lt;P&gt;              ctypes.c_long]&lt;/P&gt;&lt;P&gt;status = f(ctypes.byref(desc), DFTI_REAL, N)&lt;/P&gt;&lt;P&gt;instead of the&lt;/P&gt;&lt;P&gt;f = lib.DftiCreateDescriptor&lt;/P&gt;&lt;P&gt;f.argtypes = [ctypes.c_void_p, ctypes.c_int, ctypes.c_int, ctypes.c_int]&lt;/P&gt;&lt;P&gt;status = f(ctypes.byref(desc), DFTI_DOUBLE, DFTI_REAL, 1, N)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regrets for the delay in the response.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2023 19:21:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1550359#M35540</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-12-04T19:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: 'Intel MKL DFTI ERROR: Invalid configuration parameters' for 1d FFT with size &gt; 2^24 and non-</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1556717#M35656</link>
      <description>&lt;P&gt;Hi Alexander,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;A gentle reminder:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Has the information provided earlier helped? Could you please get back to us if you have any update on your issue or you could raise a new thread if you have any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 08:54:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-DFTI-ERROR-Invalid-configuration-parameters-for-1d-FFT/m-p/1556717#M35656</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-12-22T08:54:11Z</dc:date>
    </item>
  </channel>
</rss>

