Skip to content

Commit

Permalink
Merge pull request #179 from awslabs/sjg/palace-bindings-default
Browse files Browse the repository at this point in the history
Set default MPI launcher arguments to `--bind-to none` for threaded runs
  • Loading branch information
sebastiangrimberg authored Feb 2, 2024
2 parents cce9633 + bd0f2aa commit b99a32d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/palace
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Wrapper for launching Palace using MPI
Options:
-h, --help Show this help message and exit
-dry-run, --dry-run Parse configuration file for errors and exit
-serial, --serial Call Palace without MPI launcher
-serial, --serial Call Palace without MPI launcher, default is false
-np, --np NUM_PROCS How many MPI processes to use, default is 1
-nt, --nt NUM_THREADS Number of OpenMP threads to use for OpenMP builds, default is 1 or the value of OMP_NUM_THREADS in the environment
-launcher, --launcher LAUNCHER MPI launcher, default is \`mpirun\`
-launcher-args,
--launcher-args ARGS Any extra arguments to pass to MPI launcher, for example \`--map-by\` or \`--bind-to\` with their respective options (quoted)
--launcher-args ARGS Any extra arguments to pass to MPI launcher, for example \`--map-by\` or \`--bind-to\` with their respective options (quoted), default is \`--bind-to none\`
"
}

Expand All @@ -27,7 +27,7 @@ SERIAL="false"
NUM_PROCS="1"
NUM_THREADS=""
LAUNCHER="mpirun"
LAUNCHER_ARGS=""
LAUNCHER_ARGS="--bind-to none"
POSITIONAL=()
while [[ $# -gt 0 ]]; do
key="$1"
Expand Down

0 comments on commit b99a32d

Please sign in to comment.