Skip to content

Commit

Permalink
Blacklist the HWLOC GL component to avoid deadlock
Browse files Browse the repository at this point in the history
See open-mpi/ompi#10025
for an explanation of the problem.

Thanks to @bgoglin for the assistance.

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Sep 26, 2023
1 parent 9015ca0 commit b8ee2c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/hwloc/hwloc_base_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,14 @@ int prte_hwloc_base_topology_set_flags(hwloc_topology_t topology, unsigned long
# endif
#endif
}
// Blacklist the "gl" component due to potential conflicts.
// See "https://github.com/open-mpi/ompi/issues/10025" for
// an explanation
#if HWLOC_VERSION_MAJOR > 2
hwloc_topology_set_components(topology, HWLOC_TOPOLOGY_COMPONENTS_FLAG_BLACKLIST, "gl");
#elif HWLOC_VERSION_MAJOR == 2 && HWLOC_VERSION_MINOR >= 1
hwloc_topology_set_components(topology, HWLOC_TOPOLOGY_COMPONENTS_FLAG_BLACKLIST, "gl");
#endif
return hwloc_topology_set_flags(topology, flags);
}

Expand Down

0 comments on commit b8ee2c5

Please sign in to comment.