With the new configure file, I can build deal.II successfully by: ./configure --with-umfpack-include=/usr/include/suitesparse --with-umfpack-libs=/usr/lib --with-petsc=/usr/lib/petscdir/3.1 --with-petsc-arch=linux-gnu-c-opt --enable-mpi --disable-threads --with-trilinos-include=/usr/include/trilinos --with-trilinos-libs=/usr/lib #--with-blas --with-lapack
However, there is a small problem in building a step: though I have tried to add --with-blas --with-lapack I still have to modify the Makefile in step-17 and step-33 for instances by LIBS += -lblas -llapack -lpetsc -ltrilinos_xxx ... in order to build step-17 (use petsc) and step-33 (use trilinos). ps: DEAL_II_TRILINOS_LIBPREFIX is empty without modification. Thank you for your patience and help! Sincerely, Jichao *Jichao Yin* Email: [email protected] LinkedIn: http://www.linkedin.com/in/jichao On Mon, Oct 17, 2011 at 2:50 PM, Wolfgang Bangerth <[email protected]>wrote: > > > I do find the file /usr/include/trilinos/TrilinosConfig.cmake, where > > > > SET(Trilinos_LIBRARIES > > "trilinos_msqutil; ... > > Ah, I see now. We had some code in ./configure because Debian insists on > installing the libraries under a different name. Unfortunately, this piece > of > code was later overwritten by other changes because we did not test on > Debian... > > There are two options: > 1/ Find the place in common/Make.global_options where we set > DEAL_II_TRILINOS_LIBPREFIX=...something... > and simply remove the right hand side of the assignment (i.e. assign it to > the > empty string) > > 2/ Replace your ./configure script by the one here: > http://dealii.org/svn/dealii/trunk/deal.II/configure > > Best > W. > > ------------------------------------------------------------------------- > Wolfgang Bangerth email: [email protected] > www: http://www.math.tamu.edu/~bangerth/ >
_______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
