<div dir="ltr">I never build FFTW. Perhaps one of the developers that is familiar with it will chime ie. Looks like it does not use Cmake so you may be correct.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Apr 12, 2013 at 11:30 AM, Simon Rit <span dir="ltr">&lt;<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m not sure it&#39;s the reason: I don&#39;t expect a two fold improvement<br>
and the system has the same version installed, 3.3.2. Are we sure that<br>
the release flags are passed to FFTW? When I looked at the compilation<br>
log, I don&#39;t see -O3, here is an excerpt:<br>
<br>
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/cc -std=gnu99<br>
-DHAVE_CONFIG_H -I.<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel -I..<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/simd<br>
-Wno-uninitialized -Wno-unused-parameter -Wall -Wcast-align<br>
-Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch<br>
-Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused<br>
-Wwrite-strings -funit-at-a-time -Wno-strict-overflow  -MT<br>
cpy2d-pair.lo -MD -MP -MF .deps/cpy2d-pair.Tpo -c -o cpy2d-pair.lo<br>
/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel/cpy2d-pair.c<br>
libtool: compile:  /usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I.<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel -I..<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/simd -Wno-uninitialized<br>
-Wno-unused-parameter -Wall -Wcast-align -Wdisabled-optimization<br>
-Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral<br>
-Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time<br>
-Wno-strict-overflow -MT cpy2d-pair.lo -MD -MP -MF<br>
.deps/cpy2d-pair.Tpo -c<br>
/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel/cpy2d-pair.c -o<br>
cpy2d-pair.o<br>
mv -f .deps/cpy2d-pair.Tpo .deps/cpy2d-pair.Plo<br>
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/cc -std=gnu99<br>
-DHAVE_CONFIG_H -I.<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel -I..<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/simd<br>
-Wno-uninitialized -Wno-unused-parameter -Wall -Wcast-align<br>
-Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch<br>
-Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused<br>
-Wwrite-strings -funit-at-a-time -Wno-strict-overflow  -MT cpy2d.lo<br>
-MD -MP -MF .deps/cpy2d.Tpo -c -o cpy2d.lo<br>
/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel/cpy2d.c<br>
libtool: compile:  /usr/bin/cc -std=gnu99 -DHAVE_CONFIG_H -I.<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel -I..<br>
-I/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/simd -Wno-uninitialized<br>
-Wno-unused-parameter -Wall -Wcast-align -Wdisabled-optimization<br>
-Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral<br>
-Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time<br>
-Wno-strict-overflow -MT cpy2d.lo -MD -MP -MF .deps/cpy2d.Tpo -c<br>
/home/srit/src/itk4/lin64-dg/fftwd/src/fftwd/kernel/cpy2d.c -o cpy2d.o<br>
mv -f .deps/cpy2d.Tpo .deps/cpy2d.Plo<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, Apr 12, 2013 at 5:21 PM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt; wrote:<br>
&gt; Looks like the fftw folks have made some efficiency improvements.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Apr 12, 2013 at 11:18 AM, Simon Rit &lt;<a href="mailto:simon.rit@creatis.insa-lyon.fr">simon.rit@creatis.insa-lyon.fr</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I should have mentioned it: yes, it is!<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Apr 12, 2013 at 5:16 PM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Is your ITK built Release?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Fri, Apr 12, 2013 at 11:13 AM, Simon Rit<br>
&gt;&gt; &gt; &lt;<a href="mailto:simon.rit@creatis.insa-lyon.fr">simon.rit@creatis.insa-lyon.fr</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt; We have recently observed on a fedora distribution that FFTW is two<br>
&gt;&gt; &gt;&gt; times slower when one uses the ITK compilation<br>
&gt;&gt; &gt;&gt; (USE_SYSTEM_FFTW:BOOL=OFF, default) than when one uses the system fftw<br>
&gt;&gt; &gt;&gt; (USE_SYSTEM_FFTW:BOOL=ON).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; We have looked for an explanation in the flags (the Fedora flags are<br>
&gt;&gt; &gt;&gt; available here<br>
&gt;&gt; &gt;&gt; <a href="http://pkgs.fedoraproject.org/cgit/fftw.git/tree/fftw.spec" target="_blank">http://pkgs.fedoraproject.org/cgit/fftw.git/tree/fftw.spec</a>)<br>
&gt;&gt; &gt;&gt; but we have not managed to figure it out. Would someone happen to have<br>
&gt;&gt; &gt;&gt; an explanation and solution?<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks in advance,<br>
&gt;&gt; &gt;&gt; Simon<br>
&gt;&gt; &gt;&gt; _____________________________________<br>
&gt;&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; &gt;&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; &gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Unpaid intern in BillsBasement at noware dot com<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Unpaid intern in BillsBasement at noware dot com<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>