Skip to content

Commit

Permalink
Add numa MPI pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckyount committed Apr 25, 2024
1 parent d4e8d18 commit 040b610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/common_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace yask {
// https://semver.org/.

// Format: "major.minor.patch[-alpha|-beta]".
const string version = "4.05.00";
const string version = "4.05.01";

string yask_get_version_string() {
return version;
Expand Down
1 change: 1 addition & 0 deletions src/kernel/yask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ if [[ $nranks > 1 || $force_mpi == 1 ]]; then

# Add default Intel MPI settings.
envs+=" I_MPI_PRINT_VERSION=1 I_MPI_DEBUG=5"
envs+=" I_MPI_PIN_DOMAIN=numa"

# Check whether HBM policy setting is allowed.
if [[ `I_MPI_HBW_POLICY=hbw_preferred,hbw_preferred mpirun -np 1 /bin/date |& grep -c 'Unknown memory policy'` == 0 ]]; then
Expand Down

0 comments on commit 040b610

Please sign in to comment.