Debian Codegraph @

packages/shylu/shylu_dd/frosch/test/InterfaceSets/CMakeLists.txt

raw
1 TRIBITS_ADD_EXECUTABLE(
2 interfacesets
3 SOURCES main.cpp
4 )
5
6 IF(HAVE_SHYLU_DDFROSCH_EPETRA AND NOT Tpetra_DefaultNode STREQUAL "Tpetra::KokkosCompat::KokkosCudaWrapperNode")
7 ############################
8 # Communication Strategy 0 #
9 ############################
10 TRIBITS_ADD_TEST(
11 interfacesets
12 NAME test_interfacesets_DIM2_CSCommCrsMatrix_EPETRA
13 ARGS "--DIM=2 --M=4 --COMMSTRAT=0 --USEEPETRA"
14 COMM mpi
15 NUM_MPI_PROCS 4
16 )
17
18 TRIBITS_ADD_TEST(
19 interfacesets
20 NAME test_interfacesets_DIM3_CSCommCrsMatrix_EPETRA
21 ARGS "--DIM=3 --M=4 --COMMSTRAT=0 --USEEPETRA"
22 COMM mpi
23 NUM_MPI_PROCS 8
24 )
25
26 ############################
27 # Communication Strategy 1 #
28 ############################
29 TRIBITS_ADD_TEST(
30 interfacesets
31 NAME test_interfacesets_DIM2_CSCommCrsGraph_EPETRA
32 ARGS "--DIM=2 --M=4 --COMMSTRAT=1 --USEEPETRA"
33 COMM mpi
34 NUM_MPI_PROCS 4
35 )
36
37 TRIBITS_ADD_TEST(
38 interfacesets
39 NAME test_interfacesets_DIM3_CSCommCrsGraph_EPETRA
40 ARGS "--DIM=3 --M=4 --COMMSTRAT=1 --USEEPETRA"
41 COMM mpi
42 NUM_MPI_PROCS 8
43 )
44
45 ############################
46 # Communication Strategy 2 #
47 ############################
48 TRIBITS_ADD_TEST(
49 interfacesets
50 NAME test_interfacesets_DIM2_CSOneToOne_EPETRA
51 ARGS "--DIM=2 --M=4 --COMMSTRAT=2 --USEEPETRA"
52 COMM mpi
53 NUM_MPI_PROCS 4
54 )
55
56 TRIBITS_ADD_TEST(
57 interfacesets
58 NAME test_interfacesets_DIM3_CSOneToOne_EPETRA
59 ARGS "--DIM=3 --M=4 --COMMSTRAT=2 --USEEPETRA"
60 COMM mpi
61 NUM_MPI_PROCS 8
62 )
63 ENDIF()
64
65 ############################
66 # Communication Strategy 0 #
67 ############################
68 TRIBITS_ADD_TEST(
69 interfacesets
70 NAME test_interfacesets_DIM2_CSCommCrsMatrix_TPETRA
71 ARGS "--DIM=2 --M=4 --COMMSTRAT=0 --USETPETRA"
72 COMM mpi
73 NUM_MPI_PROCS 4
74 )
75
76 TRIBITS_ADD_TEST(
77 interfacesets
78 NAME test_interfacesets_DIM3_CSCommCrsMatrix_TPETRA
79 ARGS "--DIM=3 --M=4 --COMMSTRAT=0 --USETPETRA"
80 COMM mpi
81 NUM_MPI_PROCS 8
82 )
83
84 ############################
85 # Communication Strategy 1 #
86 ############################
87 TRIBITS_ADD_TEST(
88 interfacesets
89 NAME test_interfacesets_DIM2_CSCommCrsGraph_TPETRA
90 ARGS "--DIM=2 --M=4 --COMMSTRAT=1 --USETPETRA"
91 COMM mpi
92 NUM_MPI_PROCS 4
93 )
94
95 TRIBITS_ADD_TEST(
96 interfacesets
97 NAME test_interfacesets_DIM3_CSCommCrsGraph_TPETRA
98 ARGS "--DIM=3 --M=4 --COMMSTRAT=1 --USETPETRA"
99 COMM mpi
100 NUM_MPI_PROCS 8
101 )
102
103 ############################
104 # Communication Strategy 2 #
105 ############################
106 TRIBITS_ADD_TEST(
107 interfacesets
108 NAME test_interfacesets_DIM2_CSOneToOne_TPETRA
109 ARGS "--DIM=2 --M=4 --COMMSTRAT=2 --USETPETRA"
110 COMM mpi
111 NUM_MPI_PROCS 4
112 )
113
114 TRIBITS_ADD_TEST(
115 interfacesets
116 NAME test_interfacesets_DIM3_CSOneToOne_TPETRA
117 ARGS "--DIM=3 --M=4 --COMMSTRAT=2 --USETPETRA"
118 COMM mpi
119 NUM_MPI_PROCS 8
120 )