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: Dmitri A. Sergatskov
Subject: Re: [Fwd: Re: rfftw slower than fftw for "bad" size arrays]
Date: Sat, 31 Jan 2004 12:22:26 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

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.





reply via email to

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