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