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