I did a search by

locate TrilinosConfig.cmake

The file doesn't exist. Then I guess deal.II takes by
default /usr/lib/libtrilinos_trilinos_msqutil.so?
What are the default libtrilinos names of other linux distr like
opensuse/fedora?

Sincerely,
Jichao

*Jichao Yin*
Email: [email protected]
LinkedIn: http://www.linkedin.com/in/jichao

On Mon, Oct 17, 2011 at 11:28 AM, Wolfgang Bangerth
<[email protected]>wrote:

>
> > Now the compilation is okay but linking failed because of library names
> are
> > different:
> >
> > g++: error: /usr/lib/*libtrilinos_trilinos_msqutil.so*: No such file or
> > directory
> > ...
> > the system installed lib names existing are:
> > */usr/lib/libtrilinos_msqutil.so*
> > ...
> >
> > I need create soft links to make it available to deal.II settings,
> > wondering why the naming is so long, maybe that is because of trilinos
> > itself but debian made it simple.
>
> We get the list of Trilinos libraries out of a file called either
>  $DEAL_II_TRILINOS_LIBDIR/cmake/Trilinos/TrilinosConfig.cmake
> or
>  $DEAL_II_TRILINOS_INCDIR/TrilinosConfig.cmake
> with an appropriate value for $DEAL_II_TRILINOS_INCDIR. Can you check
> whether
> you have this file? If so, it should contain the definition of a variable
> called Trilinos_LIBRARIES that has a list of all the Trilinos libraries
> that
> we need to link with. I imagine it has a trilinos_trilinos_msqutil. If the
> corresponding /usr/lib/libtrilinos_trilinos_msqutil.so does not exist, then
> that's a bug in Trilinos and/or Debian...
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to