Best Fortran Library for FFT - FFTPACK Example

  • Context: Fortran 
  • Thread starter Thread starter xaratustra
  • Start date Start date
  • Tags Tags
    Fft Fortran
Click For Summary
SUMMARY

The discussion centers on the use of FFTPACK as the preferred library for performing Fast Fourier Transforms (FFT) in Fortran 95. Users express a need for a straightforward example of its implementation, particularly for processing large time files (260 MB each) and storing results in HDF5 format. Comparisons are made with FFTW, noting that pure Fortran routines are expected to yield better performance. Additionally, 'Numerical Recipes in Fortran' is recommended as a valuable resource for understanding FFT algorithms.

PREREQUISITES
  • Familiarity with Fortran 95 programming
  • Understanding of Fast Fourier Transform (FFT) concepts
  • Knowledge of HDF5 file format for data storage
  • Basic experience with performance optimization techniques in programming
NEXT STEPS
  • Explore FFTPACK documentation and examples for Fortran 95
  • Learn about HDF5 integration with Fortran for data storage
  • Investigate performance benchmarks of FFTPACK versus FFTW
  • Read 'Numerical Recipes in Fortran' for comprehensive FFT algorithm insights
USEFUL FOR

This discussion is beneficial for Fortran developers, computational scientists, and anyone involved in signal processing or data analysis requiring efficient FFT implementations.

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.
 

Similar threads

Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K