-
Notifications
You must be signed in to change notification settings - Fork 0
Building MueLu
Trilinos requires c++11 to be available so an appropriate compiler must be selected, compatible Blas and Lapack libraries are also required.
Although not strictly necessary, it is very common to compile Trilinos/MueLu using an mpi library to perform parallel computations.
Note: if you are at Sandia, you can look into sems modules to get the required compiler/blas/lapack/mpi libraries
General option to configure CMake within Trilinos are provided in the Trilinos wiki and the Trilinos website.
The MueLu specific option that one wants to use to configure Trilinos with MueLu is the following:
-D Trilinos_ENABLE_MueLu=ON \
to also turn on tests and examples, on wants to add the following:
-D MueLu_ENABLE_TESTS=ON \
-D MueLu_ENABLE_EXAMPLES=ON \
to experiment with the kokkos refactored version of MueLu the following options are needed:
-D MueLu_ENABLE_Kokkos_Refactor=ON \
-D MueLu_ENABLE_Kokkos_Refactor_Use_By_Default=ON \
-D Trilinos_ENABLE_Xpetra=ON \
-D Xpetra_ENABLE_Kokkos_Refactor=ON \
Note: to access experimental features one need the following configuration flag
-D MueLu_ENABLE_Experimental=ON \but this is discouraged unless you are currently developing new capabilities in MueLu
Once CMake has configured Trilinos with MueLu successfully you only need to run make -j n to compile MueLu and make install -j n to install Trilinos.
Xpetra
MueLu
MueMex
Kokkos refactor
using git
building
debugging
checking code
unit-tests
cdash dashboard
nightly tests
memory checks