Use execvpe instead of execve in omnitrace-sample (#187)
* Use execvpe instead of execve in omnitrace-sample - previous implementation preferred exe in PATH over exe in PWD - 'p' variants of exec duplicate the actions of the shell in searching for an executable file if the specified filename does not contain a slash character * OpenMPI oversubscribe arg in testing
Šī revīzija ir iekļauta:
revīziju iesūtīja
GitHub
vecāks
a41a5c155e
revīzija
139070a2de
@@ -154,6 +154,15 @@ if(OMNITRACE_CI_MPI_RUN_AS_ROOT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND ${MPIEXEC_EXECUTABLE} --oversubscribe -n 1 ls
|
||||
RESULT_VARIABLE _mpiexec_oversubscribe
|
||||
OUTPUT_QUIET ERROR_QUIET)
|
||||
|
||||
if(_mpiexec_oversubscribe EQUAL 0)
|
||||
list(APPEND MPIEXEC_EXECUTABLE_ARGS --oversubscribe)
|
||||
endif()
|
||||
|
||||
# -------------------------------------------------------------------------------------- #
|
||||
|
||||
set(_VALID_GPU OFF)
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user