[petsc-dev] MatCreate_fwk referencing error
Dmitry Karpeev
karpeev at mcs.anl.gov
Tue Mar 30 17:16:10 CDT 2010
I just pushed this change recently, so you might want to rebuild lib
and shared in src/mat.
Let me know if that fixes it.
Thanks.
Dmitry.
On Tue, Mar 30, 2010 at 4:03 PM, Shri <abhyshr at mcs.anl.gov> wrote:
> I'm getting an error while compiling ksp examples.
>
> bash-3.2$ make ex32
> /Users/Shri/petsc-dev/osx-debug-real/bin/mpicxx -o ex32.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g -I/Users/Shri/petsc-dev/osx-debug-real/include -I/Users/Shri/petsc-dev/include -I/usr/X11/include -I/Users/Shri/petsc-dev/osx-debug-real/include -D__INSDIR__=src/ksp/ksp/examples/tests/ ex32.c
> /Users/Shri/petsc-dev/osx-debug-real/bin/mpicxx -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wall -Wwrite-strings -Wno-strict-aliasing -g -o ex32 ex32.o -L/Users/Shri/petsc-dev/osx-debug-real/lib -L/Users/Shri/petsc-dev/osx-debug-real/lib -lpetsc -L/usr/X11/lib -lX11 -llapack -lblas -L/Users/Shri/petsc-dev/osx-debug-real/lib -L/usr/lib/i686-apple-darwin9/4.0.1 -L/usr/lib/gcc/i686-apple-darwin9/4.0.1 -ldl -lpmpich -lmpich -lgcc_s.10.5 -lSystem -lmpichf90 -lgfortran -L/usr/local/gfortran/libexec/gcc/i386-apple-darwin8.10.1/4.5.0 -L/usr/local/gfortran/libexec/gcc/i386-apple-darwin8.10.1 -L/usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1/4.5.0 -L/usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1 -L/usr/local/gfortran/lib -lmpichcxx -lstdc++ -lmpichcxx -lstdc++ -ldl -lpmpich -lmpich -lgcc_s.10.5 -lSystem -ldl
> Undefined symbols:
> "_MatCreate_Fwk", referenced from:
> _MatCreate_Fwk$non_lazy_ptr in libpetsc.a(matregis.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: [ex32] Error 1 (ignored)
> /bin/rm -f ex32.o
>
More information about the petsc-dev
mailing list