CMakeLists.txt 751 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
add_executable(MoReFEMTestLoadPrepartitionedMesh
               ${CMAKE_CURRENT_LIST_DIR}/InputData.hpp
               ${CMAKE_CURRENT_LIST_DIR}/Model.cpp
               ${CMAKE_CURRENT_LIST_DIR}/Model.hpp
               ${CMAKE_CURRENT_LIST_DIR}/Model.hxx
               ${CMAKE_CURRENT_LIST_DIR}/main.cpp
              )
          
target_link_libraries(MoReFEMTestLoadPrepartitionedMesh
                      ${MOREFEM_TEST_TOOLS}
                     )


add_test(LoadPrepartitionedMesh
         ${OPEN_MPI_INCL_DIR}/../bin/mpirun
         --oversubscribe
         -np 4 MoReFEMTestLoadPrepartitionedMesh
         --
         ${MOREFEM_ROOT}
         ${MOREFEM_TEST_OUTPUT_DIR})
21

22
set_tests_properties(LoadPrepartitionedMesh PROPERTIES TIMEOUT 20)