Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
def
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
42
class
Slurm(NodeList):
Callers
1
resolve
Method · 0.85
Calls
1
is_inside_pbs
Function · 0.85
Tested by
no test coverage detected