[petsc-users] FFT Matrix Examples/Tests: Compiletime error

Thomas Hisch t.hisch at gmail.com
Tue Jul 10 09:44:33 CDT 2012

Hello list!

I tried to test one of the FFT examples in src/mat/examples/tests/ by
typing "make ex148" in this directory. Unfortunately the compilation

mpicxx -o ex148.o -c -Wall -Wwrite-strings -Wno-strict-aliasing
-Wno-unknown-pragmas -O3 -fPIC
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi
-D__INSDIR__=src/mat/examples/tests/ ex148.c
ex148.c: In function ‘PetscInt main(PetscInt, char**)’:
ex148.c:45:37: error: ‘InputTransformFFT’ was not declared in this scope
ex148.c:54:39: error: ‘OutputTransformFFT’ was not declared in this scope
make: [ex148.o] Error 1 (ignored)

All the other FFT examples seem to use these two Transformation
functions as well. Any ideas where these functions are defined ?


More information about the petsc-users mailing list