CMakeLists.txt 1.77 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
add_library(MoReFEMTestLoadPrepartitionedGodOfDof_lib ${LIBRARY_TYPE} "")

target_sources(MoReFEMTestLoadPrepartitionedGodOfDof_lib
    PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/Model.cpp /
    PUBLIC
        ${CMAKE_CURRENT_LIST_DIR}/InputData.hpp /
        ${CMAKE_CURRENT_LIST_DIR}/Model.hpp /
        ${CMAKE_CURRENT_LIST_DIR}/Model.hxx
)

target_link_libraries(MoReFEMTestLoadPrepartitionedGodOfDof_lib
                      ${ALL_LOAD_BEGIN_FLAG}
14
                      ${MOREFEM_TEST_TOOLS}
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
                      ${ALL_LOAD_END_FLAG})


add_executable(MoReFEMTestLoadPrepartitionedGodOfDof_triangles
               ${CMAKE_CURRENT_LIST_DIR}/main_tri.cpp
               )

target_link_libraries(MoReFEMTestLoadPrepartitionedGodOfDof_triangles
                      MoReFEMTestLoadPrepartitionedGodOfDof_lib
                      )

add_executable(MoReFEMTestLoadPrepartitionedGodOfDof_quadrangles
               ${CMAKE_CURRENT_LIST_DIR}/main_quad.cpp
               )

target_link_libraries(MoReFEMTestLoadPrepartitionedGodOfDof_quadrangles
                      MoReFEMTestLoadPrepartitionedGodOfDof_lib
                      )
33
34


35
add_test(LoadPrepartitionedGodOfDof_triangles
36
37
         ${OPEN_MPI_INCL_DIR}/../bin/mpirun
         --oversubscribe
38
         -np 4 MoReFEMTestLoadPrepartitionedGodOfDof_triangles
39
40
41
42
         --
         ${MOREFEM_ROOT}
         ${MOREFEM_TEST_OUTPUT_DIR})

43
44
45
46
47
48
49
50
51
52
add_test(LoadPrepartitionedGodOfDof_quadrangles
         ${OPEN_MPI_INCL_DIR}/../bin/mpirun
         --oversubscribe
         -np 4 MoReFEMTestLoadPrepartitionedGodOfDof_quadrangles
         --
         ${MOREFEM_ROOT}
         ${MOREFEM_TEST_OUTPUT_DIR})


set_tests_properties(LoadPrepartitionedGodOfDof_triangles PROPERTIES TIMEOUT 20)
53
set_tests_properties(LoadPrepartitionedGodOfDof_quadrangles PROPERTIES TIMEOUT 100)