I fixed this problem in petsc-3.3 and petsc-dev.<div><a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/3287ab3cb0ed">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/3287ab3cb0ed</a></div><div><br></div><div>Hong<br><br><div class="gmail_quote">
On Tue, Jul 10, 2012 at 1:03 PM, Sean Farley <span dir="ltr"><<a href="mailto:sean@mcs.anl.gov" target="_blank">sean@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Jul 10, 2012 at 12:50 PM, Thomas Hisch <<a href="mailto:t.hisch@gmail.com">t.hisch@gmail.com</a>> wrote:<br>
</div><div><div class="h5">> However, compilation of the ex148 example in src/mat/examples/tests/<br>
> still failes! Maybe I did something wrong. diff shows no differenece<br>
> between ex148.c from petsc-dev and petsc-3.3-p1. I tried to compile<br>
> ex148 by typing 'make ex148' in src/mat/examples/tests/  - is this the<br>
> correct way ?<br>
><br>
> Again, here is the error message:<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-dev/include<br>
> -I/home/thomas/local/src/petsc-dev/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>
> mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas<br>
> -O3   -o ex148 ex148.o<br>
> -Wl,-rpath,/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib<br>
> -L/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib<br>
> -lpetsc -lX11 -Wl,-rpath,/home/thomas/local/src/petsc-dev/arch-linux2-cxx-release/lib<br>
> -lfftw3_mpi -lfftw3 -lpthread<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.11.339/mkl/lib/intel64<br>
> -L/opt/intel/composer_xe_2011_sp1.11.339/mkl/lib/intel64 -llapack<br>
> -lblas -Wl,-rpath,/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib<br>
> -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.7<br>
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7<br>
> -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu<br>
> -Wl,-rpath,/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.11.339/compiler/lib/intel64<br>
> -L/opt/intel/composer_xe_2011_sp1.11.339/compiler/lib/intel64<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64<br>
> -L/opt/intel/composer_xe_2011_sp1.10.319/compiler/lib/intel64<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64<br>
> -L/opt/intel/composer_xe_2011_sp1.10.319/ipp/lib/intel64<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/mkl/lib/intel64<br>
> -L/opt/intel/composer_xe_2011_sp1.10.319/mkl/lib/intel64<br>
> -Wl,-rpath,/opt/intel/composer_xe_2011_sp1.10.319/tbb/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21<br>
> -L/opt/intel/composer_xe_2011_sp1.10.319/tbb/lib/intel64/cc4.1.0_libc2.4_kernel2.6.16.21<br>
> -lmpi_f90 -lmpi_f77 -lgfortran -lm -lgfortran -lm -lgfortran -lm -lm<br>
> -lquadmath -lm -lmpi_cxx -lstdc++ -ldl -lmpi -lopen-rte -lopen-pal<br>
> -lnsl -lutil -lgcc_s -lpthread -ldl<br>
> g++: error: ex148.o: No such file or directory<br>
> make: [ex148] Error 1 (ignored)<br>
> /bin/rm -f ex148.o<br>
<br>
</div></div>Sorry for the bug, Thomas. It seems that a summer student last year caused this:<br>
<br>
<a href="http://petsc.cs.iit.edu/petsc/petsc-dev/rev/dc6053cf3c78" target="_blank">http://petsc.cs.iit.edu/petsc/petsc-dev/rev/dc6053cf3c78</a><br>
<br>
I would fix this but need to meet with my advisor soon. Could someone<br>
else look at this?<br>
</blockquote></div><br></div>