From: bangerth TRILINOS_INCDIR, TRILINOS_LIBDIR
.
+ 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.
+