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