Changeset e4a8439


Ignore:
Timestamp:
02/17/2019 05:20:47 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2d53833
Parents:
cd148f4
Message:

Build fftw three times for different numeerical precisions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21186 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/fftw.xml

    rcd148f4 re4a8439  
    1010  <!ENTITY fftw-size          "3.9 MB">
    1111  <!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)">
     12  <!ENTITY fftw-time          "1.6 SBU (using parallelism=4; add 1.9 SBU for tests)">
    1313]>
    1414
     
    8282    <title>Installation of fftw</title>
    8383
    84     <para>
     84    <note><para>We build fftw three times for different libraries that
     85    suport different numerical precisions.</para></note>
     86
     87    <para>
     88      The first build is for double precision arithmetic.
    8589      Install <application>fftw</application> by running the following commands:
    8690    </para>
    8791
    88 <screen><userinput>./configure --prefix=/usr  --enable-shared --enable-threads &amp;&amp;
     92<screen><userinput>./configure --prefix=/usr    \
     93            --enable-shared  \
     94            --enable-threads \
     95            --enable-sse2    \
     96            --enable-avx     &amp;&amp;
    8997make</userinput></screen>
    9098
     
    98106
    99107<screen role="root"><userinput>make install</userinput></screen>
     108
     109    <para>Now build single precision:</para>
     110
     111<screen><userinput>make clean &amp;&amp;
     112
     113./configure --prefix=/usr    \
     114            --enable-shared  \
     115            --enable-threads \
     116            --enable-sse2    \
     117            --enable-avx     \
     118            --enable-float   &amp;&amp;
     119make</userinput></screen>
     120
     121    <para>
     122      As the <systemitem class="username">root</systemitem> user:
     123    </para>
     124
     125<screen role="root"><userinput>make install</userinput></screen>
     126
     127    <para>Finally, build lomg double precision:</para>
     128
     129<screen><userinput>make clean &amp;&amp;
     130
     131./configure --prefix=/usr    \
     132            --enable-shared  \
     133            --enable-threads \
     134            --enable-long-double &amp;&amp;
     135make</userinput></screen>
     136
     137    <para>
     138      As the <systemitem class="username">root</systemitem> user:
     139    </para>
     140
     141<screen role="root"><userinput>make install</userinput></screen>
     142
    100143  </sect2>
    101144
Note: See TracChangeset for help on using the changeset viewer.