Skip to content

Commit

Permalink
fixed cmake running on 4 procs
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 6, 2020
1 parent 62d09ee commit ee339d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cunit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ set (AT_LEAST_TWO_TASKS 3)
set (AT_LEAST_THREE_TASKS 4)
set (AT_LEAST_FOUR_TASKS 5)
set (AT_LEAST_EIGHT_TASKS 9)
set (EXACTLY_FOUR_TASKS 4)

if (PIO_USE_MPISERIAL)
add_test(NAME test_pioc
Expand Down Expand Up @@ -322,7 +323,7 @@ else ()
TIMEOUT ${DEFAULT_TEST_TIMEOUT})
add_mpi_test(test_simple
EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/test_simple
NUMPROCS ${AT_LEAST_FOUR_TASKS}
NUMPROCS ${EXACTLY_FOUR_TASKS}
TIMEOUT ${DEFAULT_TEST_TIMEOUT})
endif ()
MESSAGE("CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS}")

0 comments on commit ee339d0

Please sign in to comment.