- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a trivial problem. What am I missing? Your suggestions would be greatly appreciated.
Thanks,
Dave
1d DFTs work fine. But when I try to compile the simplest, default 2d real DFT, I get the following error message from the compiler, which results from the DftiComputeForward statement.
"There is no matching specific function for this generic function reference. [DFTICOMPUTEFORWARD]"
My program is:
type(DFTI_DESCRIPTOR), pointer :: descriptor
real(8), dimension(1024,1024) :: a_in
integer, dimension(2) :: dfti_len
dfti_len(1)=16
dfti_len(2)=8
status=DftiCreateDescriptor(descriptor,DFTI_DOUBLE,DFTI_REAL,2,dfti_len)
status=DftiCommitDescriptor(descriptor)
status=DftiComputeForward(descriptor,a_in)
I compile/link with
ifort tst.f90 mkl_c.lib libguide40.lib
Thanks,
Dave
1d DFTs work fine. But when I try to compile the simplest, default 2d real DFT, I get the following error message from the compiler, which results from the DftiComputeForward statement.
"There is no matching specific function for this generic function reference. [DFTICOMPUTEFORWARD]"
My program is:
type(DFTI_DESCRIPTOR), pointer :: descriptor
real(8), dimension(1024,1024) :: a_in
integer, dimension(2) :: dfti_len
dfti_len(1)=16
dfti_len(2)=8
status=DftiCreateDescriptor(descriptor,DFTI_DOUBLE,DFTI_REAL,2,dfti_len)
status=DftiCommitDescriptor(descriptor)
status=DftiComputeForward(descriptor,a_in)
I compile/link with
ifort tst.f90 mkl_c.lib libguide40.lib
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
O.K. I can now compile by looking at an example in the appendix of the reference manual.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page