d@0: d@0: d@0: Installation and Customization - FFTW 3.2.1 d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0: d@0:
d@0:

d@0: d@0: Next: , d@0: Previous: Upgrading from FFTW version 2, d@0: Up: Top d@0:


d@0:
d@0: d@0:

9 Installation and Customization

d@0: d@0:

d@0: This chapter describes the installation and customization of FFTW, the d@0: latest version of which may be downloaded from d@0: the FFTW home page. d@0: d@0:

In principle, FFTW should work on any system with an ANSI C compiler d@0: (gcc is fine). However, planner time is drastically reduced if d@0: FFTW can exploit a hardware cycle counter; FFTW comes with cycle-counter d@0: support for all modern general-purpose CPUs, but you may need to add a d@0: couple of lines of code if your compiler is not yet supported d@0: (see Cycle Counters). (On Unix, there will be a warning at the end d@0: of the configure output if no cycle counter is found.) d@0: d@0: Installation of FFTW is simplest if you have a Unix or a GNU system, d@0: such as GNU/Linux, and we describe this case in the first section below, d@0: including the use of special configuration options to e.g. install d@0: different precisions or exploit optimizations for particular d@0: architectures (e.g. SIMD). Compilation on non-Unix systems is a more d@0: manual process, but we outline the procedure in the second section. It d@0: is also likely that pre-compiled binaries will be available for popular d@0: systems. d@0: d@0:

Finally, we describe how you can customize FFTW for particular needs by d@0: generating codelets for fast transforms of sizes not supported d@0: efficiently by the standard FFTW distribution. d@0: d@0: d@0:

d@0: d@0: d@0: d@0: