cannam@95: cannam@95:
cannam@95:cannam@95: Next: Acknowledgments, cannam@95: Previous: Upgrading from FFTW version 2, cannam@95: Up: Top cannam@95:
cannam@95: This chapter describes the installation and customization of FFTW, the cannam@95: latest version of which may be downloaded from cannam@95: the FFTW home page. cannam@95: cannam@95:
In principle, FFTW should work on any system with an ANSI C compiler
cannam@95: (gcc
is fine). However, planner time is drastically reduced if
cannam@95: FFTW can exploit a hardware cycle counter; FFTW comes with cycle-counter
cannam@95: support for all modern general-purpose CPUs, but you may need to add a
cannam@95: couple of lines of code if your compiler is not yet supported
cannam@95: (see Cycle Counters). (On Unix, there will be a warning at the end
cannam@95: of the configure
output if no cycle counter is found.)
cannam@95:
cannam@95:
cannam@95:
Installation of FFTW is simplest if you have a Unix or a GNU system, cannam@95: such as GNU/Linux, and we describe this case in the first section below, cannam@95: including the use of special configuration options to e.g. install cannam@95: different precisions or exploit optimizations for particular cannam@95: architectures (e.g. SIMD). Compilation on non-Unix systems is a more cannam@95: manual process, but we outline the procedure in the second section. It cannam@95: is also likely that pre-compiled binaries will be available for popular cannam@95: systems. cannam@95: cannam@95:
Finally, we describe how you can customize FFTW for particular needs by cannam@95: generating codelets for fast transforms of sizes not supported cannam@95: efficiently by the standard FFTW distribution. cannam@95: cannam@95: cannam@95:
cannam@95: cannam@95: cannam@95: cannam@95: