80a98278a9664568faa85b61a8c5d5921cf906c6,reframe/core/schedulers/__init__.py,Job,prepare,#Job#Any#Any#,222

Before Change


                               "this backend") from e

            if guessed_num_tasks < min_num_tasks:
                raise JobError(
                    "could not find enough nodes: required %s, found %s" %
                    (min_num_tasks // num_tasks_per_node,
                     guessed_num_tasks // num_tasks_per_node))
            else:
                self._num_tasks = guessed_num_tasks
                getlogger().debug("flex_alloc_tasks: setting num_tasks "
                                  "to %s" % self._num_tasks)

After Change


            if guessed_num_tasks < min_num_tasks:
                nodes_required = min_num_tasks // num_tasks_per_node
                nodes_found = guessed_num_tasks // num_tasks_per_node
                raise JobError("could not find enough nodes: "
                               "required %s, found %s" %
                               (nodes_required, nodes_found))

            self._num_tasks = guessed_num_tasks
            getlogger().debug("flex_alloc_tasks: setting num_tasks to %s" %
                              self._num_tasks)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: eth-cscs/reframe
Commit Name: 80a98278a9664568faa85b61a8c5d5921cf906c6
Time: 2019-01-25
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: prepare


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


Project Name: eth-cscs/reframe
Commit Name: 60b3ebf0e70b576ef6edd6873a0f442ae1855a78
Time: 2019-11-21
Author: manitaras@cscs.ch
File Name: reframe/core/schedulers/__init__.py
Class Name: Job
Method Name: prepare