Skip to content

Commit

Permalink
comment out cpu appinity
Browse files Browse the repository at this point in the history
  • Loading branch information
fyshi committed Jul 26, 2017
1 parent dd5ed6c commit edc74b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions simple_cases/YourNamePBS.qs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ MY_EXE="./funwave_mills"
#
# Ask Open MPI to do processor binding?
#
WANT_CPU_AFFINITY=YES
# WANT_CPU_AFFINITY=YES

#
# Should the job use just half of the cores allocated to it?
Expand All @@ -66,9 +66,9 @@ WANT_CPU_AFFINITY=YES
## You should NOT need to change anything after this comment.
##
OPENMPI_FLAGS="--display-map --mca btl ^tcp"
##if [ "x$WANT_CPU_AFFINITY" = "xYES" ]; then
## OPENMPI_FLAGS="${OPENMPI_FLAGS} --bind-to-core"
##fi
if [ "x$WANT_CPU_AFFINITY" = "xYES" ]; then
OPENMPI_FLAGS="${OPENMPI_FLAGS} --bind-to-core"
fi
if [ "x$WANT_HALF_CORES_ONLY" = "xYES" ]; then
OPENMPI_FLAGS="${OPENMPI_FLAGS} --cpus-per-proc 2 --np $((NSLOTS/2)) --loadbalance"
fi
Expand Down

0 comments on commit edc74b3

Please # to comment.