Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- DFTICommitDescriptor Acces Violation

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

callf

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-11-2012
04:57 AM

34 Views

DFTICommitDescriptor Acces Violation

Hi !

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, or higher. It happens everytime when the DFTICommitDescriptor is called. The message is:

"Unhandled exception at 0x00000000 in Console1.exe: 0xC0000005: Access violation."

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.

Here is the following implemented FFT code for the .DLL :

**!include 'mkl_dfti.f90'**

**module AnaVib_FFT_module**

**implicit none****contains**

**subroutine AnaVib_FFT(x,y,dim)**

**use MKL_DFTI****USE MKL95_PRECISION, ONLY: WP =>SP**

**integer, intent(in) :: dim ****complex, dimension(dim), intent(in) :: x****complex, dimension(dim), intent(inout) :: y****complex(8), dimension(dim) :: y_aux**

**type(DFTI_DESCRIPTOR), POINTER :: My_Desc_Handle**

**Integer :: Status****Status = -1**

**y_aux = DBLE(x)**

**Status = DftiCreateDescriptor(My_Desc_Handle, DFTI_DOUBLE, DFTI_COMPLEX,1,dim)****Status = DftiCommitDescriptor(My_Desc_Handle)Status = DftiComputeForward(My_Desc_Handle, y_aux)**

**y = y_aux**

**Status = DftiFreeDescriptor(My_Desc_Handle)**

**end subroutine AnaVib_FFT**

**end module AnaVib_FFT_module**

Thanks in advance.

Link Copied

8 Replies

Chao_Y_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-11-2012
07:20 PM

34 Views

callf

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-12-2012
04:58 AM

34 Views

Chao_Y_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-13-2012
08:14 PM

34 Views

The project needs a 'Source1.f90' file. Is that missed in the attachment.
Thanks,
Chao

callf

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-17-2012
05:08 AM

34 Views

Chao_Y_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-21-2012
12:46 AM

34 Views

Chao_Y_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-24-2012
07:40 PM

34 Views

callf

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-04-2012
01:42 PM

34 Views

Chao_Y_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

10-19-2012
12:07 AM

34 Views

For more complete information about compiler optimizations, see our Optimization Notice.