Skip to content

Commit

Permalink
Update CMakeLists.txt to add oversubscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
fangjian19 authored Dec 20, 2024
1 parent 30e2695 commit 2958d9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/isotropic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ 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(NUMPROCS "8")
add_test(NAME ${case} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROCS} $<TARGET_FILE:opencfd-comb> WORKING_DIRECTORY ${case_dir})

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

0 comments on commit 2958d9e

Please sign in to comment.