OpenMPI: Update auto-detection of Verbs library location (#2124)
This commit is contained in:
parent
02f92fc7f8
commit
9b7001fda1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user