- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a program needs using fftw in MKL and I can get the right result in Linux edition. But when I compiled it in Windows edition, I got a absolutely wrong answer. So I wrote a simple program to test fftw and I found the computing result of FFTW_DHT(The Discrete Hartly Transform) would be all zeros. I complied this program with Visual Studio 2015 and Fortran compiler 2018.The simple program has been attached and I want to know how to solve it.
Best wishes!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please show the output results you obtained on lin and win. How did you link this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gennady,
I wrote a simple program to test FFTW_DHT and compiled it both on Lin and Win. The input data is /1.0 2.0 3.0 4.0/.
The output on linux is:
10.0 -4.0 -2.0 0.0
The output on Windows is:
0.0 0.0 0.0 0.0
The output on Linux is the right answer. I don't know why I will get all zeros on Windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way,I can get right answer if I use FFTW_REDFT01 or FFTW_Redft10 on Windows.
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