From 733848f38c1148d1374e725b27120743172d0c4e Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth
- 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.
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 @@
+ +
+ 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" +