Re: Using FFTW with IDL?? [message #37326] |
Tue, 09 December 2003 16:06  |
Richard French
Messages: 173 Registered: December 2000
|
Senior Member |
|
|
On 12/9/03 11:32 AM, in article
330af58b.0312090832.64a41e2c@posting.google.com, "Jeff" <jnettle1@utk.edu>
wrote:
> Just out of curiosity, why would you use this kind of dll over IDL's fft
> function?
>
> Cheers,
> Jeff
>
1) You can do REAL FFTs rather then complex ones, cutting the size of the
arrays in half, which can be significant for very large arrays that press
the limits of available RAM;
2) For large arrays, the FFTs are about three times faster, using FFTW, in
the applications I use.
I've succeeded in getting FFTW2.3.1 working on Solaris and COMPAQ Tru64,
using a DLM to make the routine callable from IDL. What I have NOT succeeded
in doing is getting FFTW3.0 working with a DLM under MAC OS X. I can't
successfully compile the DLM. I get error messages:
ld: warning multiple definitions of symbol _XauDisposeAuth
/usr/X11R6/lib/libX11.6.dylib(AuDispose.o) definition of _XauDisposeAuth
/usr/X11R6/lib/libXp.6.dylib(AuDispose.o) definition of _XauDisposeAuth
ld: warning multiple definitions of symbol _XauReadAuth
/usr/X11R6/lib/libX11.6.dylib(AuRead.o) definition of _XauReadAuth
/usr/X11R6/lib/libXp.6.dylib(AuRead.o) definition of _XauReadAuth
ld: /usr/local/lib/libfftw3.a(q1_3.o) has external relocation entries in
non-writable section (__TEXT,__text) for symbols:
restFP
saveFP
make[1]: *** [rfftwnd.so] Error 1
make: *** [all] Error 2
I have not been able to figure out how to load what is libidl.so in Solaris
but which appears to be a host of other shared object libraries under Mac OS
X.
Dick French
|
|
|