aacffe7106d8093ecfd52ff929a5fe71fcea716e,reframe/core/schedulers/__init__.py,Job,guess_num_tasks,#Job#,232

Before Change


                num_tasks = self.sched_flex_alloc_tasks
                getlogger().debug(
                    "flex_alloc_tasks: setting num_tasks to: %s" % num_tasks)
                return num_tasks

        available_nodes = self.filter_nodes(available_nodes)
        if not available_nodes:
            raise JobError("could not find any node satisfying the "

After Change


        try:
            available_nodes = self.get_available_nodes()
        except NotImplementedError as e:
            raise JobError("guessing the number of tasks is not supported "
                           "by the backend") from e

        getlogger().debug("flex_alloc_tasks: total available nodes in current "
                          "virtual partition: %s" % len(available_nodes))
        if isinstance(self.sched_flex_alloc_tasks, int):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: eth-cscs/reframe
Commit Name: aacffe7106d8093ecfd52ff929a5fe71fcea716e
Time: 2018-10-30
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: guess_num_tasks


Project Name: eth-cscs/reframe
Commit Name: 1a08f1da70bd6d4c33585f67af542dec4d850161
Time: 2020-07-20
Author: eirini.koutsaniti@cscs.ch
File Name: reframe/core/schedulers/torque.py
Class Name: TorqueJobScheduler
Method Name: poll_jobs


Project Name: eth-cscs/reframe
Commit Name: 639af9a9c1bf22a02fed70ea4286510ac4a02297
Time: 2019-11-20
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/slurm.py
Class Name: SlurmJob
Method Name: get_all_nodes