[petsc-users] FFT Matrix Examples/Tests: Compiletime error
Thomas Hisch
t.hisch at gmail.com
Tue Jul 10 10:55:27 CDT 2012
On Tue, Jul 10, 2012 at 5:31 PM, Hong Zhang <hzhang at mcs.anl.gov> wrote:
> Thomas:
> Please update to petsc-3.3, and build it with FFTW.
> ex148.c was rewritten using FFTW.
No, there is no diff between the ex148.c file in petsc-3.2-p6 and
petsc-3.3-p1.
With the latest petsc-3.3-p1 I still get the same error message.
Regards
Thomas
>
> Hong
>
>> 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
>> failed:
>>
>> mpicxx -o ex148.o -c -Wall -Wwrite-strings -Wno-strict-aliasing
>> -Wno-unknown-pragmas -O3 -fPIC
>> -I/home/thomas/local/src/petsc-3.2-p6/include
>> -I/home/thomas/local/src/petsc-3.2-p6/arch-linux2-cxx-release/include
>> -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 ?
>>
>> Regards,
>> Thomas
>
>
More information about the petsc-users
mailing list