Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Nov 12, 2024
1 parent 3910147 commit 1ae4430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/cmake/setup_samples.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function(add_samples samples_paths)
set_target_properties(${sample} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/_cmake_results/${CPU_ARCHITECTURE}_${LINK_TYPE}")

add_custom_target(run_${sample}
COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG}
COMMAND ${MPIEXEC_EXECUTABLE} -localonly ${MPIEXEC_NUMPROC_FLAG}
${MPIEXEC_MAX_NUMPROCS} -ppn ${MPIEXEC_NUMPROCS_PER_NODE} $<TARGET_FILE:${sample}>
DEPENDS ${sample}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down

0 comments on commit 1ae4430

Please sign in to comment.