Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Martin_Gumbau
Beginner
70 Views

mkl fft3w choosing PRECISION SINGLE OR DOUBLE

Hi,

I have installed Intel Composer XE 14.0.2.144.

I can compile fft2w 'single' precision version and 'double' precision version adding  a  compilation parameter:

[PRECISION={MKL_DOUBLE|MKL_SINGLE}]

I do not known how to do the same in fftw3. The make command does not show me this option.

So I do not known how to compile my apps in single or double precision linking mkl fftw3 libraries.

Thanks in advance.

0 Kudos
4 Replies
Evarist_F_Intel
Employee
70 Views

Hi, Martin! FFTW3 interface are compiled for both precision at once. Just use fftw_* for double precision or fftwf_* for single precision in your application. Also, please note, that MKL has built-in interface for FFTW3. You can just link your fftw3-application with MKL instead of FFTW3 and it should work (using MKL).
Martin_Gumbau
Beginner
70 Views

Great Evarist,

I saw that you say in the code file names in .../mkl/interfaces/fftw3xc/wrapper but I wasn't sure about this.

Now all be clear.

Thanks a lot.

Evarist_F_Intel
Employee
70 Views

You are welcome!
Martin_Gumbau
Beginner
70 Views

SOLVED

Reply