From 733848f38c1148d1374e725b27120743172d0c4e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 9 Jul 2014 11:54:27 +0000 Subject: [PATCH] Document how to compile Trilinos with direct solvers. git-svn-id: https://svn.dealii.org/trunk@33121 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/external-libs/trilinos.html | 33 +++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/deal.II/doc/external-libs/trilinos.html b/deal.II/doc/external-libs/trilinos.html index 5776eb809a..1e0a135138 100644 --- a/deal.II/doc/external-libs/trilinos.html +++ b/deal.II/doc/external-libs/trilinos.html @@ -4,7 +4,7 @@ The deal.II Readme on interfacing to Trilinos - + @@ -87,13 +87,18 @@ in the CMAKE_INSTALL_PREFIX line.

+ +
Parallel builds
+

- Parallel builds: If your computer has more than one processor core, use make -jN instead of make in the last line above, where N is the number of processors you have.

+ +
BLAS and LAPACK
+

Trilinos sometimes searches for other libraries but can't find them if they are not in the usual directories or have other @@ -111,6 +116,30 @@

+ +
Using external direct solvers
+ +

+ Trilinos (via its Amesos package) can interface with a number of direct + solvers (see, for example, + this page for Trilinos 11.8). Most of them are external + packages to Trilinos and you will need to tell Trilinos configuration + scripts that you want to use them, for example via the + TrilinosWrappers::SolverDirect class. This can be tricky, + but adding defines similar to the following to the cmake command line + will achieve the goal: +

+
+          -D TPL_ENABLE_UMFPACK:BOOL=ON \
+          -D TPL_ENABLE_SuperLU:BOOL=ON \
+          -D TPL_ENABLE_SuperLUDist:BOOL=ON \
+          -D TPL_UMFPACK_INCLUDE_DIRS="/usr/include" \
+          -D SuperLUDist_INCLUDE_DIRS:FILEPATH="/path/to/SuperLU_DIST_3.2/SRC" \
+-D TPL_SuperLUDist_LIBRARIES:FILEPATH="/path/to/SuperLU_DIST_3.2/lib/libsuperlu_dist.a" \
+          -D SuperLU_INCLUDE_DIRS:FILEPATH="/path/to/SuperLU_4.3/SRC" \
+          -D TPL_SuperLU_LIBRARIES:FILEPATH="/path/to/SuperLU_4.3/lib/libsuperlu_4.3.a"
+      

The deal.II Authors -- 2.39.5