| 1 |
|
| 2 |
|
| 3 |
ASSERT_DEFINED(${PACKAGE_NAME}_ENABLE_Triutils) |
| 4 |
|
| 5 |
IF (${PACKAGE_NAME}_ENABLE_Triutils) |
| 6 |
TRIBITS_ADD_EXECUTABLE_AND_TEST( |
| 7 |
Tpetra_OrthoManager_test |
| 8 |
SOURCES belos_orthomanager_tpetra.cpp |
| 9 |
ARGS "--ortho=ICGS --verbose" |
| 10 |
ARGS "--ortho=IMGS --verbose" |
| 11 |
ARGS "--ortho=DGKS --verbose" |
| 12 |
COMM serial mpi |
| 13 |
) |
| 14 |
# This "test" passes trivially with the given arguments. That is |
| 15 |
# because it is a benchmark that is meant to be run manually, with |
| 16 |
# carefully chosen arguments. |
| 17 |
TRIBITS_ADD_EXECUTABLE_AND_TEST( |
| 18 |
Tpetra_OrthoManager_benchmark |
| 19 |
SOURCES belos_orthomanager_tpetra_benchmark.cpp |
| 20 |
ARGS "--ortho=ICGS --verbose" |
| 21 |
COMM serial mpi |
| 22 |
) |
| 23 |
|
| 24 |
IF (${PACKAGE_NAME}_ENABLE_TSQR) |
| 25 |
TRIBITS_ADD_TEST( |
| 26 |
Tpetra_OrthoManager_test |
| 27 |
NAME Tpetra_OrthoManager_test_TSQR |
| 28 |
ARGS "--ortho=TSQR --verbose" |
| 29 |
COMM serial mpi |
| 30 |
) |
| 31 |
# This "test" passes trivially with the given arguments. That is |
| 32 |
# because it is a benchmark that is meant to be run manually, with |
| 33 |
# carefully chosen arguments. |
| 34 |
TRIBITS_ADD_TEST( |
| 35 |
Tpetra_OrthoManager_benchmark |
| 36 |
NAME Tpetra_OrthoManager_benchmark_TSQR |
| 37 |
ARGS "--ortho=TSQR --verbose" |
| 38 |
COMM serial mpi |
| 39 |
) |
| 40 |
ENDIF() |
| 41 |
|
| 42 |
ENDIF() |
| 43 |
|
| 44 |
|