FFTW-WISDOM-TO-CONF(1) fftw FFTW-WISDOM-TO-CONF(1) NNAAMMEE fftw-wisdom-to-conf - generate FFTW wisdom (pre-planned transforms) SSYYNNOOPPSSIISS ffffttww--wwiissddoomm--ttoo--ccoonnff [< _I_N_P_U_T] [> _O_U_T_P_U_T] DDEESSCCRRIIPPTTIIOONN _f_f_t_w_-_w_i_s_d_o_m_-_t_o_-_c_o_n_f is a utility to generate C ccoonnffiigguurraa-- ttiioonn routines from FFTW wwiissddoomm files, where the latter contain saved information about how to optimally compute (Fourier) transforms of various sizes. A configuration routine is a C subroutine that you link into your program, replacing a routine of the same name in the FFTW library, that determines which parts of FFTW are callable by your program. The reason to do this is that, if you only need transforms of a limited set of sizes and types, and if you are stati- cally linking your program, then using a configuration file generated from wisdom for those types can substan- tially reduce the size of your executable. (Otherwise, because of FFTW's dynamic nature, all of FFTW's transform code must be linked into any program using FFTW.) FFTW is a free library to compute discrete Fourier trans- forms in one or more dimensions, for arbitrary sizes, and of both real and complex data, among other related opera- tions. More information on FFTW can be found at the FFTW home page: _h_t_t_p_:_/_/_w_w_w_._f_f_t_w_._o_r_g _f_f_t_w_-_w_i_s_d_o_m_-_t_o_-_c_o_n_f reads wisdom from standard input and writes the configuration to standard output. It can eas- ily be combined with the _f_f_t_w_-_w_i_s_d_o_m tool, for example: fftw-wisdom -n cof1024 cob1024 -o wisdom fftw-wisdom-to-conf < wisdom > conf.c will create a configuration "conf.c" containing only those parts of FFTW needed for the optimized complex forwards and backwards out-of-place transforms of size 1024 (also saving the wisdom itself in "wisdom"). Alternatively, you can run your actual program, export wisdom for all plans that were created (ideally in FFTW_PATIENT or FFTW_EXHAUSTIVE mode), use this as input for _f_f_t_w_-_w_i_s_d_o_m_-_t_o_-_c_o_n_f, and then re-link your program with the resulting configuration routine. Note that the configuration routine does not contain the wisdom, only the routines necessary to implement the wis- dom, so your program should also import the wisdom in order to benefit from the pre-optimized plans. fftw February, 2003 1 FFTW-WISDOM-TO-CONF(1) fftw FFTW-WISDOM-TO-CONF(1) OOPPTTIIOONNSS --hh, ----hheellpp Display help on the command-line options and usage. --VV, ----vveerrssiioonn Print the version number and copyright information. BBUUGGSS Send bug reports to fftw@fftw.org. AAUUTTHHOORRSS Written by Steven G. Johnson and Matteo Frigo. Copyright (c) 2003, 2006 Matteo Frigo Copyright (c) 2003, 2006 Massachusetts Institute of Tech- nology SSEEEE AALLSSOO fftw-wisdom(1) fftw February, 2003 2