Fortran Best Fortran Library for FFT - FFTPACK Example

  • Thread starter Thread starter xaratustra
  • Start date Start date
  • Tags Tags
    Fft Fortran
AI Thread Summary
Fortran users seeking an efficient library for Fast Fourier Transform (FFT) operations often consider FFTPACK, which is noted for its performance. A user inquired about examples for implementing FFTPACK in Fortran 95, particularly for processing large time files (260 MB) and storing results in HDF5 format. They compared it to their experience with C++ and FFTW, expressing concerns about speed. Recommendations included referencing "Numerical Recipes in Fortran," which offers comprehensive coverage of FFT algorithms and is available for free. It was suggested that pure Fortran implementations could yield better performance than wrappers for other libraries.
xaratustra
Messages
38
Reaction score
0
I am new to Fortran. Is there an ultimate best library for FFT for Fortran (95)?

I found this one FFTPACK. I am not sure if this is the best one. Is there anywhere a simple example how to use it?

I have huge time files (260 MB each) that I like to read in Fortran and perform FFT and store the results in HDF5 format. I almost do the same thing with C++ using FFTW, but I it is a bit slow. There is a wrapper for FFTW for Fortran, but I wondered if a pure Fortran routine will be faster?

thanks.

:smile:
 
Technology news on Phys.org
Check out 'Numerical Recipes in Fortran' the 2nd edition is available free from www.nr.com
Chapter 12 covers about all the FFT algorithms you will need. Note the copyright statement in the preface specifically permits you to use their source !

Pure fortran will be much faster

Regards

Sam
 
great!
that is what I need.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top