Author: bdubbs
Date: Sun Feb 17 09:20:47 2019
New Revision: 21186
Log:
Build fftw three times for different numeerical precisions.
Modified:
trunk/BOOK/general/genlib/fftw.xml
Modified: trunk/BOOK/general/genlib/fftw.xml
==============================================================================
--- trunk/BOOK/general/genlib/fftw.xml Sun Feb 17 00:33:12 2019 (r21185)
+++ trunk/BOOK/general/genlib/fftw.xml Sun Feb 17 09:20:47 2019 (r21186)
@@ -9,7 +9,7 @@
<!ENTITY fftw-md5sum "8aac833c943d8e90d51b697b27d4384d">
<!ENTITY fftw-size "3.9 MB">
<!ENTITY fftw-buildsize "57 MB (add 1 MB for tests)">
- <!ENTITY fftw-time "0.3 SBU (using parallelism=4; add 1.9 SBU for
tests)">
+ <!ENTITY fftw-time "1.6 SBU (using parallelism=4; add 1.9 SBU for
tests)">
]>
<sect1 id="fftw" xreflabel="fftw-&fftw-version;">
@@ -81,11 +81,19 @@
<sect2 role="installation">
<title>Installation of fftw</title>
+ <note><para>We build fftw three times for different libraries that
+ suport different numerical precisions.</para></note>
+
<para>
+ The first build is for double precision arithmetic.
Install <application>fftw</application> by running the following
commands:
</para>
-<screen><userinput>./configure --prefix=/usr --enable-shared --enable-threads
&&
+<screen><userinput>./configure --prefix=/usr \
+ --enable-shared \
+ --enable-threads \
+ --enable-sse2 \
+ --enable-avx &&
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.
@@ -97,6 +105,41 @@
</para>
<screen role="root"><userinput>make install</userinput></screen>
+
+ <para>Now build single precision:</para>
+
+<screen><userinput>make clean &&
+
+./configure --prefix=/usr \
+ --enable-shared \
+ --enable-threads \
+ --enable-sse2 \
+ --enable-avx \
+ --enable-float &&
+make</userinput></screen>
+
+ <para>
+ As the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+ <para>Finally, build lomg double precision:</para>
+
+<screen><userinput>make clean &&
+
+./configure --prefix=/usr \
+ --enable-shared \
+ --enable-threads \
+ --enable-long-double &&
+make</userinput></screen>
+
+ <para>
+ As the <systemitem class="username">root</systemitem> user:
+ </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
</sect2>
<sect2 role="commands">
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page