LBANN package: strip hostname on non-LC systems. (#39601)
This commit is contained in:
parent
349ba83bc6
commit
b3433cb872
1 changed files with 2 additions and 3 deletions
|
@ -338,7 +338,6 @@ def _get_sys_type(self, spec):
|
||||||
@property
|
@property
|
||||||
def cache_name(self):
|
def cache_name(self):
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
if "SYS_TYPE" in env:
|
|
||||||
# Get a hostname that has no node identifier
|
# Get a hostname that has no node identifier
|
||||||
hostname = hostname.rstrip("1234567890")
|
hostname = hostname.rstrip("1234567890")
|
||||||
return "LBANN_{0}_{1}-{2}-{3}@{4}.cmake".format(
|
return "LBANN_{0}_{1}-{2}-{3}@{4}.cmake".format(
|
||||||
|
|
Loading…
Reference in a new issue