File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ******************************
2+ As a Trilinos external package
3+ ******************************
4+
5+ Kokkos Comm can be used as an external package in Trilinos as of https://github.com/trilinos/Trilinos/pull/14135.
6+
7+ .. code-block :: console
8+
9+ # acquire trilinos
10+ git clone https://github.com/trilinos/Trilinos.git
11+
12+ # symlink kokkos-comm source into Trilinos
13+ ln -s kokkos-comm trilinos/packages/kokkos-comm
14+
15+ # Build Trilinos
16+ cmake -S trilinos -B "$TRILINOS_BUILD" \
17+ -DCMAKE_INSTALL_PREFIX="$TRILINOS_INSTALL" \
18+ -DTPL_ENABLE_MPI=ON \
19+ -DTrilinos_ENABLE_KokkosComm=ON \
20+ -DTrilinos_ENABLE_Tpetra=ON \
21+ -DTpetra_ENABLE_TESTS=ON
22+
23+ Look for something like the following in the Trilinos configure output:
24+
25+ .. code-block :: text
26+ ...
27+ Final set of enabled top-level packages: Kokkos Teuchos KokkosKernels KokkosComm Tpetra 5
28+ ...
29+ Final set of enabled external packages/TPLs: MPI BLAS LAPACK DLlib 4
30+ ...
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ Documentation Content
4848 dev/testing
4949 dev/mpi
5050 dev/docs
51+ dev/trilinos
5152
5253
5354Indices and tables
You can’t perform that action at this time.
0 commit comments