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

This commit is contained in:
Erik Schnetter 2017-01-18 17:54:39 -05:00 committed by Todd Gamblin
parent 02f92fc7f8
commit 9b7001fda1

View File

@ -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