octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Re: rfftw slower than fftw for "bad" size arrays]


From: David Bateman
Subject: Re: [Fwd: Re: rfftw slower than fftw for "bad" size arrays]
Date: Sun, 1 Feb 2004 04:17:31 +0100
User-agent: Mutt/1.4.1i

You have to have HAVE_FFTW3 defined and HAVE_FFTW undefined in config.h...
config.log should probably test you what is the problem.

D.


According to Dmitri A. Sergatskov <address@hidden> (on 01/31/04):
> David Bateman wrote:
> >Ok, I've port Octave to also use FFTW 3.0.1, but I'm getting some odd 
> >results.
> >I attach a patch, and some rewritten test programs and some comparisons 
> >I've
> 
> David,
> 
> I have problems with your patch. I patched prestine octave-2.1.53 with 
> 'patch -p0 < patch'
> from octave root directory, and it was no warnings. The ./configure did not 
> pick up fftw3 library
> by itself, so I changed in Makeconf 'lfftw' to 'lfftw3'. (I suspect this is 
> the problem
> since it looks as it would use wrong includes later on.)
> When compiling I get the following errors:
> 
>  g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  
>  -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 
>  -march=athlon-mp -pipe oct-fftw.cc -o pic/oct-fftw.o
> oct-fftw.cc:296: error: prototype for `fftwnd_data*
>    octave_fftw_planner::create_plan2d(fftw_direction, unsigned int, unsigned
>    int)' does not match any in class `octave_fftw_planner'
> oct-fftw.cc:200: error: candidate is: fftwnd_data*
>    octave_fftw_planner::create_plan2d(fftw_direction, unsigned int, unsigned
>    int, std::complex<double>)
> oct-fftw.cc: In static member function `static int octave_fftw::fft(const
>    double*, Complex*, unsigned int, unsigned int)':
> oct-fftw.cc:423: error: no matching function for call to 
> `octave_fftw_planner::
>    create_rplan(fftw_direction, size_t&, size_t&, const double*&, 
>    Complex*&)'
> oct-fftw.cc:268: error: candidates are: fftw_plan_struct*
>    octave_fftw_planner::create_rplan(fftw_direction, unsigned int)
> oct-fftw.cc: In static member function `static int octave_fftw::fft(const
>    Complex*, Complex*, unsigned int, unsigned int)':
> oct-fftw.cc:437: error: no matching function for call to 
> `octave_fftw_planner::
>    create_plan(fftw_direction, size_t&, size_t&, const Complex*&, 
>    Complex*&)'
> oct-fftw.cc:241: error: candidates are: fftw_plan_struct*
>    octave_fftw_planner::create_plan(fftw_direction, unsigned int)
> oct-fftw.cc: In static member function `static int octave_fftw::ifft(const
>    Complex*, Complex*, unsigned int, unsigned int)':
> oct-fftw.cc:448: error: no matching function for call to 
> `octave_fftw_planner::
>    create_plan(fftw_direction, size_t&, size_t&, const Complex*&, 
>    Complex*&)'
> oct-fftw.cc:241: error: candidates are: fftw_plan_struct*
>    octave_fftw_planner::create_plan(fftw_direction, unsigned int)
> oct-fftw.cc: In static member function `static int octave_fftw::fft2d(const
>    double*, Complex*, unsigned int, unsigned int)':
> oct-fftw.cc:465: error: no matching function for call to 
> `octave_fftw_planner::
>    create_rplan2d(fftw_direction, size_t&, size_t&, const double*&, 
>    Complex*&)'
> oct-fftw.cc:328: error: candidates are: fftwnd_data*
>    octave_fftw_planner::create_rplan2d(fftw_direction, unsigned int, 
>    unsigned
>    int)
> oct-fftw.cc: In static member function `static int 
> octave_fftw::fft2d(Complex*,
>    unsigned int, unsigned int)':
> oct-fftw.cc:478: error: `in' undeclared (first use this function)
> oct-fftw.cc:478: error: (Each undeclared identifier is reported only once 
> for
>    each function it appears in.)
> oct-fftw.cc:478: error: `out' undeclared (first use this function)
> make[2]: *** [pic/oct-fftw.o] Error 1
> make[2]: Leaving directory `/tumbleweed/dima/src/octave-2.1.53/liboctave'
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/tumbleweed/dima/src/octave-2.1.53'
> make: *** [all] Error 2
> 
> 
> >Cheers
> >David
> >
> 
> Sincerely,
> 
> Dmitri.
> 
> 

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]