FFTW is a free, open-source library that provides a set of fast C routines for computing the DFT using a common programming API across a wide variety of computer platforms and operating systems.
By default, FFTW is a C language interface but a Fortran interface is provided as well (and perhaps other “ports” have been made).
The FFTW library implementation is optimized for each specific computer architecture and/or processor.