<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
For anyone running into this on FC4, the fftw package automatically
updated from version 2 to version 3 when I used yum update, but now
there's an fftw2 and fftw2-devel package.<br>
<br>
M<br>
<br>
Glynn Clements wrote:
<blockquote
 cite="mid17393.24508.461028.702914@cerise.gclements.plus.com"
 type="cite">
  <pre wrap="">Michael Rensing wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks everyone. I buess I was fooled into thinking that fftw3 would 
replace fftw2 in all cases when yum update automagically replaced it. 
I'll see if I can re-install fftw2.

Has anyone got a quick explanation why the two versions of fftw are not 
compatible?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
According to the FFTW FAQ:

        Question 3.1. Why not support the FFTW 2 interface in FFTW 3?
        
        FFTW 3 has semantics incompatible with earlier versions: its plans can
        only be used for a given stride, multiplicity, and other
        characteristics of the input and output arrays; these stronger
        semantics are necessary for performance reasons. Thus, it is
        impossible to efficiently emulate the older interface (whose plans can
        be used for any transform of the same size). We believe that it should
        be possible to upgrade most programs without any difficulty, however.

Note that the FFT functionality in GRASS creates a new plan for each
transform and discards it afterwards, so it would be a simple matter
to update lib/gmath/fft.c to use the FFTW v3 API instead.

Supporting both versions of the API would require more work, most of
which would be changes the configuration and build system.

  </pre>
</blockquote>
</body>
</html>