FFTW for Fortran
Hi,
I'm trying to use FFTW with Fortran. I've been told to use a file called libfft in the make file to allow Fortran to access the fftw functions. I don't find this file, even after making the: ./configure make make install or even when adding --enable-f77 (theoretically the default value) as an option after the ./configure command. Is there a trick I've been missing? Regards, Benjamin |
Re: FFTW for Fortran
If you are using fftw from www.fftw.org then you should have some library files like libfftw3.so and libfftw3f.so (This is what I see in my case as I have version 3 of fftw). I guess you should link to them either using -lfftw3f or using the archive files (*.a).
|
Re: FFTW for Fortran
I took FFTW from the official site, release 3.1.2. But the closest file I have is libfftw3.la, is this the one I have to use?
|
Re: FFTW for Fortran
Apparently, it's not the right one:
IPO link: "(snip)/fftw-3.1.2/libfftw3.la" file format not recognized ld: (snip)/fftw-3.1.2/libfftw3.la bad magic number (not a Mach-O file) |
All times are GMT -4. The time now is 22:07. |