[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fftw: Usage of SSE in 64bit?




On Jun 20, 2011, at 11:42 PM, Steven G. Johnson wrote:

Charles G Montgomery wrote:
I wonder if this might have anything to do with the bug I just submitted for fftw3-3 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619324
That seems a 64bit problem not seen for 32bit.

That is a bug in your code, not in FFTW: you used INTEGER for plan variables, whereas the FFTW documentation explains that you should use INTEGER*8 so as to be wide enough to hold a pointer on both 32- and 64-bit machines.

I haven't had a chance yet to check, but that sounds like the likely explanation. I missed that in the documentation. It isn't mentioned again in the section on 'FFTW Constants in Fortran', which recommends just using the file /usr/include/fftw3.f, which has only INTEGER rather than (non-standard) INTEGER*8.

Thanks for your explanation.

regards   cgm


Reply to: