Skip to content

Commit

Permalink
MakeTest.cmake: set processor property
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans authored Oct 23, 2024
1 parent 93da7ed commit bd250fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/MakeTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ message(STATUS "heFFTe post-installation testing")
macro(heffte_add_mpi_test)
cmake_parse_arguments(_heffte "" "NAME;COMMAND;RANKS" "" ${ARGN} )
add_test(${_heffte_NAME} ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${_heffte_RANKS} ${MPIEXEC_PREFLAGS} ${CMAKE_CURRENT_BINARY_DIR}/${_heffte_COMMAND} ${MPIEXEC_POSTFLAGS})
set_tests_properties(${_heffte_NAME} PROPERTIES PROCESSORS ${_heffte_RANKS})
unset(_heffte_NAME)
unset(_heffte_RANKS)
unset(_heffte_COMMAND)
Expand Down

0 comments on commit bd250fa

Please sign in to comment.