Thomas:<div>Please update to petsc-3.3, and build it with FFTW.</div><div>ex148.c was rewritten using FFTW.</div><div><br></div><div>Hong<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello list!<br>
<br>
I tried to test one of the FFT examples in src/mat/examples/tests/ by<br>
typing "make ex148" in this directory. Unfortunately the compilation<br>
failed:<br>
<br>
mpicxx -o ex148.o -c -Wall -Wwrite-strings -Wno-strict-aliasing<br>
-Wno-unknown-pragmas -O3 -fPIC<br>
-I/home/thomas/local/src/petsc-3.2-p6/include<br>
-I/home/thomas/local/src/petsc-3.2-p6/arch-linux2-cxx-release/include<br>
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi<br>
-D__INSDIR__=src/mat/examples/tests/ ex148.c<br>
ex148.c: In function ‘PetscInt main(PetscInt, char**)’:<br>
ex148.c:45:37: error: ‘InputTransformFFT’ was not declared in this scope<br>
ex148.c:54:39: error: ‘OutputTransformFFT’ was not declared in this scope<br>
make: [ex148.o] Error 1 (ignored)<br>
<br>
All the other FFT examples seem to use these two Transformation<br>
functions as well. Any ideas where these functions are defined ?<br>
<br>
Regards,<br>
Thomas<br>
</blockquote></div><br></div>