Skip to content

Commit

Permalink
Merge pull request #292 from jjhursey/fix-multi-socket
Browse files Browse the repository at this point in the history
Fix core binding for multi socket servers
  • Loading branch information
rhc54 committed Jan 8, 2020
2 parents df0180b + a9e00d1 commit 4cce6fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hwloc/hwloc_base_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Copyright (C) 2018 Mellanox Technologies, Ltd.
* All rights reserved.
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
# Copyright (c) 2019 IBM Corporation. All rights reserved.
* Copyright (c) 2019-2020 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -1794,8 +1794,8 @@ int prrte_hwloc_base_cset2mapstr(char *str, int len,

/* Iterate over all existing sockets */
fake_on_first_socket = true;
socket = hwloc_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0);
do {
socket = hwloc_get_obj_by_type(topo, HWLOC_OBJ_SOCKET, 0);
fake_on_first_socket = false;
strncat(str, "[", len - strlen(str) - 1);

Expand Down

0 comments on commit 4cce6fc

Please sign in to comment.