<?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 Hi! in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991550#M18009</link>
    <description>Hi!

We're using the 10.2 version of the MKL on an VS 2010. I could upload a .zip file of the project I use. I have left some comments inside the codelines   detailing a little bit more. But mainly, the error happens just by changing the variable DIM to 256 in the Console1.f90 program.

Thanks for the assistance</description>
    <pubDate>Wed, 12 Sep 2012 11:58:15 GMT</pubDate>
    <dc:creator>callf</dc:creator>
    <dc:date>2012-09-12T11:58:15Z</dc:date>
    <item>
      <title>DFTICommitDescriptor Acces Violation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991548#M18007</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;
&lt;P&gt;I am trying to use the Math Kernel Library to develop a Fourier analysis from a bigger program but I need to do it as a .DLL file. The problem is that I have been facing problem when I change the vector length to from 128 to the next power of 2, or 256,&amp;nbsp;or higher. It happens everytime when the DFTICommitDescriptor is called. The message is:&lt;/P&gt;
&lt;P&gt;"Unhandled exception at 0x00000000 in Console1.exe: 0xC0000005: Access violation."&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This problem doesn't show when the input size vector is smaller and when my functions are called together with my MAIN.f90 as an auxiliary functions as .f90 files.&lt;/P&gt;
&lt;P&gt;Here is the following implemented FFT code for the .DLL :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;!include 'mkl_dfti.f90'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;module AnaVib_FFT_module&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;implicit none&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;contains&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;STRONG&gt;subroutine AnaVib_FFT(x,y,dim)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;use MKL_DFTI&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;USE MKL95_PRECISION, ONLY: WP =&amp;gt;SP&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;integer, intent(in) :: dim &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;complex, dimension(dim), intent(in) :: x&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;complex, dimension(dim), intent(inout) :: y&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;complex(8), dimension(dim) :: y_aux&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;type(DFTI_DESCRIPTOR), POINTER :: My_Desc_Handle&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Integer :: Status&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Status = -1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;y_aux = DBLE(x)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Status = DftiCreateDescriptor(My_Desc_Handle, DFTI_DOUBLE, DFTI_COMPLEX,1,dim)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Status = DftiCommitDescriptor(My_Desc_Handle)Status = DftiComputeForward(My_Desc_Handle, y_aux)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;y = y_aux&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Status = DftiFreeDescriptor(My_Desc_Handle)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;end subroutine AnaVib_FFT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;end module AnaVib_FFT_module&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 11:57:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991548#M18007</guid>
      <dc:creator>callf</dc:creator>
      <dc:date>2012-09-11T11:57:28Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991549#M18008</link>
      <description>Hello,  

which version of Intel MKL are you using now?   If you can attached the MAIN.f90 file, and project files, that will be helpful to reproduce this problem. 

Thanks,
Chao</description>
      <pubDate>Wed, 12 Sep 2012 02:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991549#M18008</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-09-12T02:20:16Z</dc:date>
    </item>
    <item>
      <title>Hi!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991550#M18009</link>
      <description>Hi!

We're using the 10.2 version of the MKL on an VS 2010. I could upload a .zip file of the project I use. I have left some comments inside the codelines   detailing a little bit more. But mainly, the error happens just by changing the variable DIM to 256 in the Console1.f90 program.

Thanks for the assistance</description>
      <pubDate>Wed, 12 Sep 2012 11:58:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991550#M18009</guid>
      <dc:creator>callf</dc:creator>
      <dc:date>2012-09-12T11:58:15Z</dc:date>
    </item>
    <item>
      <title>The project needs a 'Source1</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991551#M18010</link>
      <description>The project needs a 'Source1.f90' file.  Is that missed in the attachment. 

Thanks,
Chao</description>
      <pubDate>Fri, 14 Sep 2012 03:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991551#M18010</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-09-14T03:14:03Z</dc:date>
    </item>
    <item>
      <title>Sorry, Chao. I've fixed that!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991552#M18011</link>
      <description>Sorry, Chao. I've fixed that!</description>
      <pubDate>Mon, 17 Sep 2012 12:08:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991552#M18011</guid>
      <dc:creator>callf</dc:creator>
      <dc:date>2012-09-17T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Hi,  Thanks for the code. I</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991553#M18012</link>
      <description>Hi,  Thanks for the code. I can reproduce the problem here. I am checking it for further information. 

Chao</description>
      <pubDate>Fri, 21 Sep 2012 07:46:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991553#M18012</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-09-21T07:46:28Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991554#M18013</link>
      <description>Hello, 
In the project file, there is a conflict setting: 
In Property&amp;gt;&amp;gt;Fortran&amp;gt;&amp;gt;Libraries&amp;gt;&amp;gt;Use MKL Kernel Library:  it set as Qmkl:sequential flag, which will use sequential MKL library. 
But in the Property&amp;gt;&amp;gt;Linker&amp;gt;&amp;gt;Input&amp;gt;&amp;gt;Additional Dependencies, it also added threaded MKL libraries.  
I remove one of them, and the error did not happen. 

Thanks,
Chao</description>
      <pubDate>Tue, 25 Sep 2012 02:40:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991554#M18013</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-09-25T02:40:19Z</dc:date>
    </item>
    <item>
      <title>I tried your recommendation,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991555#M18014</link>
      <description>I tried your recommendation, but it didn't work either. We will convert your methods to C++.
thanks for help Chao!</description>
      <pubDate>Thu, 04 Oct 2012 20:42:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991555#M18014</guid>
      <dc:creator>callf</dc:creator>
      <dc:date>2012-10-04T20:42:17Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991556#M18015</link>
      <description>Hello, 

I attached the fixed project file here. I could not reproduce the error after using the correct project settings. 

thanks,
chao</description>
      <pubDate>Fri, 19 Oct 2012 07:07:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DFTICommitDescriptor-Acces-Violation/m-p/991556#M18015</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2012-10-19T07:07:31Z</dc:date>
    </item>
  </channel>
</rss>

