Skip to content

Commit

Permalink
Merge pull request #4 from fangjian19/main
Browse files Browse the repository at this point in the history
modify --overs
  • Loading branch information
fangjian19 authored Dec 20, 2024
2 parents 824dbcd + 7bd6e49 commit d9159b9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/isotropic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ file(COPY diffusion_coefficients.in DESTINATION ${case_dir})
file(COPY specie.in DESTINATION ${case_dir})
file(COPY viscosity.in DESTINATION ${case_dir})

set(MPIEXEC_FLAG "-oversubscribe")
set(MPIEXEC_FLAG "--oversubscribe")
set(NUMPROCS "8")

add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_FLAG} ${NUMPROCS} $<TARGET_FILE:opencfd-comb> WORKING_DIRECTORY ${case_dir})
message(STATUS "MPIEXEC_EXECUTABLE: ${MPIEXEC_EXECUTABLE}")
message(STATUS "MPIEXEC_NUMPROC_FLAG: ${MPIEXEC_NUMPROC_FLAG}")
message(STATUS "MPIEXEC_FLAG: ${MPIEXEC_FLAG}")
message(STATUS "NUMPROCS: ${NUMPROCS}")

add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROCS} ${MPIEXEC_FLAG} $<TARGET_FILE:opencfd-comb> WORKING_DIRECTORY ${case_dir})

0 comments on commit d9159b9

Please sign in to comment.