Skip to content
Snippets Groups Projects
Commit 9b7001fd authored by Erik Schnetter's avatar Erik Schnetter Committed by Todd Gamblin
Browse files

OpenMPI: Update auto-detection of Verbs library location (#2124)

parent 02f92fc7
Branches
Tags
No related merge requests found
......@@ -39,6 +39,9 @@ def _verbs_dir():
# Remove executable name and "bin" directory
path = os.path.dirname(path)
path = os.path.dirname(path)
# There's usually no "/include" on Unix; use "/usr/include" instead
if path == "/":
path = "/usr"
return path
except:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment