Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Fortran FFT library

  1. Apr 22, 2012 #1
    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?


  2. jcsd
  3. Apr 26, 2012 #2
    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


  4. Apr 27, 2012 #3
    that is what I need.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook