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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top