Thank you Dr. Bangerth, I finally figured out the errors were because of *libpython2.7.so* not linked but the system libtrilinos built with python support. Therefore, adding to Makefile of step-17 (petsc): *LIBS += -lpetsc -lpython2.7* $(target)$(EXEEXT) : $(libraries) .....
For step-33, *LIBS += -lpython2.7* As for the $LD_LIBRARY_PATH, since the problem with original Makefile (step-17) occurred during the linking, I guess still problem happened in configure (or its settings): ============================ Linking step-17 /usr/bin/ld: step-17.g.o: undefined reference to symbol 'VecSetValues' /usr/bin/ld: note: 'VecSetValues' is defined in DSO /usr/lib/libpetsc.so.3.1 so try adding it to the linker command line /usr/lib/libpetsc.so.3.1: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [step-17] Error 1 Nevertheless, at least it is possible to build deal.II with system installed umfpack/petsc/trilinos :) Though mpirun of step-17 and step-33 still failed, I am going to struggle myself a little longer before bothering you :) Sincerely, Jichao *Jichao Yin* Email: [email protected] LinkedIn: http://www.linkedin.com/in/jichao On Tue, Oct 18, 2011 at 5:43 AM, Wolfgang Bangerth <[email protected]>wrote: > > > /usr/bin/ld: step-17.g.o: undefined reference to symbol 'VecSetValues' > > /usr/bin/ld: note: 'VecSetValues' is defined in DSO > > /usr/lib/libpetsc.so.3.1 so try adding it to the linker command line > > /usr/lib/libpetsc.so.3.1: could not read symbols: Invalid operation > > What happens if you modify LD_LIBRARY_PATH as described here: > > http://dealii.sourceforge.net/index.php/Deal.II_Questions_and_Answers#I_can.27t_seem_to_link.2Frun_with_PETSc > ? > > WB > > ------------------------------------------------------------------------- > Wolfgang Bangerth email: [email protected] > www: http://www.math.tamu.edu/~bangerth/ >
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
