MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / get_pbs_nodes

Function get_pbs_nodes

benchmarks/src/clusterutils/node_list.py:35–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34
35def get_pbs_nodes() -> List[str]:
36 assert is_inside_pbs()
37
38 with open(os.environ["PBS_NODEFILE"]) as f:
39 return [line.strip() for line in f]
40
41
42class Slurm(NodeList):

Callers 1

resolveMethod · 0.85

Calls 1

is_inside_pbsFunction · 0.85

Tested by

no test coverage detected