Skip to content

Commit

Permalink
FROSch: Adding perf test
Browse files Browse the repository at this point in the history
  • Loading branch information
csiefer2 committed Apr 15, 2024
1 parent 315158a commit f6a543e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
TRIBITS_ADD_EXECUTABLE(
thyra_xpetra_elasticity
SOURCES main.cpp
CATEGORIES BASIC PERFORMANCE
)

ADD_SUBDIRECTORIES(
Expand Down Expand Up @@ -326,6 +327,50 @@ NUM_MPI_PROCS 4
)
ENDIF()


#Performance Test
MESSAGE(INFO "CMS - Enable FROSCH perf tests")
TRIBITS_ADD_TEST(
thyra_xpetra_elasticity
NAME performance_TLP_IPOUHarmonic_RGDSW_DIM2
ARGS "--M=50 --DIM=2 --O=1 --PLIST=ParameterLists/ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml --USETPETRA"
COMM mpi
NUM_MPI_PROCS 4
CATEGORIES PERFORMANCE
RUN_SERIAL
)
TRIBITS_ADD_TEST(
thyra_xpetra_elasticity
NAME performance_TLP_IPOUHarmonic_RGDSW_DIM2
ARGS "--M=50 --DIM=2 --O=1 --PLIST=ParameterLists/ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml --USETPETRA"
COMM mpi
NUM_MPI_PROCS 9
CATEGORIES PERFORMANCE
RUN_SERIAL
)

TRIBITS_ADD_TEST(
thyra_xpetra_elasticity
NAME performance_TLP_IPOUHarmonic_RGDSW_DIM2
ARGS "--M=50 --DIM=2 --O=1 --PLIST=ParameterLists/ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml --USETPETRA"
COMM mpi
NUM_MPI_PROCS 16
CATEGORIES PERFORMANCE
RUN_SERIAL
)

TRIBITS_ADD_TEST(
thyra_xpetra_elasticity
NAME performance_TLP_IPOUHarmonic_RGDSW_DIM2
ARGS "--M=50 --DIM=2 --O=1 --PLIST=ParameterLists/ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml --USETPETRA"
COMM mpi
NUM_MPI_PROCS 25
CATEGORIES PERFORMANCE
RUN_SERIAL
)



## Epetra
IF(HAVE_SHYLU_DDFROSCH_EPETRA AND NOT Tpetra_DefaultNode STREQUAL "Tpetra::KokkosCompat::KokkosCudaWrapperNode")
TRIBITS_ADD_TEST(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DEST_FILES ParameterList_GDSWPreconditioner_ILU.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_GDSW_Klu_ML.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_GDSWStar_ILU.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_GDSWStar_Klu.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_ILU.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_ILU.xm
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu_Drop_Coupling_2D.xml
ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu_Drop_Coupling_3D.xml
Expand All @@ -23,3 +23,11 @@ SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
DEST_DIR ${CMAKE_CURRENT_BINARY_DIR}
EXEDEPS thyra_xpetra_elasticity
)

TRIBITS_COPY_FILES_TO_BINARY_DIR(ThyraXpetraElasticityCopyFilesPerformance
DEST_FILES ParameterList_TwoLevelPreconditioner_IPOUHarmonic_RGDSW_Klu.xml
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
DEST_DIR ${CMAKE_CURRENT_BINARY_DIR}
EXEDEPS thyra_xpetra_elasticity
CATEGORIES BASIC PERFORMANCE
)

0 comments on commit f6a543e

Please sign in to comment.