Detection of Cray's slingshot detection has relied on the presence of (#35779)
a shared library /lib64/libcxi.so, which seems to also appear on other non-slingshot systems. This patch also checks to make sure that there is a Cray programming enviornment in /opt/cray/pe in addition to the shared library.
This commit is contained in:
		| @@ -37,7 +37,7 @@ | ||||
| 
 | ||||
| 
 | ||||
| def slingshot_network(): | ||||
|     return os.path.exists("/lib64/libcxi.so") | ||||
|     return os.path.exists("/opt/cray/pe") and os.path.exists("/lib64/libcxi.so") | ||||
| 
 | ||||
| 
 | ||||
| def _target_name_from_craype_target_name(name): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Brian Van Essen
					Brian Van Essen