octave-3.2.0 configure and fftw3
Wolfgang Pichl
wolfgang.pichl at univie.ac.at
Mon Jul 6 06:34:58 CDT 2009
On Sat, 4 Jul 2009, Jaroslav Hajek wrote:
> Octave 3.2.0 supports single precision, that's why it needs single
> precision support in FFTW.
> I built FFTW 3.1.2 from sources some six months ago, and both libfftw3
> and libfftw3f are installed without problems. I really don't recall
> doing any nasty tricks beyond the standard holy trio (configure; make;
> make install).
> Also, the fftw3 package from my Ubuntu distro provides both precision.
> So, recompiling FFTW3 with support for both precisions should be your
> easiest way forward.
>
Hi,
this is really strange, maybe I did something wrong configuring fftw3 ?
There are configure options --enable-float and --enable-long-double; if
none of these is given, only the double precision version is built. If I
use one of these options (both are not allowed), also only one library
for the corresponding precision is built. For me the only way to get
versions for different precisions at the same time seems to be to use
independent copies of the source tree for each built. This is, what I meant
by nasty tricks, it is not really nasty of course, the headers and
documentation will be overwritten during each install, which should not
matter, but I am not sure if it is possible to keep separated the pkgconf
files.
My apologies, if this is off-topic here, it relates to fftw3 rather than
to octave, but the problem became appearant during the compilation of
octave.
best regards
Wolfgang Pichl
More information about the Bug-octave
mailing list