[Insight-users] ITK FFTW vs system FFTW

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 12 12:03:50 EDT 2013


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.



On Fri, Apr 12, 2013 at 11:30 AM, Simon Rit
<simon.rit at creatis.insa-lyon.fr>wrote:

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



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130412/85b58b55/attachment.htm>


More information about the Insight-users mailing list