/[escript]/release/5.1/doc/install/trilinos.tex
ViewVC logotype

Annotation of /release/5.1/doc/install/trilinos.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6606 - (hide annotations)
Thu Jun 8 00:47:34 2017 UTC (4 years, 3 months ago) by jfenwick
File MIME type: application/x-tex
File size: 3492 byte(s)
Package list for trilinos
1 jfenwick 6605 \chapter{Trilinos}
2     \label{app:trilinos}
3    
4     In order to solve PDEs with complex coefficients, escript needs to be compiled with \texttt{Trilinos} support.
5     This requires that your version of Trilinos has certain features enabled.
6     Since some precompiled distributions of \texttt{Trilinos} are not built with these features, you may
7     need to compile \texttt{Trilinos} yourself as well.
8    
9     While we can't provide support for building \texttt{Trilinos}, we do list below, a configuration file which seems to work for
10     under Debian 9 ``stretch''\footnote{At time of writing, \texttt{stretch} is still in testing, but is due to release this month}.
11    
12     \section{Debian ``stretch'' configuration}
13    
14    
15     \subsection{Required packages}
16    
17 jfenwick 6606 The following packages should be installed to attempt this build:
18 jfenwick 6605
19 jfenwick 6606 \texttt{ cmake g++ libsuitesparse-dev libmumps-dev libboost-dev libparmetis-dev libcppunit-dev
20     }
21 jfenwick 6605
22    
23    
24     \subsection{Configuration file}
25    
26     \begin{verbatim}
27     #!/bin/sh
28    
29     # SuperLu has build issues and escript doesn't _need_ it.
30    
31     DIR=build_hybrid
32     ROOT=`pwd`
33     mkdir -p $DIR || exit 1
34     cd $DIR
35     cmake -D CMAKE_CXX_COMPILER=`which mpic++` \
36     -D CMAKE_C_COMPILER=`which mpicc` \
37     -D CMAKE_Fortran_COMPILER=`which mpif77` \
38     -D CMAKE_INSTALL_PREFIX=/opt/trilinos/ \
39     -D BUILD_SHARED_LIBS=ON \
40     -D TPL_ENABLE_BLAS=ON \
41     -D TPL_ENABLE_Boost=ON \
42     -D TPL_ENABLE_Cholmod=ON \
43     -D TPL_ENABLE_CppUnit=ON \
44     -D TPL_ENABLE_LAPACK=ON \
45     -D TPL_ENABLE_METIS=ON \
46     -D TPL_ENABLE_MPI=ON \
47     -D TPL_ENABLE_MUMPS=ON \
48     -D TPL_ENABLE_ParMETIS=ON \
49     -D TPL_ENABLE_Pthread=OFF \
50     -D TPL_ENABLE_SCALAPACK=ON \
51     -D TPL_ENABLE_Scotch=OFF \
52     -D TPL_ENABLE_SuperLU=OFF \
53     -D TPL_ENABLE_UMFPACK=ON \
54     -D TPL_BLAS_INCLUDE_DIRS=/usr/include/suitesparse \
55     -D TPL_Cholmod_INCLUDE_DIRS=/usr/include/suitesparse \
56     -D TPL_Cholmod_LIBRARIES='/usr/lib/x86_64-linux-gnu/libcholmod.so;/usr/lib/x86_64-linux-gnu/libamd.so;/usr/lib/x86_64-linux-gnu/libcolamd.so' \
57     -D TPL_SuperLU_INCLUDE_DIRS=/usr/include/superlu \
58     -D TPL_UMFPACK_INCLUDE_DIRS=/usr/include/suitesparse \
59     -D TPL_SCALAPACK_LIBRARIES=/usr/lib/libscalapack-openmpi.so \
60     -D Trilinos_ENABLE_Amesos2=ON \
61     -D Trilinos_ENABLE_Belos=ON \
62     -D Trilinos_ENABLE_Ifpack2=ON \
63     -D Trilinos_ENABLE_Kokkos=ON \
64     -D Trilinos_ENABLE_MueLu=ON \
65     -D Trilinos_ENABLE_OpenMP=ON \
66     -D Trilinos_ENABLE_Teuchos=ON \
67     -D Trilinos_ENABLE_Tpetra=ON \
68     -D Trilinos_ENABLE_AztecOO=OFF \
69     -D Trilinos_ENABLE_Galeri=OFF \
70     -D Trilinos_ENABLE_Ifpack=OFF \
71     -D Trilinos_ENABLE_Isorropia=OFF \
72     -D Trilinos_ENABLE_ML=OFF \
73     -D Trilinos_ENABLE_Thyra=OFF \
74     -D Trilinos_ENABLE_Zoltan=ON \
75     -D Trilinos_ENABLE_Zoltan2=ON \
76     -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION=ON \
77     -D Tpetra_INST_COMPLEX_DOUBLE=ON \
78     -D Tpetra_INST_INT_LONG=OFF \
79     -D Tpetra_INST_LONG_LONG=OFF \
80     -D Tpetra_INST_INT_LONG_LONG=OFF \
81     -D TpetraKernels_ENABLE_Experimental=ON \
82     -D Amesos_ENABLE_EpetraExt=OFF \
83     -D Amesos2_ENABLE_MUMPS=ON \
84     -D Amesos2_ENABLE_Epetra=OFF \
85     -D Amesos2_ENABLE_EpetraExt=OFF \
86     -D Belos_ENABLE_Epetra=OFF \
87     -D Belos_ENABLE_EpetraExt=OFF \
88     -D MueLu_ENABLE_Amesos=OFF \
89     -D MueLu_ENABLE_Epetra=OFF \
90     -D MueLu_ENABLE_EpetraExt=OFF \
91     -D Trilinos_ENABLE_TESTS=OFF \
92     -D MueLu_ENABLE_TESTS=OFF \
93     $ROOT 2>&1 | tee config.log
94     \end{verbatim}

  ViewVC Help
Powered by ViewVC 1.1.26