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
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,9 @@ def _verbs_dir(): ...@@ -39,6 +39,9 @@ def _verbs_dir():
# Remove executable name and "bin" directory # Remove executable name and "bin" directory
path = os.path.dirname(path) path = os.path.dirname(path)
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 return path
except: except:
return None return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment