[petsc-users] [petsc-dev] FFT Matrix Examples/Tests: Compiletime error
Sean Farley
sean at mcs.anl.gov
Tue Jul 10 13:03:44 CDT 2012
On Tue, Jul 10, 2012 at 12:50 PM, Thomas Hisch <t.hisch at gmail.com> wrote:
> However, compilation of the ex148 example in src/mat/examples/tests/
> still failes! Maybe I did something wrong. diff shows no differenece
> between ex148.c from petsc-dev and petsc-3.3-p1. I tried to compile
> ex148 by typing 'make ex148' in src/mat/examples/tests/ - is this the
> correct way ?
>
> Again, here is the error message:
>
> mpicxx -o ex148.o -c -Wall -Wwrite-strings -Wno-strict-aliasing
> -Wno-unknown-pragmas -O3 -fPIC
> -I/home/thomas/local/src/petsc-dev/include
> -I/home/thomas/local/src/petsc-dev/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)
> mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas
> -O3 -o ex148 ex148.o
> -Wl,-rpath,/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib
> -L/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib
> -lpetsc -lX11 -Wl,-rpath,/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib
> -lfftw3_mpi -lfftw3 -lpthread
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.11.339/mkl/lib/intel64
> -L/opt/intel/composer_xe_2011_sp1.11.339/mkl/lib/intel64 -llapack
> -lblas -Wl,-rpath,/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib
> -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.7
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7
> -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu
> -Wl,-rpath,/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.11.339/compiler/lib/intel64
> -L/opt/intel/composer_xe_2011_sp1.11.339/compiler/lib/intel64
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64
> -L/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64
> -L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/mkl/lib/intel64
> -L/opt/intel/composer_xe_2011_sp1.10.319/mkl/lib/intel64
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/tbb/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
> -L/opt/intel/composer_xe_2011_sp1.10.319/tbb/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21
> -lmpi_f90 -lmpi_f77 -lgfortran -lm -lgfortran -lm -lgfortran -lm -lm
> -lquadmath -lm -lmpi_cxx -lstdc++ -ldl -lmpi -lopen-rte -lopen-pal
> -lnsl -lutil -lgcc_s -lpthread -ldl
> g++: error: ex148.o: No such file or directory
> make: [ex148] Error 1 (ignored)
> /bin/rm -f ex148.o
Sorry for the bug, Thomas. It seems that a summer student last year caused this:
http://petsc.cs.iit.edu/petsc/petsc-dev/rev/dc6053cf3c78
I would fix this but need to meet with my advisor soon. Could someone
else look at this?
More information about the petsc-users
mailing list