annotate Lib/fftw-3.2.1/doc/html/.svn/text-base/Installation-on-non_002dUnix-systems.html.svn-base @ 4:345acbd06029

Vectorised most things to make lifer easier. Still no debug version though. Weird.
author Geogaddi\David <d.m.ronan@qmul.ac.uk>
date Fri, 10 Jul 2015 03:04:11 +0100
parents 25bf17994ef1
children
rev   line source
d@0 1 <html lang="en">
d@0 2 <head>
d@0 3 <title>Installation on non-Unix systems - FFTW 3.2.1</title>
d@0 4 <meta http-equiv="Content-Type" content="text/html">
d@0 5 <meta name="description" content="FFTW 3.2.1">
d@0 6 <meta name="generator" content="makeinfo 4.8">
d@0 7 <link title="Top" rel="start" href="index.html#Top">
d@0 8 <link rel="up" href="Installation-and-Customization.html#Installation-and-Customization" title="Installation and Customization">
d@0 9 <link rel="prev" href="Installation-on-Unix.html#Installation-on-Unix" title="Installation on Unix">
d@0 10 <link rel="next" href="Cycle-Counters.html#Cycle-Counters" title="Cycle Counters">
d@0 11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
d@0 12 <!--
d@0 13 This manual is for FFTW
d@0 14 (version 3.2.1, 5 February 2009).
d@0 15
d@0 16 Copyright (C) 2003 Matteo Frigo.
d@0 17
d@0 18 Copyright (C) 2003 Massachusetts Institute of Technology.
d@0 19
d@0 20 Permission is granted to make and distribute verbatim copies of
d@0 21 this manual provided the copyright notice and this permission
d@0 22 notice are preserved on all copies.
d@0 23
d@0 24 Permission is granted to copy and distribute modified versions of
d@0 25 this manual under the conditions for verbatim copying, provided
d@0 26 that the entire resulting derived work is distributed under the
d@0 27 terms of a permission notice identical to this one.
d@0 28
d@0 29 Permission is granted to copy and distribute translations of this
d@0 30 manual into another language, under the above conditions for
d@0 31 modified versions, except that this permission notice may be
d@0 32 stated in a translation approved by the Free Software Foundation.
d@0 33 -->
d@0 34 <meta http-equiv="Content-Style-Type" content="text/css">
d@0 35 <style type="text/css"><!--
d@0 36 pre.display { font-family:inherit }
d@0 37 pre.format { font-family:inherit }
d@0 38 pre.smalldisplay { font-family:inherit; font-size:smaller }
d@0 39 pre.smallformat { font-family:inherit; font-size:smaller }
d@0 40 pre.smallexample { font-size:smaller }
d@0 41 pre.smalllisp { font-size:smaller }
d@0 42 span.sc { font-variant:small-caps }
d@0 43 span.roman { font-family:serif; font-weight:normal; }
d@0 44 span.sansserif { font-family:sans-serif; font-weight:normal; }
d@0 45 --></style>
d@0 46 </head>
d@0 47 <body>
d@0 48 <div class="node">
d@0 49 <p>
d@0 50 <a name="Installation-on-non-Unix-systems"></a>
d@0 51 <a name="Installation-on-non_002dUnix-systems"></a>
d@0 52 Next:&nbsp;<a rel="next" accesskey="n" href="Cycle-Counters.html#Cycle-Counters">Cycle Counters</a>,
d@0 53 Previous:&nbsp;<a rel="previous" accesskey="p" href="Installation-on-Unix.html#Installation-on-Unix">Installation on Unix</a>,
d@0 54 Up:&nbsp;<a rel="up" accesskey="u" href="Installation-and-Customization.html#Installation-and-Customization">Installation and Customization</a>
d@0 55 <hr>
d@0 56 </div>
d@0 57
d@0 58 <h3 class="section">9.2 Installation on non-Unix systems</h3>
d@0 59
d@0 60 <p>It should be relatively straightforward to compile FFTW even on non-Unix
d@0 61 systems lacking the niceties of a <code>configure</code> script. Basically,
d@0 62 you need to edit the <code>config.h</code> header (copy it from
d@0 63 <code>config.h.in</code>) to <code>#define</code> the various options and compiler
d@0 64 characteristics, and then compile all the `<samp><span class="samp">.c</span></samp>' files in the
d@0 65 relevant directories.
d@0 66
d@0 67 <p>The <code>config.h</code> header contains about 100 options to set, each one
d@0 68 initially an <code>#undef</code>, each documented with a comment, and most of
d@0 69 them fairly obvious. For most of the options, you should simply
d@0 70 <code>#define</code> them to <code>1</code> if they are applicable, although a few
d@0 71 options require a particular value (e.g. <code>SIZEOF_LONG_LONG</code> should
d@0 72 be defined to the size of the <code>long long</code> type, in bytes, or zero
d@0 73 if it is not supported). We will likely post some sample
d@0 74 <code>config.h</code> files for various operating systems and compilers for
d@0 75 you to use (at least as a starting point). Please let us know if you
d@0 76 have to hand-create a configuration file (and/or a pre-compiled binary)
d@0 77 that you want to share.
d@0 78
d@0 79 <p>To create the FFTW library, you will then need to compile all of the
d@0 80 `<samp><span class="samp">.c</span></samp>' files in the <code>kernel</code>, <code>dft</code>, <code>dft/scalar</code>,
d@0 81 <code>dft/scalar/codelets</code>, <code>rdft</code>, <code>rdft/scalar</code>,
d@0 82 <code>rdft/scalar/r2cf</code>, <code>rdft/scalar/r2cb</code>,
d@0 83 <code>rdft/scalar/r2r</code>, <code>reodft</code>, and <code>api</code> directories.
d@0 84 If you are compiling with SIMD support (e.g. you defined
d@0 85 <code>HAVE_SSE2</code> in <code>config.h</code>), then you also need to compile
d@0 86 the <code>.c</code> files in the <code>simd</code>, <code>simd/nonportable</code>,
d@0 87 <code>dft/simd</code>, and <code>dft/simd/codelets</code> directories.
d@0 88
d@0 89 <p>Once these files are all compiled, link them into a library, or a shared
d@0 90 library, or directly into your program.
d@0 91
d@0 92 <p>To compile the FFTW test program, additionally compile the code in the
d@0 93 <code>libbench2/</code> directory, and link it into a library. Then compile
d@0 94 the code in the <code>tests/</code> directory and link it to the
d@0 95 <code>libbench2</code> and FFTW libraries. To compile the <code>fftw-wisdom</code>
d@0 96 (command-line) tool (see <a href="Wisdom-Utilities.html#Wisdom-Utilities">Wisdom Utilities</a>), compile
d@0 97 <code>tools/fftw-wisdom.c</code> and link it to the <code>libbench2</code> and FFTW
d@0 98 libraries
d@0 99
d@0 100 <!-- -->
d@0 101 </body></html>
d@0 102