Skip to content

Commit 91147de

Browse files
Merge pull request #3155 from jack-morrison/jackm/docs-pbs-nodelist
[doc] Update `Job.nodelist` description
2 parents 0620fb7 + bd4dd0e commit 91147de

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

reframe/core/schedulers/__init__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -512,22 +512,23 @@ def state(self):
512512
def nodelist(self):
513513
'''The list of node names assigned to this job.
514514
515+
This attribute is supported by the ``local``, ``pbs``, ``slurm``,
516+
``squeue``, ``ssh``, and ``torque`` scheduler backends.
517+
515518
This attribute is :class:`None` if no nodes are assigned to the job
516519
yet.
517-
This attribute is set reliably only for the ``slurm`` backend, i.e.,
518-
Slurm *with* accounting enabled.
520+
519521
The ``squeue`` scheduler backend, i.e., Slurm *without* accounting,
520522
might not set this attribute for jobs that finish very quickly.
521-
For the ``local`` scheduler backend, this returns an one-element list
523+
524+
For the ``local`` scheduler backend, this returns a one-element list
522525
containing the hostname of the current host.
523526
524527
This attribute might be useful in a flexible regression test for
525528
determining the actual nodes that were assigned to the test.
526529
For more information on flexible node allocation, see the
527530
:option:`--flex-alloc-nodes` command-line option.
528531
529-
This attribute is *not* supported by the ``pbs`` scheduler backend.
530-
531532
.. versionadded:: 2.17
532533
533534
:type: :class:`List[str]` or :class:`None`

0 commit comments

Comments
 (0)