[petsc-users] FFT Matrix Examples/Tests: Compiletime error
Jed Brown
jedbrown at mcs.anl.gov
Tue Jul 10 10:39:29 CDT 2012
On Tue, Jul 10, 2012 at 10:37 AM, Thomas Hisch <t.hisch at gmail.com> wrote:
> Hey,
>
> thx for your quick response! Is petsc-3.3 compatible with the current
> slepc-3.2 ??
>
No, but you can use slepc-dev.
http://www.grycap.upv.es/slepc/download/download.htm
>
> 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.
> >
> > 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120710/eb4ab6ca/attachment.html>
More information about the petsc-users
mailing list