[4a53d15] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY fftw-download-http "http://www.fftw.org/fftw-&fftw-version;.tar.gz">
|
---|
| 8 | <!ENTITY fftw-download-ftp "ftp://ftp.fftw.org/pub/fftw/fftw-&fftw-version;.tar.gz ">
|
---|
[7fe2fc8] | 9 | <!ENTITY fftw-md5sum "8aac833c943d8e90d51b697b27d4384d">
|
---|
[f2573c89] | 10 | <!ENTITY fftw-size "3.9 MB">
|
---|
[7fe2fc8] | 11 | <!ENTITY fftw-buildsize "57 MB (add 1 MB for tests)">
|
---|
| 12 | <!ENTITY fftw-time "0.3 SBU (using parallelism=4; add 1.9 SBU for tests)">
|
---|
[4a53d15] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="fftw" xreflabel="fftw-&fftw-version;">
|
---|
| 16 | <?dbhtml filename="fftw.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>fftw-&fftw-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="fftw">
|
---|
| 26 | <primary sortas="a-fftw">fftw</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to fftw</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | FFTW is a C subroutine library for computing the discrete Fourier
|
---|
| 34 | transform (DFT) in one or more dimensions, of arbitrary input size, and
|
---|
| 35 | of both real and complex data (as well as of even/odd data, i.e. the
|
---|
| 36 | discrete cosine/sine transforms or DCT/DST).
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[eb1089d] | 39 | &lfs83_checked;
|
---|
[4a53d15] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&fftw-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&fftw-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &fftw-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &fftw-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &fftw-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &fftw-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">
|
---|
| 76 | User Notes: <ulink url="&blfs-wiki;/fftw"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of fftw</title>
|
---|
| 83 |
|
---|
| 84 | <para>
|
---|
| 85 | Install <application>fftw</application> by running the following commands:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
[647534ed] | 88 | <screen><userinput>./configure --prefix=/usr --enable-shared --enable-threads &&
|
---|
[4a53d15] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 92 |
|
---|
| 93 | <para>
|
---|
| 94 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
[7f7e7f6] | 100 | <sect2 role="commands">
|
---|
| 101 | <title>Command Explanations</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | <command>--enable-shared --disable-static</command>: Use shared libs
|
---|
| 105 | instead of static libs.
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para>
|
---|
| 109 | <command>--enable-threads</command>: This enables <filename
|
---|
| 110 | class="libraryfile"> libfftw3_threads.so</filename> to be compiled.
|
---|
| 111 | It is used by e.g. the <application>gimp</application> plugin from
|
---|
| 112 | <ulink url="http://gmic.eu/">G'MIC</ulink>.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
[d872f26] | 115 | <para>
|
---|
| 116 | <option>--enable-float</option>: This enables floating point, and
|
---|
| 117 | will cause the library to be called <filename
|
---|
| 118 | class="libraryfile">libfftw3f.so</filename> (needed by <ulink
|
---|
| 119 | url="http://www.rawtherapee.com/">RawTherapee</ulink> (and similarly
|
---|
| 120 | for the threaded library if that is built (not needed by RawTherapee).
|
---|
| 121 | These versions are not usable by packages in this book which use <filename
|
---|
| 122 | class="libraryfile">libfftw3</filename> so if you need both you will
|
---|
| 123 | need to build <application>fftw</application> twice.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[7f7e7f6] | 126 | </sect2>
|
---|
| 127 |
|
---|
[4a53d15] | 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
| 132 | <segtitle>Installed Programs</segtitle>
|
---|
| 133 | <segtitle>Installed Library</segtitle>
|
---|
| 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
| 137 | <seg>
|
---|
| 138 | fftw-wisdom and fftw-wisdom-to-conf
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
[d872f26] | 141 | libfftw3.so and libfftw3_threads.so, or libfftw3f.so and
|
---|
| 142 | libfftw3f_threads.so
|
---|
[4a53d15] | 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | None
|
---|
| 146 | </seg>
|
---|
| 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="fftw-wisdom">
|
---|
[973a31d] | 156 | <term><command>fftw-wisdom</command></term>
|
---|
[4a53d15] | 157 | <listitem>
|
---|
| 158 | <para>
|
---|
| 159 | is a utility to generate FFTW wisdom files, which contain saved
|
---|
| 160 | information about how to optimally compute (Fourier) transforms of
|
---|
| 161 | various sizes.
|
---|
| 162 | </para>
|
---|
| 163 | <indexterm zone="fftw fftw-wisdom">
|
---|
| 164 | <primary sortas="b-fftw-wisdom">fftw-wisdom</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="fftw-wisdom-to-conf">
|
---|
[973a31d] | 170 | <term><command>fftw-wisdom-to-conf</command></term>
|
---|
[4a53d15] | 171 | <listitem>
|
---|
| 172 | <para>
|
---|
| 173 | is a utility to generate C configuration routines from FFTW wisdom
|
---|
| 174 | files, where the latter contain saved information about how to
|
---|
| 175 | optimally compute (Fourier) transforms of various sizes.
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="fftw fftw-wisdom-to-conf">
|
---|
| 178 | <primary sortas="b-fftw-wisdom-to-conf">fftw-wisdom-to-conf</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
[d872f26] | 183 | <varlistentry id="libfftw3">
|
---|
| 184 | <term><filename class="libraryfile">libfftw3.so</filename></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
| 187 | is the Fast Fourier Transform library
|
---|
| 188 | </para>
|
---|
| 189 | <indexterm zone="fftw libfftw3">
|
---|
| 190 | <primary sortas="c-libfftw3">libfftw3.so</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="libfftw3_threads">
|
---|
| 196 | <term><filename class="libraryfile">libfftw3_threads.so</filename></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | is the threaded Fast Fourier Transform library
|
---|
| 200 | </para>
|
---|
| 201 | <indexterm zone="fftw libfftw3_threads">
|
---|
| 202 | <primary sortas="c-libfftw3_threads">libfftw3_threads.so</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="libfftw3f">
|
---|
| 208 | <term><filename class="libraryfile">libfftw3f.so</filename></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | is the floating-point Fast Fourier Transform library
|
---|
| 212 | </para>
|
---|
| 213 | <indexterm zone="fftw libfftw3f">
|
---|
| 214 | <primary sortas="c-libfftw3f">libfftw3f.so</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libfftw3f_threads">
|
---|
| 220 | <term><filename class="libraryfile">libfftw3f_threads.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | is the threaded floating-point Fast Fourier Transform library
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="fftw libfftw3f_threads">
|
---|
| 226 | <primary sortas="c-libfftw3f_threads">libfftw3f_threads.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
[4a53d15] | 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|