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

Function is_inside_pbs

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

Source from the content-addressed store, hash-verified

29
30
31def is_inside_pbs() -> bool:
32 return "PBS_NODEFILE" in os.environ
33
34
35def get_pbs_nodes() -> List[str]:

Callers 2

get_pbs_nodesFunction · 0.85
get_active_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected