[petsc-dev] problem in tests

Barry Smith bsmith at mcs.anl.gov
Tue Nov 23 14:51:15 CST 2010


testexamples_C in: /Users/barrysmith/Src/petsc-dev/src/vec/vec/examples/tests
--------------Error detected during compile or link!-----------------------
See http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex37.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/opt/local/include -D__INSDIR__=src/vec/vec/examples/tests/ ex37.c
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -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 -Wno-unknown-pragmas -g3 -o ex37 ex37.o  -L/Users/barrysmith/Src/petsc-dev/arch-gnu/lib  -lpetsc -L/usr/X11R6/lib -lX11 -llapack -lblas -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -lmpichf90 -lgfortran -L/usr/local/lib/gcc/x86_64-apple-darwin10/4.6.0 -L/usr/local/lib -lgcc_s.10.5 -lgcc_ext.10.5 -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -ldl  
Undefined symbols:
  "_VecBlockGetSubVec", referenced from:
      _test_axpy_dot_max in ex37.o
      _test_axpy_dot_max in ex37.o
      _test_axpy_dot_max in ex37.o
      _test_axpy_dot_max in ex37.o
  "_VecBlockSetSubVec", referenced from:
      _test_view in ex37.o
      _test_view in ex37.o
      _test_view in ex37.o
      _test_view in ex37.o
      _test_view in ex37.o






More information about the petsc-dev mailing list