c323ba31063d782f2beaa4fb66a4943c19018936,reframe/core/schedulers/slurm.py,SlurmJob,get_all_nodes,#SlurmJob#,173
Before Change
raise JobError("could not retrieve node information") from e
node_descriptions = completed.stdout.splitlines()
return {SlurmNode(descr) for descr in node_descriptions}
def _get_default_partition(self):
completed = _run_strict("scontrol -a show -o partitions")
After Change
def get_all_nodes(self):
node_descriptions = self.get_all_node_descriptions()
nodes = set()
for descr in node_descriptions:
with suppress(JobError):
slurm_node = SlurmNode(descr)
nodes.add(slurm_node)
return nodes
def _get_default_partition(self):
completed = _run_strict("scontrol -a show -o partitions")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: eth-cscs/reframe
Commit Name: c323ba31063d782f2beaa4fb66a4943c19018936
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes
Project Name: jonathf/chaospy
Commit Name: 09c832a4607dfb80f3917ab6f65ce43513141675
Time: 2018-12-14
Author: jonathf@gmail.com
File Name: tests/test_dist.py
Class Name:
Method Name:
Project Name: eth-cscs/reframe
Commit Name: e5a722df85ac4cf7194f3d1c886a707633e5eb81
Time: 2020-06-03
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJobScheduler
Method Name: completion_time