From: bangerth Date: Wed, 1 Jun 2011 11:42:57 +0000 (+0000) Subject: Document what happens when you configure trilinos with extra libs. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ff80cd91a38ef91969ce1b42f0d732694dd008;p=dealii-svn.git Document what happens when you configure trilinos with extra libs. git-svn-id: https://svn.dealii.org/trunk@23756 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/readme-petsc-trilinos.html b/deal.II/doc/readme-petsc-trilinos.html index 62dd525639..a2b92ca6f1 100644 --- a/deal.II/doc/readme-petsc-trilinos.html +++ b/deal.II/doc/readme-petsc-trilinos.html @@ -232,6 +232,35 @@ make install variables TRILINOS_INCDIR, TRILINOS_LIBDIR.

+

Dealing with other Trilinos packages

+ +

+ In the commands configuring Trilinos shown above, we have assumed a + particular subset of Trilinos libraries that deal.II interfaces + with. However, Trilinos has many more packages that deal.II doesn't + use, and you can add many more -D + Trilinos_ENABLE_XXX:BOOL=ON flags for + package XXX. Most of the time, no harm is done by doing + so, but there are cases where some of the packages deal.II does + interact with also interacts with package XXX if the + latter was enabled in Trilinos. One example is that Trilinos' ML + package (which we use) uses Trilinos' Zoltan package if Zoltan is + enable, but not if Zoltan is not enabled. That means that + the libml.so library may or may not depend on + a libzoltan.so library. +

+ +

+ Unfortunately, Trilinos' configuration framework does not record this + in libml.so, and it is also something that is difficult + for the deal.II configuration framework to find out after the + fact. Consequently, deal.II's Makefiles rely on the fact + that only the Trilinos packages listed above were enabled. If + that isn't the case, you may get linker warnings. The only way to + solve this problem is to add the additional Trilinos libraries at the + appropriate place in the list of DEAL_II_TRILINOS_LIBS + libraries in common/Make.global_options by hand. +